1 /* A Bison parser, made by GNU Bison 3.7.4.  */
2 
3 /* Bison interface for Yacc-like parsers in C
4 
5    Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2020 Free Software Foundation,
6    Inc.
7 
8    This program is free software: you can redistribute it and/or modify
9    it under the terms of the GNU General Public License as published by
10    the Free Software Foundation, either version 3 of the License, or
11    (at your option) any later version.
12 
13    This program is distributed in the hope that it will be useful,
14    but WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16    GNU General Public License for more details.
17 
18    You should have received a copy of the GNU General Public License
19    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
20 
21 /* As a special exception, you may create a larger work that contains
22    part or all of the Bison parser skeleton and distribute that work
23    under terms of your choice, so long as that work isn't itself a
24    parser generator using the skeleton or a modified version thereof
25    as a parser skeleton.  Alternatively, if you modify or redistribute
26    the parser skeleton itself, you may (at your option) remove this
27    special exception, which will cause the skeleton and the resulting
28    Bison output files to be licensed under the GNU General Public
29    License without this special exception.
30 
31    This special exception was added by the Free Software Foundation in
32    version 2.2 of Bison.  */
33 
34 /* DO NOT RELY ON FEATURES THAT ARE NOT DOCUMENTED in the manual,
35    especially those whose name start with YY_ or yy_.  They are
36    private implementation details that can be changed or removed.  */
37 
38 #ifndef YY_YY_QUOTE_FMT_PARSE_H_INCLUDED
39 # define YY_YY_QUOTE_FMT_PARSE_H_INCLUDED
40 /* Debug traces.  */
41 #ifndef YYDEBUG
42 # define YYDEBUG 0
43 #endif
44 #if YYDEBUG
45 extern int yydebug;
46 #endif
47 
48 /* Token kinds.  */
49 #ifndef YYTOKENTYPE
50 # define YYTOKENTYPE
51   enum yytokentype
52   {
53     YYEMPTY = -2,
54     YYEOF = 0,                     /* "end of file"  */
55     YYerror = 256,                 /* error  */
56     YYUNDEF = 257,                 /* "invalid token"  */
57     SHOW_NEWSGROUPS = 258,         /* SHOW_NEWSGROUPS  */
58     SHOW_DATE = 259,               /* SHOW_DATE  */
59     SHOW_FROM = 260,               /* SHOW_FROM  */
60     SHOW_FULLNAME = 261,           /* SHOW_FULLNAME  */
61     SHOW_FIRST_NAME = 262,         /* SHOW_FIRST_NAME  */
62     SHOW_LAST_NAME = 263,          /* SHOW_LAST_NAME  */
63     SHOW_SENDER_INITIAL = 264,     /* SHOW_SENDER_INITIAL  */
64     SHOW_SUBJECT = 265,            /* SHOW_SUBJECT  */
65     SHOW_TO = 266,                 /* SHOW_TO  */
66     SHOW_MESSAGEID = 267,          /* SHOW_MESSAGEID  */
67     SHOW_PERCENT = 268,            /* SHOW_PERCENT  */
68     SHOW_CC = 269,                 /* SHOW_CC  */
69     SHOW_REFERENCES = 270,         /* SHOW_REFERENCES  */
70     SHOW_MESSAGE = 271,            /* SHOW_MESSAGE  */
71     SHOW_QUOTED_MESSAGE = 272,     /* SHOW_QUOTED_MESSAGE  */
72     SHOW_BACKSLASH = 273,          /* SHOW_BACKSLASH  */
73     SHOW_TAB = 274,                /* SHOW_TAB  */
74     SHOW_MAIL_ADDRESS = 275,       /* SHOW_MAIL_ADDRESS  */
75     SHOW_QUOTED_MESSAGE_NO_SIGNATURE = 276, /* SHOW_QUOTED_MESSAGE_NO_SIGNATURE  */
76     SHOW_MESSAGE_NO_SIGNATURE = 277, /* SHOW_MESSAGE_NO_SIGNATURE  */
77     SHOW_EOL = 278,                /* SHOW_EOL  */
78     SHOW_QUESTION_MARK = 279,      /* SHOW_QUESTION_MARK  */
79     SHOW_EXCLAMATION_MARK = 280,   /* SHOW_EXCLAMATION_MARK  */
80     SHOW_PIPE = 281,               /* SHOW_PIPE  */
81     SHOW_OPARENT = 282,            /* SHOW_OPARENT  */
82     SHOW_CPARENT = 283,            /* SHOW_CPARENT  */
83     SHOW_ACCOUNT_FULL_NAME = 284,  /* SHOW_ACCOUNT_FULL_NAME  */
84     SHOW_ACCOUNT_MAIL_ADDRESS = 285, /* SHOW_ACCOUNT_MAIL_ADDRESS  */
85     SHOW_ACCOUNT_NAME = 286,       /* SHOW_ACCOUNT_NAME  */
86     SHOW_ACCOUNT_ORGANIZATION = 287, /* SHOW_ACCOUNT_ORGANIZATION  */
87     SHOW_ACCOUNT_DICT = 288,       /* SHOW_ACCOUNT_DICT  */
88     SHOW_ACCOUNT_SIG = 289,        /* SHOW_ACCOUNT_SIG  */
89     SHOW_ACCOUNT_SIGPATH = 290,    /* SHOW_ACCOUNT_SIGPATH  */
90     SHOW_DICT = 291,               /* SHOW_DICT  */
91     SHOW_TAGS = 292,               /* SHOW_TAGS  */
92     SHOW_ADDRESSBOOK_COMPLETION_FOR_CC = 293, /* SHOW_ADDRESSBOOK_COMPLETION_FOR_CC  */
93     SHOW_ADDRESSBOOK_COMPLETION_FOR_FROM = 294, /* SHOW_ADDRESSBOOK_COMPLETION_FOR_FROM  */
94     SHOW_ADDRESSBOOK_COMPLETION_FOR_TO = 295, /* SHOW_ADDRESSBOOK_COMPLETION_FOR_TO  */
95     QUERY_DATE = 296,              /* QUERY_DATE  */
96     QUERY_FROM = 297,              /* QUERY_FROM  */
97     QUERY_FULLNAME = 298,          /* QUERY_FULLNAME  */
98     QUERY_SUBJECT = 299,           /* QUERY_SUBJECT  */
99     QUERY_TO = 300,                /* QUERY_TO  */
100     QUERY_NEWSGROUPS = 301,        /* QUERY_NEWSGROUPS  */
101     QUERY_MESSAGEID = 302,         /* QUERY_MESSAGEID  */
102     QUERY_CC = 303,                /* QUERY_CC  */
103     QUERY_REFERENCES = 304,        /* QUERY_REFERENCES  */
104     QUERY_ACCOUNT_FULL_NAME = 305, /* QUERY_ACCOUNT_FULL_NAME  */
105     QUERY_ACCOUNT_ORGANIZATION = 306, /* QUERY_ACCOUNT_ORGANIZATION  */
106     QUERY_ACCOUNT_DICT = 307,      /* QUERY_ACCOUNT_DICT  */
107     QUERY_ACCOUNT_SIG = 308,       /* QUERY_ACCOUNT_SIG  */
108     QUERY_ACCOUNT_SIGPATH = 309,   /* QUERY_ACCOUNT_SIGPATH  */
109     QUERY_DICT = 310,              /* QUERY_DICT  */
110     QUERY_CC_FOUND_IN_ADDRESSBOOK = 311, /* QUERY_CC_FOUND_IN_ADDRESSBOOK  */
111     QUERY_FROM_FOUND_IN_ADDRESSBOOK = 312, /* QUERY_FROM_FOUND_IN_ADDRESSBOOK  */
112     QUERY_TO_FOUND_IN_ADDRESSBOOK = 313, /* QUERY_TO_FOUND_IN_ADDRESSBOOK  */
113     QUERY_NOT_DATE = 314,          /* QUERY_NOT_DATE  */
114     QUERY_NOT_FROM = 315,          /* QUERY_NOT_FROM  */
115     QUERY_NOT_FULLNAME = 316,      /* QUERY_NOT_FULLNAME  */
116     QUERY_NOT_SUBJECT = 317,       /* QUERY_NOT_SUBJECT  */
117     QUERY_NOT_TO = 318,            /* QUERY_NOT_TO  */
118     QUERY_NOT_NEWSGROUPS = 319,    /* QUERY_NOT_NEWSGROUPS  */
119     QUERY_NOT_MESSAGEID = 320,     /* QUERY_NOT_MESSAGEID  */
120     QUERY_NOT_CC = 321,            /* QUERY_NOT_CC  */
121     QUERY_NOT_REFERENCES = 322,    /* QUERY_NOT_REFERENCES  */
122     QUERY_NOT_ACCOUNT_FULL_NAME = 323, /* QUERY_NOT_ACCOUNT_FULL_NAME  */
123     QUERY_NOT_ACCOUNT_ORGANIZATION = 324, /* QUERY_NOT_ACCOUNT_ORGANIZATION  */
124     QUERY_NOT_ACCOUNT_DICT = 325,  /* QUERY_NOT_ACCOUNT_DICT  */
125     QUERY_NOT_ACCOUNT_SIG = 326,   /* QUERY_NOT_ACCOUNT_SIG  */
126     QUERY_NOT_ACCOUNT_SIGPATH = 327, /* QUERY_NOT_ACCOUNT_SIGPATH  */
127     QUERY_NOT_DICT = 328,          /* QUERY_NOT_DICT  */
128     QUERY_NOT_CC_FOUND_IN_ADDRESSBOOK = 329, /* QUERY_NOT_CC_FOUND_IN_ADDRESSBOOK  */
129     QUERY_NOT_FROM_FOUND_IN_ADDRESSBOOK = 330, /* QUERY_NOT_FROM_FOUND_IN_ADDRESSBOOK  */
130     QUERY_NOT_TO_FOUND_IN_ADDRESSBOOK = 331, /* QUERY_NOT_TO_FOUND_IN_ADDRESSBOOK  */
131     INSERT_FILE = 332,             /* INSERT_FILE  */
132     INSERT_PROGRAMOUTPUT = 333,    /* INSERT_PROGRAMOUTPUT  */
133     INSERT_USERINPUT = 334,        /* INSERT_USERINPUT  */
134     ATTACH_FILE = 335,             /* ATTACH_FILE  */
135     ATTACH_PROGRAMOUTPUT = 336,    /* ATTACH_PROGRAMOUTPUT  */
136     OPARENT = 337,                 /* OPARENT  */
137     CPARENT = 338,                 /* CPARENT  */
138     CHARACTER = 339,               /* CHARACTER  */
139     SHOW_DATE_EXPR = 340,          /* SHOW_DATE_EXPR  */
140     SET_CURSOR_POS = 341           /* SET_CURSOR_POS  */
141   };
142   typedef enum yytokentype yytoken_kind_t;
143 #endif
144 /* Token kinds.  */
145 #define YYEMPTY -2
146 #define YYEOF 0
147 #define YYerror 256
148 #define YYUNDEF 257
149 #define SHOW_NEWSGROUPS 258
150 #define SHOW_DATE 259
151 #define SHOW_FROM 260
152 #define SHOW_FULLNAME 261
153 #define SHOW_FIRST_NAME 262
154 #define SHOW_LAST_NAME 263
155 #define SHOW_SENDER_INITIAL 264
156 #define SHOW_SUBJECT 265
157 #define SHOW_TO 266
158 #define SHOW_MESSAGEID 267
159 #define SHOW_PERCENT 268
160 #define SHOW_CC 269
161 #define SHOW_REFERENCES 270
162 #define SHOW_MESSAGE 271
163 #define SHOW_QUOTED_MESSAGE 272
164 #define SHOW_BACKSLASH 273
165 #define SHOW_TAB 274
166 #define SHOW_MAIL_ADDRESS 275
167 #define SHOW_QUOTED_MESSAGE_NO_SIGNATURE 276
168 #define SHOW_MESSAGE_NO_SIGNATURE 277
169 #define SHOW_EOL 278
170 #define SHOW_QUESTION_MARK 279
171 #define SHOW_EXCLAMATION_MARK 280
172 #define SHOW_PIPE 281
173 #define SHOW_OPARENT 282
174 #define SHOW_CPARENT 283
175 #define SHOW_ACCOUNT_FULL_NAME 284
176 #define SHOW_ACCOUNT_MAIL_ADDRESS 285
177 #define SHOW_ACCOUNT_NAME 286
178 #define SHOW_ACCOUNT_ORGANIZATION 287
179 #define SHOW_ACCOUNT_DICT 288
180 #define SHOW_ACCOUNT_SIG 289
181 #define SHOW_ACCOUNT_SIGPATH 290
182 #define SHOW_DICT 291
183 #define SHOW_TAGS 292
184 #define SHOW_ADDRESSBOOK_COMPLETION_FOR_CC 293
185 #define SHOW_ADDRESSBOOK_COMPLETION_FOR_FROM 294
186 #define SHOW_ADDRESSBOOK_COMPLETION_FOR_TO 295
187 #define QUERY_DATE 296
188 #define QUERY_FROM 297
189 #define QUERY_FULLNAME 298
190 #define QUERY_SUBJECT 299
191 #define QUERY_TO 300
192 #define QUERY_NEWSGROUPS 301
193 #define QUERY_MESSAGEID 302
194 #define QUERY_CC 303
195 #define QUERY_REFERENCES 304
196 #define QUERY_ACCOUNT_FULL_NAME 305
197 #define QUERY_ACCOUNT_ORGANIZATION 306
198 #define QUERY_ACCOUNT_DICT 307
199 #define QUERY_ACCOUNT_SIG 308
200 #define QUERY_ACCOUNT_SIGPATH 309
201 #define QUERY_DICT 310
202 #define QUERY_CC_FOUND_IN_ADDRESSBOOK 311
203 #define QUERY_FROM_FOUND_IN_ADDRESSBOOK 312
204 #define QUERY_TO_FOUND_IN_ADDRESSBOOK 313
205 #define QUERY_NOT_DATE 314
206 #define QUERY_NOT_FROM 315
207 #define QUERY_NOT_FULLNAME 316
208 #define QUERY_NOT_SUBJECT 317
209 #define QUERY_NOT_TO 318
210 #define QUERY_NOT_NEWSGROUPS 319
211 #define QUERY_NOT_MESSAGEID 320
212 #define QUERY_NOT_CC 321
213 #define QUERY_NOT_REFERENCES 322
214 #define QUERY_NOT_ACCOUNT_FULL_NAME 323
215 #define QUERY_NOT_ACCOUNT_ORGANIZATION 324
216 #define QUERY_NOT_ACCOUNT_DICT 325
217 #define QUERY_NOT_ACCOUNT_SIG 326
218 #define QUERY_NOT_ACCOUNT_SIGPATH 327
219 #define QUERY_NOT_DICT 328
220 #define QUERY_NOT_CC_FOUND_IN_ADDRESSBOOK 329
221 #define QUERY_NOT_FROM_FOUND_IN_ADDRESSBOOK 330
222 #define QUERY_NOT_TO_FOUND_IN_ADDRESSBOOK 331
223 #define INSERT_FILE 332
224 #define INSERT_PROGRAMOUTPUT 333
225 #define INSERT_USERINPUT 334
226 #define ATTACH_FILE 335
227 #define ATTACH_PROGRAMOUTPUT 336
228 #define OPARENT 337
229 #define CPARENT 338
230 #define CHARACTER 339
231 #define SHOW_DATE_EXPR 340
232 #define SET_CURSOR_POS 341
233 
234 /* Value type.  */
235 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
236 union YYSTYPE
237 {
238 #line 622 "quote_fmt_parse.y"
239 
240 	char chr;
241 	char str[256];
242 
243 #line 244 "quote_fmt_parse.h"
244 
245 };
246 typedef union YYSTYPE YYSTYPE;
247 # define YYSTYPE_IS_TRIVIAL 1
248 # define YYSTYPE_IS_DECLARED 1
249 #endif
250 
251 
252 extern YYSTYPE yylval;
253 
254 int yyparse (void);
255 
256 #endif /* !YY_YY_QUOTE_FMT_PARSE_H_INCLUDED  */
257