1
0
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:
Peter Eisentraut
2013-02-12 07:13:22 -05:00
parent 62401db45c
commit 0cb1fac3b1
8 changed files with 10 additions and 10 deletions

View File

@ -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;