summaryrefslogtreecommitdiff
path: root/colm/codegen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'colm/codegen.cc')
-rw-r--r--colm/codegen.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/colm/codegen.cc b/colm/codegen.cc
index 660f372e..b48ebbb7 100644
--- a/colm/codegen.cc
+++ b/colm/codegen.cc
@@ -35,7 +35,8 @@ void FsmCodeGen::writeMain( long activeRealm )
"{\n"
" struct colm_program *prg;\n"
" int exitStatus;\n"
- " prg = colm_new_program( &colm_object, " << activeRealm << " );\n"
+ " prg = colm_new_program( &colm_object );\n"
+ " colm_set_debug( prg, " << activeRealm << " );\n"
" colm_run_program( prg, argc, argv );\n"
" exitStatus = colm_delete_program( prg );\n"
" return exitStatus;\n"