diff src/converter.py @ 19:d40b248a526b

add star/union/concat rule's graph (graph/*.png).
author Ryoma SHINYA <shinya@firefly.cr.ie.u-ryukyu.ac.jp>
date Mon, 05 Jul 2010 15:23:08 +0900
parents ec36e784df2e
children a24acddedf89
line wrap: on
line diff
--- a/src/converter.py	Mon Jul 05 08:36:11 2010 +0900
+++ b/src/converter.py	Mon Jul 05 15:23:08 2010 +0900
@@ -20,7 +20,7 @@
     psr.add_option("-O", action="store", type="string", dest="optimize", default=False, help="do optimization (only in llvm).", metavar="FILE")
     psr.add_option("-L", action="store_true", dest="label", default=False, help="implement with label&goto. (only in llvm).")
     psr.add_option("-g", action="store_true", dest="debug", default=False, help="embed debug info")
-    psr.add_option("-D", action="store_true", dest="emitDot", default=False, help="emit Dot file")
+    psr.add_option("-D", action="store_true", dest="emit_dot", default=False, help="emit Dot file")
     (opts, args) = psr.parse_args(sys.argv)
     if len(args) == 1:
         psr.print_help()