[antlr-interest] embedding Java codes to grammar problem
Fırat KÜÇÜK
firatkucuk at gmail.com
Fri Jun 1 06:26:34 PDT 2007
hi,
for instance my treeparser rule is
sample_rule
: ^(SOME_TOKEN
bla_bla_rule
{ if (1 == 1) { }
another_rule_should_be_in_if_statement
{ } }
)
;
"another_rule_should_be_in_if_statement" rule should be in "if (1==1)
{}" statement.
What should i do?
--
Öğr. Gör. Fırat KÜÇÜK
ADAMYO Distance Learning
SAKARYA University / TURKEY
More information about the antlr-interest
mailing list