2003-07-15 22:19:34 +00:00
|
|
|
/* A Bison parser, made from rtfGrammer.y, by GNU bison 1.75. */
|
2002-11-24 01:06:46 +00:00
|
|
|
|
2003-02-13 00:16:12 +00:00
|
|
|
/* Skeleton parser for Yacc-like parsing with Bison,
|
|
|
|
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc.
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2, or (at your option)
|
|
|
|
any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
2006-05-11 21:03:21 +00:00
|
|
|
Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
Boston, MA 02111-1307, USA. */
|
2003-02-13 00:16:12 +00:00
|
|
|
|
|
|
|
/* As a special exception, when this file is copied by Bison into a
|
|
|
|
Bison output file, you may use that output file without restriction.
|
|
|
|
This special exception was added by the Free Software Foundation
|
|
|
|
in version 1.24 of Bison. */
|
|
|
|
|
2003-07-15 22:19:34 +00:00
|
|
|
#ifndef BISON_RTFGRAMMER_TAB_H
|
|
|
|
# define BISON_RTFGRAMMER_TAB_H
|
|
|
|
|
2003-02-13 00:16:12 +00:00
|
|
|
/* Tokens. */
|
|
|
|
#ifndef YYTOKENTYPE
|
|
|
|
# define YYTOKENTYPE
|
|
|
|
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
|
|
|
know about them. */
|
|
|
|
enum yytokentype {
|
|
|
|
RTFtext = 258,
|
|
|
|
RTFstart = 259,
|
|
|
|
RTFansi = 260,
|
|
|
|
RTFmac = 261,
|
|
|
|
RTFpc = 262,
|
|
|
|
RTFpca = 263,
|
|
|
|
RTFignore = 264,
|
|
|
|
RTFinfo = 265,
|
|
|
|
RTFstylesheet = 266,
|
|
|
|
RTFfootnote = 267,
|
|
|
|
RTFheader = 268,
|
|
|
|
RTFfooter = 269,
|
|
|
|
RTFpict = 270,
|
|
|
|
RTFplain = 271,
|
|
|
|
RTFparagraph = 272,
|
|
|
|
RTFdefaultParagraph = 273,
|
|
|
|
RTFrow = 274,
|
|
|
|
RTFcell = 275,
|
|
|
|
RTFtabulator = 276,
|
|
|
|
RTFemdash = 277,
|
|
|
|
RTFendash = 278,
|
|
|
|
RTFemspace = 279,
|
|
|
|
RTFenspace = 280,
|
|
|
|
RTFbullet = 281,
|
|
|
|
RTFlquote = 282,
|
|
|
|
RTFrquote = 283,
|
|
|
|
RTFldblquote = 284,
|
|
|
|
RTFrdblquote = 285,
|
|
|
|
RTFred = 286,
|
|
|
|
RTFgreen = 287,
|
|
|
|
RTFblue = 288,
|
|
|
|
RTFcolorbg = 289,
|
|
|
|
RTFcolorfg = 290,
|
|
|
|
RTFcolortable = 291,
|
|
|
|
RTFfont = 292,
|
|
|
|
RTFfontSize = 293,
|
2006-05-11 21:03:21 +00:00
|
|
|
RTFNeXTGraphic = 294,
|
|
|
|
RTFNeXTGraphicWidth = 295,
|
|
|
|
RTFNeXTGraphicHeight = 296,
|
|
|
|
RTFpaperWidth = 297,
|
|
|
|
RTFpaperHeight = 298,
|
|
|
|
RTFmarginLeft = 299,
|
|
|
|
RTFmarginRight = 300,
|
|
|
|
RTFmarginTop = 301,
|
|
|
|
RTFmarginButtom = 302,
|
|
|
|
RTFfirstLineIndent = 303,
|
|
|
|
RTFleftIndent = 304,
|
|
|
|
RTFrightIndent = 305,
|
|
|
|
RTFalignCenter = 306,
|
|
|
|
RTFalignJustified = 307,
|
|
|
|
RTFalignLeft = 308,
|
|
|
|
RTFalignRight = 309,
|
|
|
|
RTFlineSpace = 310,
|
|
|
|
RTFspaceAbove = 311,
|
|
|
|
RTFstyle = 312,
|
|
|
|
RTFbold = 313,
|
|
|
|
RTFitalic = 314,
|
|
|
|
RTFunderline = 315,
|
|
|
|
RTFunderlineStop = 316,
|
|
|
|
RTFunichar = 317,
|
|
|
|
RTFsubscript = 318,
|
|
|
|
RTFsuperscript = 319,
|
|
|
|
RTFtabstop = 320,
|
|
|
|
RTFfcharset = 321,
|
|
|
|
RTFfprq = 322,
|
|
|
|
RTFcpg = 323,
|
|
|
|
RTFOtherStatement = 324,
|
|
|
|
RTFfontListStart = 325,
|
|
|
|
RTFfamilyNil = 326,
|
|
|
|
RTFfamilyRoman = 327,
|
|
|
|
RTFfamilySwiss = 328,
|
|
|
|
RTFfamilyModern = 329,
|
|
|
|
RTFfamilyScript = 330,
|
|
|
|
RTFfamilyDecor = 331,
|
|
|
|
RTFfamilyTech = 332
|
2003-02-13 00:16:12 +00:00
|
|
|
};
|
|
|
|
#endif
|
|
|
|
#define RTFtext 258
|
|
|
|
#define RTFstart 259
|
|
|
|
#define RTFansi 260
|
|
|
|
#define RTFmac 261
|
|
|
|
#define RTFpc 262
|
|
|
|
#define RTFpca 263
|
|
|
|
#define RTFignore 264
|
|
|
|
#define RTFinfo 265
|
|
|
|
#define RTFstylesheet 266
|
|
|
|
#define RTFfootnote 267
|
|
|
|
#define RTFheader 268
|
|
|
|
#define RTFfooter 269
|
|
|
|
#define RTFpict 270
|
|
|
|
#define RTFplain 271
|
|
|
|
#define RTFparagraph 272
|
|
|
|
#define RTFdefaultParagraph 273
|
|
|
|
#define RTFrow 274
|
|
|
|
#define RTFcell 275
|
|
|
|
#define RTFtabulator 276
|
|
|
|
#define RTFemdash 277
|
|
|
|
#define RTFendash 278
|
|
|
|
#define RTFemspace 279
|
|
|
|
#define RTFenspace 280
|
|
|
|
#define RTFbullet 281
|
|
|
|
#define RTFlquote 282
|
|
|
|
#define RTFrquote 283
|
|
|
|
#define RTFldblquote 284
|
|
|
|
#define RTFrdblquote 285
|
|
|
|
#define RTFred 286
|
|
|
|
#define RTFgreen 287
|
|
|
|
#define RTFblue 288
|
|
|
|
#define RTFcolorbg 289
|
|
|
|
#define RTFcolorfg 290
|
|
|
|
#define RTFcolortable 291
|
|
|
|
#define RTFfont 292
|
|
|
|
#define RTFfontSize 293
|
2006-05-11 21:03:21 +00:00
|
|
|
#define RTFNeXTGraphic 294
|
|
|
|
#define RTFNeXTGraphicWidth 295
|
|
|
|
#define RTFNeXTGraphicHeight 296
|
|
|
|
#define RTFpaperWidth 297
|
|
|
|
#define RTFpaperHeight 298
|
|
|
|
#define RTFmarginLeft 299
|
|
|
|
#define RTFmarginRight 300
|
|
|
|
#define RTFmarginTop 301
|
|
|
|
#define RTFmarginButtom 302
|
|
|
|
#define RTFfirstLineIndent 303
|
|
|
|
#define RTFleftIndent 304
|
|
|
|
#define RTFrightIndent 305
|
|
|
|
#define RTFalignCenter 306
|
|
|
|
#define RTFalignJustified 307
|
|
|
|
#define RTFalignLeft 308
|
|
|
|
#define RTFalignRight 309
|
|
|
|
#define RTFlineSpace 310
|
|
|
|
#define RTFspaceAbove 311
|
|
|
|
#define RTFstyle 312
|
|
|
|
#define RTFbold 313
|
|
|
|
#define RTFitalic 314
|
|
|
|
#define RTFunderline 315
|
|
|
|
#define RTFunderlineStop 316
|
|
|
|
#define RTFunichar 317
|
|
|
|
#define RTFsubscript 318
|
|
|
|
#define RTFsuperscript 319
|
|
|
|
#define RTFtabstop 320
|
|
|
|
#define RTFfcharset 321
|
|
|
|
#define RTFfprq 322
|
|
|
|
#define RTFcpg 323
|
|
|
|
#define RTFOtherStatement 324
|
|
|
|
#define RTFfontListStart 325
|
|
|
|
#define RTFfamilyNil 326
|
|
|
|
#define RTFfamilyRoman 327
|
|
|
|
#define RTFfamilySwiss 328
|
|
|
|
#define RTFfamilyModern 329
|
|
|
|
#define RTFfamilyScript 330
|
|
|
|
#define RTFfamilyDecor 331
|
|
|
|
#define RTFfamilyTech 332
|
2003-07-15 22:19:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef YYSTYPE
|
2003-02-13 00:16:12 +00:00
|
|
|
#line 77 "rtfGrammer.y"
|
2003-07-15 22:19:34 +00:00
|
|
|
typedef union {
|
2000-06-24 22:10:09 +00:00
|
|
|
int number;
|
1999-12-16 22:56:45 +00:00
|
|
|
const char *text;
|
|
|
|
RTFcmd cmd;
|
2003-07-15 22:19:34 +00:00
|
|
|
} yystype;
|
2006-05-11 21:03:21 +00:00
|
|
|
/* Line 1281 of /usr/local/share/bison/yacc.c. */
|
|
|
|
#line 200 "rtfGrammer.tab.h"
|
2003-07-15 22:19:34 +00:00
|
|
|
# define YYSTYPE yystype
|
1999-12-16 22:56:45 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2003-02-13 00:16:12 +00:00
|
|
|
|
|
|
|
|
2003-07-15 22:19:34 +00:00
|
|
|
#endif /* not BISON_RTFGRAMMER_TAB_H */
|
2003-02-13 00:16:12 +00:00
|
|
|
|