summaryrefslogtreecommitdiff
path: root/libfsm/tabbreak.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libfsm/tabbreak.cc')
-rw-r--r--libfsm/tabbreak.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/libfsm/tabbreak.cc b/libfsm/tabbreak.cc
index 5ded768a..ee82cc0c 100644
--- a/libfsm/tabbreak.cc
+++ b/libfsm/tabbreak.cc
@@ -301,8 +301,9 @@ void TabBreak::writeExec()
if ( loopLabels ) {
out << BREAK( _again ) << ";\n}\n";
}
-
- out << "\n" << EMIT_LABEL( _again );
+ else {
+ out << "\n" << EMIT_LABEL( _again );
+ }
if ( !noEnd && eof ) {
out <<