diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-05-25 19:29:32 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-05-25 19:29:32 -0700 |
commit | a3ae9486d543f23cd4203381e7bcf2ce86c51389 (patch) | |
tree | d66d3b9851f3002d0746c7af830062480f83773d /ext/ply/test/yacc_rr.py | |
parent | ad02a59f89139a75dfcfaa7a79498e54f7ce7e5d (diff) | |
parent | 44ebb8d3e27329e9f0b501897585359b4ab696f2 (diff) | |
download | gem5-a3ae9486d543f23cd4203381e7bcf2ce86c51389.tar.xz |
Merge zizzer.eecs.umich.edu:/bk/newmem
into doughnut.mwconnections.com:/home/gblack/m5/newmem-x86
--HG--
extra : convert_revision : 276d00a73b1834d5262129c3f7e0f7fae18e23bc
Diffstat (limited to 'ext/ply/test/yacc_rr.py')
-rw-r--r-- | ext/ply/test/yacc_rr.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/ply/test/yacc_rr.py b/ext/ply/test/yacc_rr.py index c061c2c17..bb8cba235 100644 --- a/ext/ply/test/yacc_rr.py +++ b/ext/ply/test/yacc_rr.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 @@ -63,7 +66,6 @@ def p_expression_name(t): def p_error(t): print "Syntax error at '%s'" % t.value -import yacc yacc.yacc() |