Logo
Explore Help
Sign In
miloignis/kraken
Watch 1
Star 0
Fork 0
Code Issues Pull Requests Packages Projects Releases Wiki Activity
68 Commits 2 Branches 0 Tags
7859b297254dfa180a71e9140d7904902719053d
Commit Graph
6 Commits
This Branch
This Branch
All Branches
Author SHA1 Message Date
Jason Orendorff 7859b29725 Fix a minor bug in the lexer (it would not match the last character of the input) and add Lexer tests. 2013-10-26 23:13:15 -07:00
Jason Orendorff 83af1b1c5a Use std::string::substr() instead of adding one character at a time. This patch also removes a few unused util functions that are easily written using substr(). 2013-10-25 02:42:12 -07:00
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
Powered by Gitea Version: 1.27.3 Page: 14ms Template: 4ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API