Update to ply 2.3
[gem5.git] / ext / ply / test / lex_doc1.py
index fb0fb885ea5114f508834bb120873c4af0ca462d..3951b5c5dee41648bf7880cc97de5c5515c311d0 100644 (file)
@@ -2,7 +2,10 @@
 #
 # Missing documentation string
 
-import lex
+import sys
+sys.path.insert(0,"..")
+
+import ply.lex as lex
 
 tokens = [
     "PLUS",