summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2018-03-17 16:20:00 +1100
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-30 07:28:55 +0200
commit9db5a063e29732fa0181e2f4427ae69b43914d44 (patch)
tree6e44a7747c3c5bb4c487069fe175b74f6ea413b4 /hwpfilter
parent3d14fb1ef44144d69e73d047c547508219a57b62 (diff)
Silence lex errors by adding breaks
Change-Id: I4bba761b0bf264933b88777b3e18adec255eb4aa Reviewed-on: https://gerrit.libreoffice.org/51452 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/lexer.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/hwpfilter/source/lexer.cxx b/hwpfilter/source/lexer.cxx
index a22968e5be7a..0439c9933b54 100644
--- a/hwpfilter/source/lexer.cxx
+++ b/hwpfilter/source/lexer.cxx
@@ -1441,8 +1441,8 @@ case YY_STATE_EOF(INITIAL):
if ( ! yy_did_buffer_switch_on_eof )
YY_NEW_FILE;
}
- break;
}
+ break;
case EOB_ACT_CONTINUE_SCAN:
yy_c_buf_p =
@@ -1453,6 +1453,7 @@ case YY_STATE_EOF(INITIAL):
yy_cp = yy_c_buf_p;
yy_bp = yytext_ptr + YY_MORE_ADJ;
goto yy_match;
+ break;
case EOB_ACT_LAST_MATCH:
yy_c_buf_p =
@@ -1463,6 +1464,7 @@ case YY_STATE_EOF(INITIAL):
yy_cp = yy_c_buf_p;
yy_bp = yytext_ptr + YY_MORE_ADJ;
goto yy_find_action;
+ break;
}
break;
}