diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2007-05-26 17:10:35 -0700 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2007-05-26 17:10:35 -0700 |
commit | 87bb4c3792d080e0be0b16b0b39957215c7dfbfa (patch) | |
tree | 610381930af6bedda57cea3662563965c9c4cc63 /ext/ply/test/yacc_rr.py | |
parent | da46364b1878339841e9cda5a62ee104409b6535 (diff) | |
parent | 44ebb8d3e27329e9f0b501897585359b4ab696f2 (diff) | |
download | gem5-87bb4c3792d080e0be0b16b0b39957215c7dfbfa.tar.xz |
Merge vm1.(none):/home/stever/bk/newmem-head
into vm1.(none):/home/stever/bk/newmem-cache2
--HG--
extra : convert_revision : c2540bfd34eb5a6f41cb15ffe50f8ec72f80abb1
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() |