summaryrefslogtreecommitdiff
path: root/test/lex-auto.c
Commit message (Collapse)AuthorAgeFilesLines
* Ensure there are zero global symbols without css_ or css__ in front of them. ↵Daniel Silverstone2011-01-201-6/+6
| | | | | | This helps prevent confusion if someone else wants a function called parse_background or similar svn path=/trunk/libcss/; revision=11416
* Merge parser autogeneration and string handling refactor branch ↵Vincent Sanders2011-01-191-0/+1
| | | | | | r=jmb,kinnison,vince svn path=/trunk/libcss/; revision=11408
* Remove Aliases file nonsenseJohn Mark Bell2010-12-041-4/+4
| | | | svn path=/trunk/libcss/; revision=10983
* Remove use of lwc_initialise and also parserutils.h includes. r=vinceDaniel Silverstone2010-12-041-1/+0
| | | | svn path=/trunk/libcss/; revision=10964
* Remove initialisation of libparserutils from testsDaniel Silverstone2010-12-041-4/+0
| | | | svn path=/trunk/libcss/; revision=10962
* Remove libcss_initialise/finalise.John Mark Bell2010-12-041-2/+3
| | | | | | Fix testsuite to compile (it passes, too) svn path=/trunk/libcss/; revision=10955
* Fix automated lexer test code to correctly handle escape sequences and the ↵John Mark Bell2009-05-261-2/+5
| | | | | | absence of expected text. svn path=/trunk/libcss/; revision=7548
* More c89ismsJohn Mark Bell2009-04-151-3/+6
| | | | svn path=/trunk/libcss/; revision=7100
* css_string is now the same as a parserutils_dict_entry. This allows us to ↵John Mark Bell2008-11-271-4/+4
| | | | | | | | | | use dict entries directly as strings. iChange the way in which selectors are represented. This significantly reduces memory requirements -- reducing the approximate usage count (excludes the string dictionary, which is about 360k) of allzengarden.css from 4,535,400 bytes to 2,414,312 bytes on a 64bit platform. The string dictionary is now created and owned by the stylesheet object. The parser is just given access to this so that it can store strings in it. svn path=/trunk/libcss/; revision=5809
* Port libcss to new lpu API.John Mark Bell2008-11-091-5/+4
| | | | | | Make lexer, core parser, and css21 parser constructors&destructors return errors svn path=/trunk/libcss/; revision=5674
* Fix compilation of test drivers on 64bit platforms.John Mark Bell2008-09-051-3/+4
| | | | svn path=/trunk/libcss/; revision=5261
* 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