Problem generating code from grammar. CSS.g:203:2: The following alternatives are unreachable: 5,6,7,11,12
I am having trouble generating the code. Any help is very much appreciated.
Also if anybody have a CSS parser created please share :-).
Somehow it generated the code but size of code is too large. ~80k lines.
--------------
$ wc -l *
296 CSS.g
97 CSS.tokens
79701 CSSLexer.cs
1925 CSSParser.cs
236 CSS__.g
82255 total
--------------
Attached it the v3 grammar file.
Original grammar: http://www.antlr.org/share/1126882028006/css2.1.g
Grammar specs: http://www.w3.org/TR/CSS21/grammar.html
Any help is greatly appreciated.
-Kamal
CSS.g
Description: Binary data
_______________________________________________ antlr-dev mailing list [email protected] http://www.antlr.org:8080/mailman/listinfo/antlr-dev
