projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update to ply 2.3
[gem5.git]
/
ext
/
ply
/
test
/
yacc_error1.py
diff --git
a/ext/ply/test/yacc_error1.py
b/ext/ply/test/yacc_error1.py
index 41300452051557f1de047f5272efe31b22b02323..2768fc14ac16930ec4be809735d96384cf06071b 100644
(file)
--- a/
ext/ply/test/yacc_error1.py
+++ b/
ext/ply/test/yacc_error1.py
@@
-6,6
+6,9
@@
import sys
sys.tracebacklimit = 0
+sys.path.insert(0,"..")
+import ply.yacc as yacc
+
from calclex import tokens
# Parsing rules
@@
-59,7
+62,6
@@
def p_expression_name(t):
def p_error(t,s):
print "Syntax error at '%s'" % t.value
-import yacc
yacc.yacc()