[Libreoffice-commits] core.git: hwpfilter/source
Chris Sherlock
chris.sherlock79 at gmail.com
Fri Mar 30 05:29:18 UTC 2018
hwpfilter/source/lexer.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 9db5a063e29732fa0181e2f4427ae69b43914d44
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date: Sat Mar 17 16:20:00 2018 +1100
Silence lex errors by adding breaks
Change-Id: I4bba761b0bf264933b88777b3e18adec255eb4aa
Reviewed-on: https://gerrit.libreoffice.org/51452
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
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;
}
More information about the Libreoffice-commits
mailing list