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_error3.py
diff --git
a/ext/ply/test/yacc_error3.py
b/ext/ply/test/yacc_error3.py
index 7093fab48a560dcef82b4a1fdb42bfb47efe60f3..b387de5d12e0c86439d3a0ca5f4ae0d2594353a3 100644
(file)
--- a/
ext/ply/test/yacc_error3.py
+++ b/
ext/ply/test/yacc_error3.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
@@
-58,7
+61,6
@@
def p_expression_name(t):
p_error = "blah"
-import yacc
yacc.yacc()