Revision: 5354
http://jython.svn.sourceforge.net/jython/?rev=5354&view=rev
Author: pjenvey
Date: 2008-10-02 00:13:21 +0000 (Thu, 02 Oct 2008)
Log Message:
-----------
remove more remnants of org.python.antlr.ast.Unicode
Modified Paths:
--------------
trunk/jython/ast/astview.py
trunk/jython/ast/jastlib.py
Modified: trunk/jython/ast/astview.py
===================================================================
--- trunk/jython/ast/astview.py 2008-10-01 02:01:33 UTC (rev 5353)
+++ trunk/jython/ast/astview.py 2008-10-02 00:13:21 UTC (rev 5354)
@@ -33,8 +33,6 @@
result = result.split(".")[-1]
if result.endswith("Type"):
result = result[:-4]
- if result == "Unicode":
- result = "Str"
return result
else:
Modified: trunk/jython/ast/jastlib.py
===================================================================
--- trunk/jython/ast/jastlib.py 2008-10-01 02:01:33 UTC (rev 5353)
+++ trunk/jython/ast/jastlib.py 2008-10-02 00:13:21 UTC (rev 5354)
@@ -20,8 +20,6 @@
name = s.split(".")[-1]
if name.endswith("Type"):
name = name[:-4]
- if name == "Unicode":
- name = "Str"
yield name
try:
for field in node._fields:
@@ -54,8 +52,6 @@
yield node
except Exception, why:
print "error parsing 'n': %s" % why
- elif fname == "s" and parent.__class__.__name__ == 'org.python.antlr.ast.Unicode':
- yield unicode(node)
else:
yield node
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|