diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/actions.at | 4 | ||||
-rw-r--r-- | tests/headers.at | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/actions.at b/tests/actions.at index c702373c..e22e2596 100644 --- a/tests/actions.at +++ b/tests/actions.at @@ -1780,7 +1780,7 @@ float: UNTYPED INT yy::parser::token::INT, EOF}]], [[{UNTYPED, INT, EOF}]]), - [AT_VAL.ival = YY_CAST (int, toknum) * 10; + [AT_VAL.ival = toknum * 10; AT_VAL.fval = YY_CAST (float, toknum) / 10.0f;])[ ]AT_MAIN_DEFINE[ ]]) @@ -1897,7 +1897,7 @@ exp: %% ]AT_YYERROR_DEFINE[ -]AT_YYLEX_DEFINE(["bcd"], [*lvalp = YY_CAST (int, (toknum + 1) * 10)])[ +]AT_YYLEX_DEFINE(["bcd"], [*lvalp = (toknum + 1) * 10])[ ]AT_MAIN_DEFINE[ ]]) AT_BISON_OPTION_POPDEFS diff --git a/tests/headers.at b/tests/headers.at index 079fd9f9..31427436 100644 --- a/tests/headers.at +++ b/tests/headers.at @@ -326,7 +326,7 @@ AT_PERL_CHECK([[-n -0777 -e ' |YY_CONSTEXPR |YY_COPY |YY_CPLUSPLUS - |YY_IGNORE_MAYBE_UNINITIALIZED_(?:BEGIN|END) + |YY_IGNORE_(?:MAYBE_UNINITIALIZED|USELESS_CAST)_(?:BEGIN|END) |YY_INITIAL_VALUE |YY_MOVE |YY_MOVE_OR_COPY |