You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
800 B
30 lines
800 B
/*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*
|
|
* Copyright 1997 - July 2008 CWI, August 2008 - 2022 MonetDB B.V.
|
|
*/
|
|
|
|
#ifndef _SQL_PARSER_H_
|
|
#define _SQL_PARSER_H_
|
|
|
|
#include "sql_tokens.h"
|
|
#include "sql_mvc.h"
|
|
|
|
/* the next define makes the parser output more specific error messages,
|
|
* instead of only a dull 'parse error' */
|
|
#define YYERROR_VERBOSE 1
|
|
/* enable this to get an idea of what the parser is doing on stdout
|
|
#define YYDEBUG 1
|
|
*/
|
|
|
|
extern int find_subgeometry_type(mvc *m, char*);
|
|
extern char *token2string(tokens token);
|
|
extern int sqlparse(mvc *m);
|
|
|
|
#include "mal_errors.h" /* for SQLSTATE() */
|
|
|
|
#endif /*_SQL_PARSER_H_*/
|
|
|