2001-05-23 15:26:42 +02:00
|
|
|
s/^short yy/static short yy/
|
|
|
|
s/^long yy/static long yy/
|
|
|
|
s/^int yy/static int yy/
|
|
|
|
s/^int \*yy/static int *yy/
|
|
|
|
s/^YYSTYPE yy/static YYSTYPE yy/
|
|
|
|
s/^YYSTYPE \*yy/static YYSTYPE *yy/
|
2003-02-13 10:33:26 +01:00
|
|
|
s/^yytabelem yy/static const yytabelem yy/
|
|
|
|
s/^yytoktype yy/static const yytoktype yy/
|
2001-05-23 15:26:42 +02:00
|
|
|
s/^char \* yy/static char * yy/
|
2003-07-02 01:19:37 +02:00
|
|
|
s/^static int yychar;/\
|
2001-05-23 15:26:42 +02:00
|
|
|
int yychar;\
|
2003-07-02 01:19:37 +02:00
|
|
|
/
|
|
|
|
s/^static int yyerrflag;/\
|
2001-05-23 15:26:42 +02:00
|
|
|
int yyerrflag;\
|
2003-07-02 01:19:37 +02:00
|
|
|
/
|
2001-05-23 15:26:42 +02:00
|
|
|
s/yychar/DSQL_yychar/g
|
|
|
|
s/yyerrflag/DSQL_yyerrflag/g
|
|
|
|
s/yyparse/dsql_yyparse/g
|
|
|
|
s/static int dsql_yyparse/int dsql_yyparse/g
|
2001-07-12 07:46:06 +02:00
|
|
|
s/yyssp/DSQL_yyssp/g
|
|
|
|
s/yysslim/DSQL_yysslim/g
|
|
|
|
s/yyss/DSQL_yyss/g
|
2001-05-23 15:26:42 +02:00
|
|
|
/^#ident/d
|
2003-02-28 13:57:13 +01:00
|
|
|
s/^static TOK tokens/static const TOK tokens/
|
|
|
|
s/^__YYSCLASS yytabelem/__YYSCLASS const yytabelem/
|
|
|
|
s/^__YYSCLASS yytoktype/__YYSCLASS const yytoktype/
|
2001-05-23 15:26:42 +02:00
|
|
|
s/^#include *<values.h> *$//g
|
|
|
|
s/yylex(void)/yylex(USHORT, USHORT, USHORT, BOOLEAN *)/g
|
|
|
|
s/yylex()/yylex(client_dialect, db_dialect, parser_version, stmt_ambiguous)/g
|
|
|
|
s/dsql_yyparse(void);/dsql_yyparse(USHORT, USHORT, USHORT, BOOLEAN *);/g
|
2001-07-12 07:46:06 +02:00
|
|
|
s/dsql_yyparse __P((void));/dsql_yyparse __P((USHORT, USHORT, USHORT, BOOLEAN *));/g
|
2001-05-23 15:26:42 +02:00
|
|
|
s/dsql_yyparse(void)/dsql_yyparse(USHORT client_dialect, USHORT db_dialect, USHORT parser_version, BOOLEAN *stmt_ambiguous)/g
|
|
|
|
s/dsql_yyparse()/dsql_yyparse(USHORT client_dialect, USHORT db_dialect, USHORT parser_version, BOOLEAN *stmt_ambiguous)/g
|
|
|
|
s/YYLEX()/YYLEX(client_dialect, db_dialect, parser_version, stmt_ambiguous)/g
|
2003-04-01 01:40:53 +02:00
|
|
|
s/extern char \*getenv()//g
|
|
|
|
s/void \*YYPARSE_PARAM/YYPARSE_PARAM/g
|
|
|
|
s/((__unused__))/((__unused__));/g
|
|
|
|
/static int yydebug/d
|
2003-05-24 19:27:59 +02:00
|
|
|
s/yydebug/lex.dsql_debug/g
|
2003-04-01 01:40:53 +02:00
|
|
|
s/yylex ()/yylex(client_dialect, db_dialect, parser_version, stmt_ambiguous)/g
|
2003-04-03 14:41:52 +02:00
|
|
|
s/register int \*yyxi = yyexca;/register const yytabelem \*yyxi = yyexca;/g
|