From f8d9dec3b9478833536a03cb6b278842c3fff67e Mon Sep 17 00:00:00 2001 From: Walter Julius Hennecke Date: Mon, 12 Aug 2013 22:12:32 +0200 Subject: [PATCH] fixed cppcheck-inline supressions --- code/game/bg_lex.lex | 96 ++++++++++++++++++++-------------------- code/game/bg_lex.yy.c | 100 +++++++++++++++++++++--------------------- 2 files changed, 98 insertions(+), 98 deletions(-) diff --git a/code/game/bg_lex.lex b/code/game/bg_lex.lex index bc68985..a23c34e 100644 --- a/code/game/bg_lex.lex +++ b/code/game/bg_lex.lex @@ -46,7 +46,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "+{INT}" "+{INT}" "+"}" { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -59,7 +59,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "+{INT}" "+{DOUBLE}" "+"}" { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -71,7 +71,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "+{DOUBLE}" "+{INT}" "+"}" { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -83,7 +83,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "+{DOUBLE}" "+{DOUBLE}" "+"}" { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -95,7 +95,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "+{INT}" "+{INT}" "+"}" { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -107,7 +107,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "+{INT}" "+{DOUBLE}" "+"}" { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -119,7 +119,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "+{DOUBLE}" "+{INT}" "+"}" { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -131,7 +131,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "+{DOUBLE}" "+{DOUBLE}" "+"}" { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -143,7 +143,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "*","" "+{INT}" "*","" "+{INT}" "+"}" { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -156,7 +156,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "*","" "+{INT}" "*","" "+{DOUBLE}" "+"}" { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -168,7 +168,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "*","" "+{DOUBLE}" "*","" "+{INT}" "+"}" { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -180,7 +180,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "*","" "+{DOUBLE}" "*","" "+{DOUBLE}" "+"}" { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -192,7 +192,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "*","" "+{INT}" "*","" "+{INT}" "+"}" { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -204,7 +204,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "*","" "+{INT}" "*","" "+{DOUBLE}" "+"}" { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -216,7 +216,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "*","" "+{DOUBLE}" "*","" "+{INT}" "+"}" { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -228,7 +228,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "*","" "+{DOUBLE}" "*","" "+{DOUBLE}" "+"}" { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -240,7 +240,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "+{INT}" "+{INT}" "+{INT}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -253,7 +253,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "+{INT}" "+{INT}" "+{DOUBLE}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -266,7 +266,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "+{INT}" "+{DOUBLE}" "+{INT}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -279,7 +279,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "+{INT}" "+{DOUBLE}" "+{DOUBLE}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -292,7 +292,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "+{DOUBLE}" "+{INT}" "+{INT}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -305,7 +305,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "+{DOUBLE}" "+{INT}" "+{DOUBLE}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -318,7 +318,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "+{DOUBLE}" "+{DOUBLE}" "+{INT}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -331,7 +331,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "+{DOUBLE}" "+{DOUBLE}" "+{DOUBLE}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -344,7 +344,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "+{INT}" "+{INT}" "+{INT}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -357,7 +357,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "+{INT}" "+{INT}" "+{DOUBLE}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -370,7 +370,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "+{INT}" "+{DOUBLE}" "+{INT}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -383,7 +383,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "+{INT}" "+{DOUBLE}" "+{DOUBLE}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -396,7 +396,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "+{DOUBLE}" "+{INT}" "+{INT}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -409,7 +409,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "+{DOUBLE}" "+{INT}" "+{DOUBLE}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -422,7 +422,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "+{DOUBLE}" "+{DOUBLE}" "+{INT}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -435,7 +435,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "+{DOUBLE}" "+{DOUBLE}" "+{DOUBLE}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -448,7 +448,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "*","" "+{INT}" "*","" "+{INT}" "*","" "+{INT}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -461,7 +461,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "*","" "+{INT}" "*","" "+{INT}" "*","" "+{DOUBLE}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -474,7 +474,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "*","" "+{INT}" "*","" "+{DOUBLE}" "*","" "+{INT}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -487,7 +487,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "*","" "+{INT}" "*","" "+{DOUBLE}" "*","" "+{DOUBLE}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -500,7 +500,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "*","" "+{DOUBLE}" "*","" "+{INT}" "*","" "+{INT}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -513,7 +513,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "*","" "+{DOUBLE}" "*","" "+{INT}" "*","" "+{DOUBLE}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -526,7 +526,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "*","" "+{DOUBLE}" "*","" "+{DOUBLE}" "*","" "+{INT}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -539,7 +539,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{INT}" "*","" "+{DOUBLE}" "*","" "+{DOUBLE}" "*","" "+{DOUBLE}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -552,7 +552,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "*","" "+{INT}" "*","" "+{INT}" "*","" "+{INT}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -565,7 +565,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "*","" "+{INT}" "*","" "+{INT}" "*","" "+{DOUBLE}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -578,7 +578,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "*","" "+{INT}" "*","" "+{DOUBLE}" "*","" "+{INT}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -591,7 +591,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "*","" "+{INT}" "*","" "+{DOUBLE}" "*","" "+{DOUBLE}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -604,7 +604,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "*","" "+{DOUBLE}" "*","" "+{INT}" "*","" "+{INT}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -617,7 +617,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "*","" "+{DOUBLE}" "*","" "+{INT}" "*","" "+{DOUBLE}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -630,7 +630,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "*","" "+{DOUBLE}" "*","" "+{DOUBLE}" "*","" "+{INT}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -643,7 +643,7 @@ KEYWORD [a-zA-Z]+[a-zA-Z0-9]* "{"" "+{DOUBLE}" "*","" "+{DOUBLE}" "*","" "+{DOUBLE}" "*","" "+{DOUBLE}" "+"}" { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; diff --git a/code/game/bg_lex.yy.c b/code/game/bg_lex.yy.c index ecb6ac2..65948bc 100644 --- a/code/game/bg_lex.yy.c +++ b/code/game/bg_lex.yy.c @@ -371,9 +371,9 @@ static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner ); but its presence is necessary. */ struct yy_trans_info { - // cppcheck-suppress "unusedStructMember" + // cppcheck-suppress unusedStructMember flex_int32_t yy_verify; - // cppcheck-suppress "unusedStructMember" + // cppcheck-suppress unusedStructMember flex_int32_t yy_nxt; }; static yyconst flex_int16_t yy_accept[307] = @@ -1062,7 +1062,7 @@ YY_RULE_SETUP { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -1078,7 +1078,7 @@ YY_RULE_SETUP { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -1094,7 +1094,7 @@ YY_RULE_SETUP { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -1110,7 +1110,7 @@ YY_RULE_SETUP { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -1126,7 +1126,7 @@ YY_RULE_SETUP { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -1142,7 +1142,7 @@ YY_RULE_SETUP { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -1158,7 +1158,7 @@ YY_RULE_SETUP { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -1174,7 +1174,7 @@ YY_RULE_SETUP { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -1190,7 +1190,7 @@ YY_RULE_SETUP { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -1206,7 +1206,7 @@ YY_RULE_SETUP { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -1222,7 +1222,7 @@ YY_RULE_SETUP { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -1238,7 +1238,7 @@ YY_RULE_SETUP { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -1254,7 +1254,7 @@ YY_RULE_SETUP { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -1270,7 +1270,7 @@ YY_RULE_SETUP { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -1286,7 +1286,7 @@ YY_RULE_SETUP { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -1302,7 +1302,7 @@ YY_RULE_SETUP { double a, b, c; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf }", &a, &b, &c); yyextra->data.vector3[0] = a; yyextra->data.vector3[1] = b; @@ -1318,7 +1318,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1335,7 +1335,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1352,7 +1352,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1369,7 +1369,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1386,7 +1386,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1403,7 +1403,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1420,7 +1420,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1437,7 +1437,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1454,7 +1454,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1471,7 +1471,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1488,7 +1488,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1505,7 +1505,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1522,7 +1522,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1539,7 +1539,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1556,7 +1556,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1573,7 +1573,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf %lf %lf %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1590,7 +1590,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1607,7 +1607,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1624,7 +1624,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1641,7 +1641,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1658,7 +1658,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1675,7 +1675,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1692,7 +1692,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1709,7 +1709,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1726,7 +1726,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1743,7 +1743,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1760,7 +1760,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1777,7 +1777,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1794,7 +1794,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1811,7 +1811,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1828,7 +1828,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b; @@ -1845,7 +1845,7 @@ YY_RULE_SETUP { double a, b, c, d; - // cppcheck-suppress "invalidscanf" + // cppcheck-suppress invalidscanf sscanf(yytext, "{ %lf, %lf, %lf, %lf }", &a, &b, &c, &d); yyextra->data.vector4[0] = a; yyextra->data.vector4[1] = b;