3 Commits

Author SHA1 Message Date
Nick Hackman 96b47ab404 Verbatim strings (#535)
* Added CSharp example

Using example from #330, for testing purposes

* Updated Rust test case

Rust test case now has a verbatim string that fails, with current
version of Tokei.

* Added C++ verbatim string to example

C++ Syntax makes this incredibly difficult to parse using the current
infrastructure, `R"PREFIX(    )PREFIX"` where PREFIX can be almost anything.

* Updated F# Test to have verbatim string

* Add support for "verbatim_quotes"

Quotes that neglect the `\"` rule, in the case of python as mentioned
in #330 it produces the correct outcome with Tokei currently.

* Add support for verbatim_quotes in syntax

Properly keeps track of current state and handles escapes properly in
the case of being inside of a verbatim_quote

* Added `verbatim_quotes` to CONTRIBUTING.md
2020-05-28 07:55:14 +02:00
Erin Power c4a4734967 Fixed stats statistics and add test 2020-04-02 18:18:37 +02:00
xd009642 14870d7625 Added tests for c++ source and header files and java files. (#107)
* Added tests for c++ source and header files and java files.

* Added VHDL to languages and tests

* Updated readme

Updated to reflect VHDL being added to languages
2017-02-18 02:00:24 +00:00