[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
name conflicts
Montreal Tue May 26 20:20:27 1998
statement =
{if_then} /* Node is called AIfThenStatement */
if_then_statement |
{while} /* Node is called AWhileStatement */
while_statement;
if_then_statement = /* Node is called AIfThenStatement */
blah;
while_statement = /* Node is called AWhileStatement */
bleh;
Wouldn't it be nice if SableCC didn't generate such conflicts? Maybe
it would be nice if productions with single alternatives had a
different prefix as opposed to productions with multiple alternatives
(right now the prefix is A in both cases).
Navin