mirror of
https://github.com/postgres/postgres.git
synced 2025-06-23 14:01:44 +03:00
Add noreturn attributes to some error reporting functions
This commit is contained in:
@ -60,7 +60,7 @@ float ({integer}|{real})([eE]{integer})?
|
||||
|
||||
%%
|
||||
|
||||
void
|
||||
void __attribute__((noreturn))
|
||||
yyerror(const char *message)
|
||||
{
|
||||
if (*yytext == YY_END_OF_BUFFER_CHAR)
|
||||
|
@ -59,7 +59,7 @@ float ({integer}|{real})([eE]{integer})?
|
||||
|
||||
%%
|
||||
|
||||
void
|
||||
void __attribute__((noreturn))
|
||||
yyerror(const char *message)
|
||||
{
|
||||
if (*yytext == YY_END_OF_BUFFER_CHAR)
|
||||
|
Reference in New Issue
Block a user