mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-26 07:23:08 +01:00
9fafc348bf
vars in scope minimal interface cleanup small bug fixes
42 lines
1.6 KiB
Sed
42 lines
1.6 KiB
Sed
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/
|
|
s/^yytabelem yy/static const yytabelem yy/
|
|
s/^yytoktype yy/static const yytoktype yy/
|
|
s/^char \* yy/static char * yy/
|
|
s/^static int yychar;/\
|
|
int yychar;\
|
|
/
|
|
s/^static int yyerrflag;/\
|
|
int yyerrflag;\
|
|
/
|
|
s/yychar/DSQL_yychar/g
|
|
s/yyerrflag/DSQL_yyerrflag/g
|
|
s/yyparse/dsql_yyparse/g
|
|
s/static int dsql_yyparse/int dsql_yyparse/g
|
|
s/yyssp/DSQL_yyssp/g
|
|
s/yysslim/DSQL_yysslim/g
|
|
s/yyss/DSQL_yyss/g
|
|
/^#ident/d
|
|
s/^static TOK tokens/static const TOK tokens/
|
|
s/^__YYSCLASS yytabelem/__YYSCLASS const yytabelem/
|
|
s/^__YYSCLASS yytoktype/__YYSCLASS const yytoktype/
|
|
s/^#include *<values.h> *$//g
|
|
s/yylex(void)/yylex(USHORT, USHORT, USHORT, bool*)/g
|
|
s/yylex()/yylex(client_dialect, db_dialect, parser_version, stmt_ambiguous)/g
|
|
s/dsql_yyparse(void);/dsql_yyparse(USHORT, USHORT, USHORT, bool*);/g
|
|
s/dsql_yyparse __P((void));/dsql_yyparse __P((USHORT, USHORT, USHORT, bool*));/g
|
|
s/dsql_yyparse(void)/dsql_yyparse(USHORT client_dialect, USHORT db_dialect, USHORT parser_version, bool* stmt_ambiguous)/g
|
|
s/dsql_yyparse()/dsql_yyparse(USHORT client_dialect, USHORT db_dialect, USHORT parser_version, bool* stmt_ambiguous)/g
|
|
s/YYLEX()/YYLEX(client_dialect, db_dialect, parser_version, stmt_ambiguous)/g
|
|
s/extern char \*getenv()//g
|
|
s/void \*YYPARSE_PARAM/YYPARSE_PARAM/g
|
|
s/((__unused__))/((__unused__));/g
|
|
/static int yydebug/d
|
|
s/yydebug/lex.dsql_debug/g
|
|
s/yylex ()/yylex(client_dialect, db_dialect, parser_version, stmt_ambiguous)/g
|
|
s/register int \*yyxi = yyexca;/register const yytabelem \*yyxi = yyexca;/g
|