summaryrefslogtreecommitdiff
path: root/src/quote_fmt_lex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/quote_fmt_lex.h')
-rw-r--r--src/quote_fmt_lex.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/quote_fmt_lex.h b/src/quote_fmt_lex.h
new file mode 100644
index 0000000..585751a
--- /dev/null
+++ b/src/quote_fmt_lex.h
@@ -0,0 +1,47 @@
1/* The following defines shamelessly stolen from GDB sources... */
2
3/* Remap normal yacc parser interface names (yyparse, yylex, yyerror, etc),
4 as well as gratuitiously global symbol names, so we can have multiple
5 yacc generated parsers in gdb. Note that these are only the variables
6 produced by yacc. If other parser generators (bison, byacc, etc) produce
7 additional global names that conflict at link time, then those parser
8 generators need to be fixed instead of adding those names to this list. */
9
10#define yymaxdepth quote_fmtmaxdepth
11#define yyparse quote_fmtparse
12#define yylex quote_fmtlex
13#define yyerror quote_fmterror
14#define yylval quote_fmtlval
15#define yychar quote_fmtchar
16#define yydebug quote_fmtdebug
17#define yypact quote_fmtpact
18#define yyr1 quote_fmtr1
19#define yyr2 quote_fmtr2
20#define yydef quote_fmtdef
21#define yychk quote_fmtchk
22#define yypgo quote_fmtpgo
23#define yyact quote_fmtact
24#define yyexca quote_fmtexca
25#define yyerrflag quote_fmterrflag
26#define yynerrs quote_fmtnerrs
27#define yyps quote_fmtps
28#define yypv quote_fmtpv
29#define yys quote_fmts
30#define yy_yys quote_fmtyys
31#define yystate quote_fmtstate
32#define yytmp quote_fmttmp
33#define yyv quote_fmtv
34#define yy_yyv quote_fmtyyv
35#define yyval quote_fmtval
36#define yylloc quote_fmtlloc
37#define yyreds quote_fmtreds /* With YYDEBUG defined */
38#define yytoks quote_fmttoks /* With YYDEBUG defined */
39#define yylhs quote_fmtyylhs
40#define yylen quote_fmtyylen
41#define yydefred quote_fmtyydefred
42#define yydgoto quote_fmtyydgoto
43#define yysindex quote_fmtyysindex
44#define yyrindex quote_fmtyyrindex
45#define yygindex quote_fmtyygindex
46#define yytable quote_fmtyytable
47#define yycheck quote_fmtyycheck