summaryrefslogtreecommitdiffstats
path: root/Parser/asdl.py
diff options
context:
space:
mode:
Diffstat (limited to 'Parser/asdl.py')
-rw-r--r--Parser/asdl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/asdl.py b/Parser/asdl.py
index bd892b6..e8f9b1c 100644
--- a/Parser/asdl.py
+++ b/Parser/asdl.py
@@ -98,7 +98,7 @@ class ASDLScanner(spark.GenericScanner, object):
def t_default(self, s):
r" . +"
- raise ValueError, "unmatched input: %s" % `s`
+ raise ValueError, "unmatched input: %s" % repr(s)
class ASDLParser(spark.GenericParser, object):
def __init__(self):