[antlr-interest] embedding Java codes to grammar problem
Fırat KÜÇÜK
firatkucuk at gmail.com
Sun Jun 3 12:44:15 PDT 2007
any solution?
2007/6/1, Fırat KÜÇÜK <firatkucuk at gmail.com>:
> 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
>
--
Öğr. Gör. Fırat KÜÇÜK
ADAMYO Distance Learning
SAKARYA University / TURKEY
More information about the antlr-interest
mailing list