Re: help: mixing java code with javacc/jjtree code



Hello,

you can do the following:

void production(boolean flag):
{}
{
[ LOOKAHEAD({flag})
childProductionA()
childProductionB()
]
childProductionC()
}

Regards

.