From 3d2cc12a8bd867b2df58391bd4420d510e3f0af2 Mon Sep 17 00:00:00 2001 From: Mightyjo Date: Fri, 15 Mar 2024 00:04:55 -0400 Subject: [PATCH] fix(build): Comment out impl func dec in prefix_c99 test. 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 --- tests/prefix_c99.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/prefix_c99.l b/tests/prefix_c99.l index aad599f19..8f484cc8d 100644 --- a/tests/prefix_c99.l +++ b/tests/prefix_c99.l @@ -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 );