diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/cube/cubescan.l | 2 | ||||
-rw-r--r-- | contrib/seg/segscan.l | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/cube/cubescan.l b/contrib/cube/cubescan.l index a74eb4ba37e..8f917cd33ad 100644 --- a/contrib/cube/cubescan.l +++ b/contrib/cube/cubescan.l @@ -60,7 +60,7 @@ float ({integer}|{real})([eE]{integer})? %% -void +void __attribute__((noreturn)) yyerror(const char *message) { if (*yytext == YY_END_OF_BUFFER_CHAR) diff --git a/contrib/seg/segscan.l b/contrib/seg/segscan.l index ce5ff31e47c..95139f46318 100644 --- a/contrib/seg/segscan.l +++ b/contrib/seg/segscan.l @@ -59,7 +59,7 @@ float ({integer}|{real})([eE]{integer})? %% -void +void __attribute__((noreturn)) yyerror(const char *message) { if (*yytext == YY_END_OF_BUFFER_CHAR) |