summaryrefslogtreecommitdiff
path: root/test/lex-auto.c
Commit message (Collapse)AuthorAgeFilesLines
* Only intern strings when we get a token from the lexer. Strings in tokens ↵John Mark Bell2008-08-011-1/+1
| | | | | | that have been pushed back have already been interned, so it's stupid to re-intern every time. This has required that the lexer permits its clients to modify the data members of the css_token object. That's fine, as it assumes nothing about them (they're basically just a window onto the internal lexer state, anyway). svn path=/trunk/libcss/; revision=4857
* Correctly process unterminated strings.John Mark Bell2008-06-261-1/+3
| | | | svn path=/trunk/libcss/; revision=4455
* Match expected token data with that output by the lexer.John Mark Bell2008-05-051-3/+58
| | | | | | Fix test #44's expected token data. svn path=/trunk/libcss/; revision=4125
* Fix testdriver to accept # in inputJohn Mark Bell2008-05-031-5/+16
| | | | | | | Significantly more tests for the lexer -- this basically covers all the non-OOD/EOF cases Fix bug in lexing of "/x" -- the CHAR(/) was getting dropped by the "don't emit comment tokens" logic svn path=/trunk/libcss/; revision=4120
* Testdriver for automated lexer tests. This needs a little more work to ↵John Mark Bell2008-05-011-0/+260
verify that the data contained within emitted tokens is as expected. Very trivial testdata to exercise this. svn path=/trunk/libcss/; revision=4115