lplc | raw changeset files shortlog |
1.1 --- a/lplc Tue Nov 15 19:12:12 2016 +0100 1.2 +++ b/lplc Tue Nov 15 22:55:57 2016 +0100 1.3 @@ -39,6 +39,7 @@ 1.4 1.5 verbose = "-v" in args 1.6 reset = "-r" in args 1.7 + debug = "-g" in args 1.8 1.9 # Load the program. 1.10 1.11 @@ -71,7 +72,7 @@ 1.12 now = stopwatch("Optimisation", now) 1.13 1.14 g = generator.Generator(i, o, "_generated") 1.15 - g.to_output() 1.16 + g.to_output(debug) 1.17 1.18 now = stopwatch("Generation", now) 1.19