summaryrefslogtreecommitdiff
path: root/ext/ply/test/lex_dup3.py
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2007-05-26 17:10:35 -0700
committerSteve Reinhardt <stever@eecs.umich.edu>2007-05-26 17:10:35 -0700
commit87bb4c3792d080e0be0b16b0b39957215c7dfbfa (patch)
tree610381930af6bedda57cea3662563965c9c4cc63 /ext/ply/test/lex_dup3.py
parentda46364b1878339841e9cda5a62ee104409b6535 (diff)
parent44ebb8d3e27329e9f0b501897585359b4ab696f2 (diff)
downloadgem5-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/lex_dup3.py')
-rw-r--r--ext/ply/test/lex_dup3.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/ply/test/lex_dup3.py b/ext/ply/test/lex_dup3.py
index 424101823..e17b52059 100644
--- a/ext/ply/test/lex_dup3.py
+++ b/ext/ply/test/lex_dup3.py
@@ -2,7 +2,10 @@
#
# Duplicated rule specifiers
-import lex
+import sys
+sys.path.insert(0,"..")
+
+import ply.lex as lex
tokens = [
"PLUS",
@@ -21,7 +24,6 @@ def t_NUMBER(t):
def t_error(t):
pass
-import sys
sys.tracebacklimit = 0
lex.lex()