mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Convert contrib/seg's input function to report errors softly
Reviewed by Tom Lane Discussion: https://postgr.es/m/a8dc5700-c341-3ba8-0507-cc09881e6200@dunslane.net
This commit is contained in:
@ -16,9 +16,10 @@ extern int significant_digits(const char *s);
|
||||
|
||||
/* in segscan.l */
|
||||
extern int seg_yylex(void);
|
||||
extern void seg_yyerror(SEG *result, const char *message) pg_attribute_noreturn();
|
||||
extern void seg_yyerror(SEG *result, struct Node *escontext,
|
||||
const char *message);
|
||||
extern void seg_scanner_init(const char *str);
|
||||
extern void seg_scanner_finish(void);
|
||||
|
||||
/* in segparse.y */
|
||||
extern int seg_yyparse(SEG *result);
|
||||
extern int seg_yyparse(SEG *result, struct Node *escontext);
|
||||
|
Reference in New Issue
Block a user