Source-highlight Library
outlangdefparser.h
1 /* A Bison parser, made by GNU Bison 2.5. */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5  Copyright (C) 1984, 1989-1990, 2000-2011 Free Software Foundation, Inc.
6 
7  This program is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program. If not, see <http://www.gnu.org/licenses/>. */
19 
20 /* As a special exception, you may create a larger work that contains
21  part or all of the Bison parser skeleton and distribute that work
22  under terms of your choice, so long as that work isn't itself a
23  parser generator using the skeleton or a modified version thereof
24  as a parser skeleton. Alternatively, if you modify or redistribute
25  the parser skeleton itself, you may (at your option) remove this
26  special exception, which will cause the skeleton and the resulting
27  Bison output files to be licensed under the GNU General Public
28  License without this special exception.
29 
30  This special exception was added by the Free Software Foundation in
31  version 2.2 of Bison. */
32 
33 
34 /* Tokens. */
35 #ifndef YYTOKENTYPE
36 # define YYTOKENTYPE
37  /* Put the tokens into the symbol table, so that GDB and other debuggers
38  know about them. */
39  enum yytokentype {
40  BEGIN_T = 258,
41  END_T = 259,
42  DOC_TEMPLATE_T = 260,
43  NODOC_TEMPLATE_T = 261,
44  STYLE_TEMPLATE_T = 262,
45  STYLE_SEPARATOR_T = 263,
46  BOLD_T = 264,
47  ITALICS_T = 265,
48  UNDERLINE_T = 266,
49  COLOR_T = 267,
50  BG_COLOR_T = 268,
51  FIXED_T = 269,
52  NOTFIXED_T = 270,
53  COLORMAP_T = 271,
54  DEFAULT_T = 272,
55  ONESTYLE_T = 273,
56  TRANSLATIONS_T = 274,
57  EXTENSION_T = 275,
58  ANCHOR_T = 276,
59  REFERENCE_T = 277,
60  INLINE_REFERENCE_T = 278,
61  POSTLINE_REFERENCE_T = 279,
62  POSTDOC_REFERENCE_T = 280,
63  KEY = 281,
64  STRINGDEF = 282,
65  REGEXDEF = 283,
66  LINE_PREFIX_T = 284,
67  LINENUM_T = 285,
68  WRONG_INCLUDE_FILE = 286
69  };
70 #endif
71 /* Tokens. */
72 #define BEGIN_T 258
73 #define END_T 259
74 #define DOC_TEMPLATE_T 260
75 #define NODOC_TEMPLATE_T 261
76 #define STYLE_TEMPLATE_T 262
77 #define STYLE_SEPARATOR_T 263
78 #define BOLD_T 264
79 #define ITALICS_T 265
80 #define UNDERLINE_T 266
81 #define COLOR_T 267
82 #define BG_COLOR_T 268
83 #define FIXED_T 269
84 #define NOTFIXED_T 270
85 #define COLORMAP_T 271
86 #define DEFAULT_T 272
87 #define ONESTYLE_T 273
88 #define TRANSLATIONS_T 274
89 #define EXTENSION_T 275
90 #define ANCHOR_T 276
91 #define REFERENCE_T 277
92 #define INLINE_REFERENCE_T 278
93 #define POSTLINE_REFERENCE_T 279
94 #define POSTDOC_REFERENCE_T 280
95 #define KEY 281
96 #define STRINGDEF 282
97 #define REGEXDEF 283
98 #define LINE_PREFIX_T 284
99 #define LINENUM_T 285
100 #define WRONG_INCLUDE_FILE 286
101 
102 
103 
104 
105 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
106 typedef union YYSTYPE
107 {
108 
109 /* Line 2068 of yacc.c */
110 #line 62 "../../../lib/srchilite/outlangdefparser.yy"
111 
112  int tok ; /* command */
113  bool booloption ;
114  const std::string * string ; /* string : id, ... */
115  int flag ;
116 
117 
118 
119 /* Line 2068 of yacc.c */
120 #line 121 "../../../lib/srchilite/outlangdefparser.h"
121 } YYSTYPE;
122 # define YYSTYPE_IS_TRIVIAL 1
123 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
124 # define YYSTYPE_IS_DECLARED 1
125 #endif
126 
127 extern YYSTYPE outlangdef_lval;
128 
129 
Definition: langdefparser.cc:256