Skip to content

Commit

Permalink
fix(build): Comment out impl func dec in prefix_c99 test.
Browse files Browse the repository at this point in the history
tests/prefix_c99.l calls a function before its definition from within
a dead code block. This is treated as an error in newer compilers. The
test isn't needed as the scanner's main() repeats the call.

Refs: #632
  • Loading branch information
Mightyjo committed Mar 15, 2024
1 parent ba051d5 commit 3d2cc12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/prefix_c99.l
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
FOOget_text( (yyscan_t )0 );
FOOlex( (yyscan_t )0 );
//FOOlex_destroy( (yyscan_t )0 );
FOOlex_init( (yyscan_t *)0 );
//FOOlex_init( (yyscan_t *)0 );
//FOOset_extra( (void *)0, (yyscan_t )0 );
FOOset_in( (FILE*)0, (yyscan_t )0 );
FOOset_out( (FILE*)0, (yyscan_t )0 );
Expand Down

0 comments on commit 3d2cc12

Please sign in to comment.