summaryrefslogtreecommitdiff
path: root/src/lex/lex.h
Commit message (Collapse)AuthorAgeFilesLines
* Various changes which modify API and ABI:Michael Drake2013-12-131-2/+1
| | | | | | | | | - Remove client allocation function. - Change node_classes callback not to yield array ownership to libcss. - Node bloom filters now built by, during selection libcss. - Added selection callbacks to get and set data on document nodes. Test suite, example, and documentation updated to match.
* Rename all css_[^_] internal symbols to css__ so that they're nicely namespacedDaniel Silverstone2011-01-261-4/+4
| | | | svn path=/trunk/libcss/; revision=11492
* Don't intern lower-case versions of strings. Use ↵John Mark Bell2009-07-271-9/+3
| | | | | | lwc_context_string_caseless_isequal, instead. svn path=/trunk/libcss/; revision=8815
* A bunch of c89.John Mark Bell2009-04-151-1/+1
| | | | | | | Lose trailing commas. GCC 2.95 compatibility. svn path=/trunk/libcss/; revision=7099
* Port libcss to libwapcaplet.Daniel Silverstone2009-02-141-4/+8
| | | | | | | | | It passes the tests, perhaps we need more of them. Lifetimes of lwc_string objects really need attention before we can consider this finished. svn path=/trunk/libcss/; revision=6517
* Drop css_error_handler and rename css_alloc to css_allocator_fnDaniel Silverstone2009-02-141-1/+1
| | | | svn path=/trunk/libcss/; revision=6482
* Retain pointer to dictionary entries so we don't have to rediscover it later.John Mark Bell2008-12-011-2/+4
| | | | svn path=/trunk/libcss/; revision=5862
* Simplify decision as to whether to intern token data by inserting markers ↵John Mark Bell2008-12-011-7/+16
| | | | | | into the css_token_type enum. svn path=/trunk/libcss/; revision=5860
* Port libcss to new lpu API.John Mark Bell2008-11-091-3/+3
| | | | | | Make lexer, core parser, and css21 parser constructors&destructors return errors svn path=/trunk/libcss/; revision=5674
* For tokens where there's a possibility of case differences requiring case ↵John Mark Bell2008-08-041-0/+2
| | | | | | 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-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-7/+7
| | | | svn path=/trunk/libcss/; revision=4455
* 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-011-0/+67
Currently comprises a lexer. svn path=/trunk/libcss/; revision=4112