mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
fact that this is breaking the MSVC build, it's probably not really a good idea to expand the dependencies of gram.h any further than the core parser; for instance the value of SCONST might depend on which bison version you'd built with. Better to expose an additional call point in parser.c, so move what I had put into pl_funcs.c into parser.c. Also PGDLLIMPORT'ify the reference to standard_conforming_strings, per buildfarm results.
24 lines
665 B
C
24 lines
665 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* parser.h
|
|
* Definitions for the "raw" parser (lex and yacc phases only)
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $PostgreSQL: pgsql/src/include/parser/parser.h,v 1.25 2009/04/19 21:50:08 tgl Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef PARSER_H
|
|
#define PARSER_H
|
|
|
|
#include "nodes/pg_list.h"
|
|
|
|
extern List *raw_parser(const char *str);
|
|
|
|
extern char *pg_parse_string_token(const char *token);
|
|
|
|
#endif /* PARSER_H */
|