On Sun, Aug 28, 2011 at 11:36 PM, Bart Kiers bki...@gmail.com wrote:
... Fragment rules are only for other *fragment* rules: the parser has no
notion of them. ...
Correction, I meant to say: *Fragment rules are only for other lexer rule**s
...*
Note that you can also call a fragment from
i´m working with antlrworks 1.4.2
i have the following, extremly simple grammar (combined lexer and parser):
*
public sqlfile :
commands*
EOF
;
commands:
STARTWORD (options { greedy=false; } : .*) SEM
;
STARTWORD
: ('SELECT'|'INSERT'|'UPDATE'|'DELETE')
;
SEM : ';' ;
COMMENT : '/*' ( options {
Much appreciated. Thanks.
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--
You received this message because you are subscribed to the Google Groups
il-antlr-interest group.
To post to this group,
Thank you! ANTLR IDE is a great tool and having it work with Indigo is a
huge help.
On Aug 28, 2011 2:39 PM, Edgar Espina espina.ed...@gmail.com wrote:
Hey,
A new version of ANTLR IDE is available for download. This version
includes:
* ANTLR 3.4 support
* Eclipse Indigo support.
Thanks.