diff options
Diffstat (limited to 'src/include/nodes/readfuncs.h')
-rw-r--r-- | src/include/nodes/readfuncs.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/include/nodes/readfuncs.h b/src/include/nodes/readfuncs.h index 491e61c459f..4f0d3c2192d 100644 --- a/src/include/nodes/readfuncs.h +++ b/src/include/nodes/readfuncs.h @@ -17,11 +17,18 @@ #include "nodes/nodes.h" /* + * variable in read.c that needs to be accessible to readfuncs.c + */ +#ifdef WRITE_READ_PARSE_PLAN_TREES +extern bool restore_location_fields; +#endif + +/* * prototypes for functions in read.c (the lisp token parser) */ -extern char *pg_strtok(int *length); -extern char *debackslash(char *token, int length); -extern void *nodeRead(char *token, int tok_len); +extern const char *pg_strtok(int *length); +extern char *debackslash(const char *token, int length); +extern void *nodeRead(const char *token, int tok_len); /* * prototypes for functions in readfuncs.c |