Commit 5d4dd9ac authored by Martin Panter's avatar Martin Panter

Fix incomplete format error in asdl.py

parent 0259c663
...@@ -126,7 +126,7 @@ class ASDLParser(spark.GenericParser, object): ...@@ -126,7 +126,7 @@ class ASDLParser(spark.GenericParser, object):
"version ::= Id String" "version ::= Id String"
if version.value != "version": if version.value != "version":
raise ASDLSyntaxError(version.lineno, raise ASDLSyntaxError(version.lineno,
msg="expected 'version', found %" % version) msg="expected 'version', found %s" % version)
return V return V
def p_definition_0(self, (definition,)): def p_definition_0(self, (definition,)):
......
#! /usr/bin/env python #! /usr/bin/env python2
"""Generate C code from an ASDL description.""" """Generate C code from an ASDL description."""
# TO DO # TO DO
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment