Hello,
extract of my grammar:
procedural_statement
: WS? builtin_procedure_name WS? '(' argument (',' argument)*)? ')' WS?
;
builtin_procedure_name
: CALL_CMD | EXECUTE_CMD | DB_OPEN | DB_CLOSE | DEFINE_LOGICAL
CALL_CMD
: 'CALL_CMD'
;
etc...
I want to get (print) the procedural_statement only when its
builtin_procedure_name is CALL_CMD or EXECUTE_CMD. What is the more elegant way
to do that ?
Thanks for your help.
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, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en.