diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 00:21:57 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 00:21:57 -0700 |
commit | a43ae579dd3128a0ced2238532f26d99db197361 (patch) | |
tree | 271a90c0fdfde8b58180ee494c528a3fbec57588 /ext/ply/test/lex_module.py | |
parent | 32c8514b450a7dda77a3963d00642fcc5de658da (diff) | |
parent | a6b39c07d9d03955382a0e930b363c6e6fd4b942 (diff) | |
download | gem5-a43ae579dd3128a0ced2238532f26d99db197361.tar.xz |
Merge with head.
Diffstat (limited to 'ext/ply/test/lex_module.py')
-rw-r--r-- | ext/ply/test/lex_module.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ext/ply/test/lex_module.py b/ext/ply/test/lex_module.py new file mode 100644 index 000000000..8bdd3ed47 --- /dev/null +++ b/ext/ply/test/lex_module.py @@ -0,0 +1,10 @@ +# lex_module.py +# + +import sys +if ".." not in sys.path: sys.path.insert(0,"..") + +import ply.lex as lex +import lex_module_import +lex.lex(module=lex_module_import) +lex.runmain(data="3+4") |