diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-10 16:58:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-10 16:58:44 +0200 |
commit | b6ecea71bebb3c889cca16cc202cb0d030119c3e (patch) | |
tree | de9564141629f5f4114568f510f91feff88767a0 /hwpfilter | |
parent | d2cc57bf4286773260261e1c82315ef8b3a174e5 (diff) |
Add SAL_FALLTHROUGH to what looks like flex-generated code
Change-Id: Icd980dbbdc8b55d76b7f8abe4dd1a9d7e475143d
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/lexer.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hwpfilter/source/lexer.cxx b/hwpfilter/source/lexer.cxx index 448dce22f47c..76ba0ba770e8 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; } |