summaryrefslogtreecommitdiff
path: root/src/gotoexp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gotoexp.cc')
-rw-r--r--src/gotoexp.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gotoexp.cc b/src/gotoexp.cc
index 08c37c51..dea9029c 100644
--- a/src/gotoexp.cc
+++ b/src/gotoexp.cc
@@ -46,12 +46,11 @@ std::ostream &GotoExp::EXEC_FUNCS()
if ( redFsm->anyRegNbreak() ) {
out <<
" if ( " << nbreak << " == 1 )\n"
- " goto _out;\n";
- outLabelUsed = true;
+ " goto " << _out << ";\n";
}
- out << "\n\tgoto _again;\n";
+ out << "goto " << _again << ";\n";
}
}
return out;