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