summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Implement error recovery for malformed declarations.John Mark Bell2008-07-302-0/+9
| | | | svn path=/trunk/libcss/; revision=4826
* Implement the first-stage parser.John Mark Bell2008-07-305-1/+92
| | | | | | | | | | | Things missing: 1) Recovery after parse errors 2) Event emission (the locations of DEBUG_EVENTS are about right for this) 3) A second-stage parser 4) Any kind of testsuite svn path=/trunk/libcss/; revision=4825
* Whoops. Missed this when adding the invalid string stuff.John Mark Bell2008-07-151-0/+3
| | | | svn path=/trunk/libcss/; revision=4663
* Correctly process unterminated strings.John Mark Bell2008-06-262-1/+89
| | | | svn path=/trunk/libcss/; revision=4455
* A more complex test, taken from the CSS3 syntax moduleJohn Mark Bell2008-05-052-0/+30
| | | | svn path=/trunk/libcss/; revision=4126
* Match expected token data with that output by the lexer.John Mark Bell2008-05-052-4/+59
| | | | | | Fix test #44's expected token data. svn path=/trunk/libcss/; revision=4125
* Fix testdriver to accept # in inputJohn Mark Bell2008-05-032-5/+624
| | | | | | | 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-016-1/+302
| | | | | | | | verify that the data contained within emitted tokens is as expected. Very trivial testdata to exercise this. svn path=/trunk/libcss/; revision=4115
* Import beginnings of a CSS parsing library.John Mark Bell2008-05-0115-0/+54007
Currently comprises a lexer. svn path=/trunk/libcss/; revision=4112