[antlr-interest] Re: Semantic predicates that aren't & hoisting
eprice at vettro.com
eprice at vettro.com
Thu Mar 10 09:32:31 PST 2005
David Jung <jungdl at ornl.gov> writes:
> Actually I was trying to simplify my description. I'd like to have
> an optional semi-colon after the last expression. This is so that
> users coming from java/C++ could write 'naturally' both:
>
> {
> f();
> g();
> h();
> }
>
> and
>
> a = {f();g();h()};
Hmm, what about the following:
if (foo) {};
else {}
Should that be legal?
$0.02,
-Ed
More information about the antlr-interest
mailing list