-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear all,
I am currently switching to ANTLR 3.1 since I would like to use the new
AST rewriting feature.
My parser grammar contains the following rule:
options {output = AST; }
...
myStatementlist
: statementOrBlock*
;
statementOrBlock
: statement
| myBlock
;
This rule leads to an
org.antlr.runtime.tree.RewriteEmptyStreamException: rule myStatementlist
I think it is because I don't create a tree structure in this rule.
Is this an error in ANTLR I would like to know...
Bye
Oliver
- --
Oliver B. Fischer, Schönhauser Allee 64, 10437 Berlin
Tel. +49 30 44793251, Mobil: +49 178 7903538
Mail: [EMAIL PROTECTED] Blog: http://www.sw-blog.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkjW6vYACgkQbyc4N0PdoAzfsgCffQbnOwnJm0QKxdVB654/ZM7Z
N6sAnAuGp6tw2+jLgnxy3Yv74ufw8MiX
=4wFG
-----END PGP SIGNATURE-----
List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---