summaryrefslogtreecommitdiff
path: root/test/parse.c
Commit message (Collapse)AuthorAgeFilesLines
* Minor changes.John Mark Bell2008-09-051-1/+14
| | | | svn path=/trunk/libcss/; revision=5255
* Change API of event callback to return css_error (this is more useful than bool)John Mark Bell2008-08-041-3/+3
| | | | | | Implement all the context-related event handlers in the stage 2 parser. svn path=/trunk/libcss/; revision=4898
* Stub out a CSS 2.1 stage 2 parser.John Mark Bell2008-08-011-2/+2
| | | | | | Parser core doesn't need to know about css_stylesheet, so change its API. svn path=/trunk/libcss/; revision=4854
* Allow silencing of parser test driver.John Mark Bell2008-08-011-0/+6
| | | | svn path=/trunk/libcss/; revision=4852
* Fix handling of empty strings.John Mark Bell2008-08-011-0/+2
| | | | | | | | Parse errors in blocks are ignored -- it'll be up to the client to deal with this. Fix processing of malformed decl-list entries (e.g. foo: bar; !important;) Fix test driver to calculate remaining length correctly. svn path=/trunk/libcss/; revision=4849
* Generate and emit eventsJohn Mark Bell2008-07-301-0/+38
| | | | svn path=/trunk/libcss/; revision=4828
* Implement the first-stage parser.John Mark Bell2008-07-301-0/+79
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