Package: antlr3 Version: 3.0.1+dfsg-4 Severity: normal Tags: upstream A typo in Python.stg (seperator instead of separator) displays a warning when generating a python parser: warning(11): internal warning: ignoring unsupported option: seperator A simple patch to fix this is attached (this is fixed in up to date antlr)
-- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.33-2-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages antlr3 depends on: ii default-jre [java2-runtime] 1.6-36 Standard Java or Java compatible R ii default-jre-headless 1.6-36 Standard Java or Java compatible R ii gcj-4.4-jre [java2-runtime] 4.4.3-9 Java runtime environment using GIJ ii gcj-jre [java2-runtime] 4:4.4.3-1 Java runtime environment using GIJ ii jamvm [java1-runtime] 1.5.3-2 virtual machine which conforms to ii libstringtemplate-java 3.1-4 StringTemplate templating engine f ii openjdk-6-jre [java2-runtime] 6b18-1.8-1 OpenJDK Java runtime, using Hotspo Versions of packages antlr3 recommends: ii antlr3-gcj 3.0.1+dfsg-4 language tool for constructing rec antlr3 suggests no packages. -- no debconf information
diff -Nru antlr3-3.0.1+dfsg.orig//src/org/antlr/codegen/templates/Python/Python.stg antlr3-3.0.1+dfsg/src/org/antlr/codegen/templates/Python/Python.stg --- antlr3-3.0.1+dfsg.orig//src/org/antlr/codegen/templates/Python/Python.stg 2007-08-14 00:40:47.000000000 +0200 +++ antlr3-3.0.1+dfsg/src/org/antlr/codegen/templates/Python/Python.stg 2010-04-28 08:02:14.000000000 +0200 @@ -77,7 +77,7 @@ self.ruleMemo = {} <endif> - <cyclicDFAs:{dfa | <cyclicDFAInit(dfa)>}; seperator="\n"> + <cyclicDFAs:{dfa | <cyclicDFAInit(dfa)>}; separator="\n"> <actions.lexer.init> @@ -179,7 +179,7 @@ self.ruleMemo = {} <endif> - <cyclicDFAs:{dfa | <cyclicDFAInit(dfa)>}; seperator="\n"> + <cyclicDFAs:{dfa | <cyclicDFAInit(dfa)>}; separator="\n"> <scopes:{<if(it.isDynamicGlobalScope)><globalAttributeScopeStack(scope=it)><endif>}> <rules:{<ruleAttributeScopeStack(scope=it.ruleDescriptor.ruleScope)>}>