Kaydet (Commit) 5d4dd9ac authored tarafından Martin Panter's avatar Martin Panter

Fix incomplete format error in asdl.py

üst 0259c663
......@@ -126,7 +126,7 @@ class ASDLParser(spark.GenericParser, object):
"version ::= Id String"
if version.value != "version":
raise ASDLSyntaxError(version.lineno,
msg="expected 'version', found %" % version)
msg="expected 'version', found %s" % version)
return V
def p_definition_0(self, (definition,)):
......
#! /usr/bin/env python
#! /usr/bin/env python2
"""Generate C code from an ASDL description."""
# 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