#2 Default token for ayacc.

tools
open
nobody
5
2012-12-31
2009-11-28
Blady
No

Hello.
Ayacc does not support default tokens, that is tokens that may occur in place of any other tokens.
It would be useful for comment token as comments may appear at any location in Pascal language.
Default token may appear several times for different tokens.

Example of syntax:
% default_token Comment_t
{ Put_Comment (YYText); }
The associated code has to be put here as default tokens are implicit in grammar.

What are your feedback?
Best, Blady.

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks