[Libreoffice-commits] core.git: hwpfilter/source

Stephan Bergmann sbergman at redhat.com
Tue May 10 14:59:17 UTC 2016


 hwpfilter/source/lexer.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit b6ecea71bebb3c889cca16cc202cb0d030119c3e
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue May 10 16:58:44 2016 +0200

    Add SAL_FALLTHROUGH to what looks like flex-generated code
    
    Change-Id: Icd980dbbdc8b55d76b7f8abe4dd1a9d7e475143d

diff --git a/hwpfilter/source/lexer.cxx b/hwpfilter/source/lexer.cxx
index 448dce2..76ba0ba 100644
--- a/hwpfilter/source/lexer.cxx
+++ b/hwpfilter/source/lexer.cxx
@@ -1288,6 +1288,7 @@ case 23:
 YY_RULE_SETUP
 { token_debug(" ==>Ignore[\\rm]\n"); }
     //YY_BREAK
+SAL_FALLTHROUGH;
 case 24:
 YY_RULE_SETUP
 { yylval.str = yytext+1; token_debug("  ==>General_Iden[%s]\n",yytext+1); return GENERAL_IDEN; }
@@ -1332,10 +1333,12 @@ case 34:
 YY_RULE_SETUP
 { yylval.str = yytext+1; token_debug("  ==>Space_Symbol[%s]\n",yytext+1); /*return SPACE_SYMBOL;*/ }
     //YY_BREAK
+SAL_FALLTHROUGH;
 case 35:
 YY_RULE_SETUP
 { yylval.str = strdup("quad"); token_debug("    ==>Space_Symbol[quad]\n"); /* return SPACE_SYMBOL;*/ }
     //YY_BREAK
+SAL_FALLTHROUGH;
 case 36:
 YY_RULE_SETUP
 { yylval.dval = yytext;  token_debug("  ==>Digit[%s]\n",yytext); return DIGIT; }


More information about the Libreoffice-commits mailing list