Skip to content

Commit cadc776

Browse files
committed
unused params yymajor, yyminor in expparse.y
1 parent cd530f1 commit cadc776

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

src/express/expparse.y

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2464,6 +2464,8 @@ while_control(A) ::= TOK_WHILE expression(B).
24642464
%syntax_error {
24652465
Symbol sym;
24662466

2467+
(void) yymajor; /* quell unused param warning */
2468+
(void) yyminor;
24672469
yyerrstatus++;
24682470

24692471
sym.line = yylineno;

src/express/generated/expparse.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1795,7 +1795,7 @@ static void yyStackOverflow(yyParser *yypParser, YYMINORTYPE *yypMinor){
17951795
while( yypParser->yyidx>=0 ) yy_pop_parser_stack(yypParser);
17961796
/* Here code is inserted which will execute if the parser
17971797
** stack every overflows */
1798-
#line 2478 "expparse.y"
1798+
#line 2480 "expparse.y"
17991799

18001800
fprintf(stderr, "Express parser experienced stack overflow.\n");
18011801
fprintf(stderr, "Last token had value %x\n", yypMinor->yy0.val);
@@ -4555,14 +4555,16 @@ static void yy_syntax_error(
45554555

45564556
Symbol sym;
45574557

4558+
(void) yymajor; /* quell unused param warning */
4559+
(void) yyminor;
45584560
yyerrstatus++;
45594561

45604562
sym.line = yylineno;
45614563
sym.filename = current_filename;
45624564

45634565
ERRORreport_with_symbol(ERROR_syntax, &sym, "",
45644566
CURRENT_SCOPE_TYPE_PRINTABLE, CURRENT_SCOPE_NAME);
4565-
#line 4566 "expparse.c"
4567+
#line 4568 "expparse.c"
45664568
ParseARG_STORE; /* Suppress warning about unused %extra_argument variable */
45674569
}
45684570

src/express/generated/verification_info.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ set(baseline_perplex_version "1.0.0")
55
set(baseline_lempar_c_md5 60741b9dd886b77a5732a2e85d6d56b0)
66
set(baseline_perplex_template_c_md5 7db377251a8c99c835f06df129d95bed)
77
set(baseline_expscan_l_md5 fc0914cda3e0f1e112a7151b78c17b3e)
8-
set(baseline_expparse_y_md5 c9258c4a3754b3f8257d13e3647455ec)
8+
set(baseline_expparse_y_md5 dd9351921b364dbdd87e51ba4b51b3f0)
99
set(baseline_expscan_c_md5 1b7e1705ad2090f1333c19d11d7e7b95)
1010
set(baseline_expscan_h_md5 3052c058a37045b43f96e4c04039bce3)
11-
set(baseline_expparse_c_md5 ac6bb73ff11094e0b2ed0c2b8408b9d8)
11+
set(baseline_expparse_c_md5 cad8730e0f2919d75bc964383dfbfc36)
1212
set(baseline_expparse_h_md5 e4a5599839b2a9f7a6915a0dcc7747b0)

0 commit comments

Comments
 (0)