Jason Orendorff
|
727529fe0b
|
Remove one unnecessary backslash-check in StringReader::getTokens(). (This patch looks like it's removing the last backslash-counting loop, but really it removes the first one and then reindents everything.)
|
2013-10-25 02:32:39 -07:00 |
|
Jason Orendorff
|
64a405cab1
|
Replace some code in StringReader::getTokens() with std::string::find_first_of(). Since this makes found_pos unsigned, a few comparisons involving found_pos must be adjusted (unsigned integers are always >= 0).
|
2013-10-25 02:26:31 -07:00 |
|
Jason Orendorff
|
a18b4f41a7
|
Add tests for parsing quoted strings.
|
2013-10-25 02:17:02 -07:00 |
|
Jason Orendorff
|
08baae465a
|
Add unit tests for StringReader. You can run them with ./kraken --test.
|
2013-10-25 02:04:22 -07:00 |
|