[antlr-interest] Python warning "unsupported option: seperator"

Alan Rooks Alan_Rooks at amis.com
Thu Nov 8 12:19:30 PST 2007


It's a minor bug in the Python code-gen templates.  The StringTemplate
option named "separator" is misspelled.  You can fix the file
src/org/antlr/codegen/templates/Python/Python.stg (the spelling error occurs
twice, if I remember), and use Java's jar tool to update the
lib/antlr-3.0.1.jar file that ANTLR uses when it runs.

Alan


Bradford Smith wrote:
> 
> Hi, ANTLR folks,
> 
> Can anyone tell me why I keep getting this error when using the Python
> language target?
> 
> warning(11):  internal warning: ignoring unsupported option: seperator
> 
> Everything seems to be working otherwise.  I just get this warning once or
> twice for each time I run antlr. For example, I get it twice for the basic
> Expr.g example from the book when I set the language=Python option for it.
> 
> Thanks,
> 
> Bradford
AMI Semiconductor - "Silicon Solutions for the Real World"
NOTICE: 
This electronic message contains information that may be confidential or privileged. The information is intended for the use of the individual or entity named above. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you received this electronic message in error, please notify the sender and delete the copy you received.



More information about the antlr-interest mailing list