path: root/src/lex
Commit message (Collapse)AuthorAgeFilesLines
* For tokens where there's a possibility of case differences requiring case ↵John Mark Bell2008-08-042-0/+4
| | | | | | insensitive matching, intern lower cased versions of strings alongside the originals. svn path=/trunk/libcss/; revision=4902
* Stub out at-rule handlingJohn Mark Bell2008-08-041-0/+1
| | | | svn path=/trunk/libcss/; revision=4899
* Only intern strings when we get a token from the lexer. Strings in tokens ↵John Mark Bell2008-08-012-35/+42
| | | | | | 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-262-26/+37
| | | | svn path=/trunk/libcss/; revision=4455
* Pedantic linewrappingJohn Mark Bell2008-05-201-2/+8
| | | | | | Flag todo relating to handling of unexpected end of string svn path=/trunk/libcss/; revision=4185
* Fix testdriver to accept # in inputJohn Mark Bell2008-05-031-2/+4
| | | | | | | 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
* Add spaceJohn Mark Bell2008-05-011-1/+1
| | | | svn path=/trunk/libcss/; revision=4114
* Import beginnings of a CSS parsing library.John Mark Bell2008-05-013-0/+2232
Currently comprises a lexer. svn path=/trunk/libcss/; revision=4112