mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
Add noreturn attributes to some error reporting functions
This commit is contained in:
@ -528,7 +528,7 @@ plpgsql_scanner_errposition(int location)
|
||||
* Beware of using yyerror for other purposes, as the cursor position might
|
||||
* be misleading!
|
||||
*/
|
||||
void
|
||||
void __attribute__((noreturn))
|
||||
plpgsql_yyerror(const char *message)
|
||||
{
|
||||
char *yytext = core_yy.scanbuf + plpgsql_yylloc;
|
||||
|
Reference in New Issue
Block a user