summaryrefslogtreecommitdiff
path: root/src/include/parser
diff options
context:
space:
mode:
authorPeter Eisentraut2014-08-14 02:40:48 +0000
committerPeter Eisentraut2014-08-14 02:40:48 +0000
commit1d678bf7bc66d4478bdee51278946dcc9ae8cae5 (patch)
tree35bb76a590f2c3b96bf2e0eb0a4f2273641afb65 /src/include/parser
parentfaa14acc9b958d7b811d0aa624774f36e3fab750 (diff)
Add some noreturn attributes based on compiler recommendations
Diffstat (limited to 'src/include/parser')
-rw-r--r--src/include/parser/scanner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/parser/scanner.h b/src/include/parser/scanner.h
index 1f2d185234..008d93f9af 100644
--- a/src/include/parser/scanner.h
+++ b/src/include/parser/scanner.h
@@ -114,6 +114,6 @@ extern void scanner_finish(core_yyscan_t yyscanner);
extern int core_yylex(core_YYSTYPE *lvalp, YYLTYPE *llocp,
core_yyscan_t yyscanner);
extern int scanner_errposition(int location, core_yyscan_t yyscanner);
-extern void scanner_yyerror(const char *message, core_yyscan_t yyscanner);
+extern void scanner_yyerror(const char *message, core_yyscan_t yyscanner) __attribute__((noreturn));
#endif /* SCANNER_H */