2020-01-22 15:54:25 +00:00
|
|
|
/* A Bison parser, made by GNU Bison 3.5. */
|
2002-11-24 01:06:46 +00:00
|
|
|
|
2014-06-15 21:38:40 +00:00
|
|
|
/* Bison interface for Yacc-like parsers in C
|
2020-01-22 15:54:25 +00:00
|
|
|
|
|
|
|
Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation,
|
|
|
|
Inc.
|
|
|
|
|
2011-02-22 20:59:10 +00:00
|
|
|
This program is free software: you can redistribute it and/or modify
|
2003-02-13 00:16:12 +00:00
|
|
|
it under the terms of the GNU General Public License as published by
|
2011-02-22 20:59:10 +00:00
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
2020-01-22 15:54:25 +00:00
|
|
|
|
2003-02-13 00:16:12 +00:00
|
|
|
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.
|
2020-01-22 15:54:25 +00:00
|
|
|
|
2003-02-13 00:16:12 +00:00
|
|
|
You should have received a copy of the GNU General Public License
|
2011-02-22 20:59:10 +00:00
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
2011-01-03 08:25:42 +00:00
|
|
|
|
|
|
|
/* As a special exception, you may create a larger work that contains
|
|
|
|
part or all of the Bison parser skeleton and distribute that work
|
|
|
|
under terms of your choice, so long as that work isn't itself a
|
|
|
|
parser generator using the skeleton or a modified version thereof
|
|
|
|
as a parser skeleton. Alternatively, if you modify or redistribute
|
|
|
|
the parser skeleton itself, you may (at your option) remove this
|
|
|
|
special exception, which will cause the skeleton and the resulting
|
|
|
|
Bison output files to be licensed under the GNU General Public
|
|
|
|
License without this special exception.
|
2020-01-22 15:54:25 +00:00
|
|
|
|
2011-01-03 08:25:42 +00:00
|
|
|
This special exception was added by the Free Software Foundation in
|
|
|
|
version 2.2 of Bison. */
|
2003-07-15 22:19:34 +00:00
|
|
|
|
2020-01-22 15:54:25 +00:00
|
|
|
/* Undocumented macros, especially those whose name start with YY_,
|
|
|
|
are private implementation details. Do not rely on them. */
|
|
|
|
|
2014-06-15 21:38:40 +00:00
|
|
|
#ifndef YY_GSRTF_RTFGRAMMAR_TAB_H_INCLUDED
|
|
|
|
# define YY_GSRTF_RTFGRAMMAR_TAB_H_INCLUDED
|
2020-01-22 15:54:25 +00:00
|
|
|
/* Debug traces. */
|
2014-06-15 21:38:40 +00:00
|
|
|
#ifndef YYDEBUG
|
|
|
|
# define YYDEBUG 0
|
|
|
|
#endif
|
|
|
|
#if YYDEBUG
|
|
|
|
extern int GSRTFdebug;
|
|
|
|
#endif
|
2011-02-22 20:59:10 +00:00
|
|
|
|
2020-01-22 15:54:25 +00:00
|
|
|
/* Token type. */
|
2003-02-13 00:16:12 +00:00
|
|
|
#ifndef YYTOKENTYPE
|
|
|
|
# define YYTOKENTYPE
|
2020-01-22 15:54:25 +00:00
|
|
|
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,
|
|
|
|
RTFfield = 282,
|
|
|
|
RTFfldinst = 283,
|
|
|
|
RTFfldalt = 284,
|
|
|
|
RTFfldrslt = 285,
|
|
|
|
RTFflddirty = 286,
|
|
|
|
RTFfldedit = 287,
|
|
|
|
RTFfldlock = 288,
|
|
|
|
RTFfldpriv = 289,
|
|
|
|
RTFfttruetype = 290,
|
|
|
|
RTFlquote = 291,
|
|
|
|
RTFrquote = 292,
|
|
|
|
RTFldblquote = 293,
|
|
|
|
RTFrdblquote = 294,
|
|
|
|
RTFred = 295,
|
|
|
|
RTFgreen = 296,
|
|
|
|
RTFblue = 297,
|
|
|
|
RTFcolorbg = 298,
|
|
|
|
RTFcolorfg = 299,
|
|
|
|
RTFunderlinecolor = 300,
|
|
|
|
RTFcolortable = 301,
|
|
|
|
RTFfont = 302,
|
|
|
|
RTFfontSize = 303,
|
|
|
|
RTFNeXTGraphic = 304,
|
|
|
|
RTFNeXTGraphicWidth = 305,
|
|
|
|
RTFNeXTGraphicHeight = 306,
|
|
|
|
RTFNeXTHelpLink = 307,
|
|
|
|
RTFNeXTHelpMarker = 308,
|
|
|
|
RTFNeXTfilename = 309,
|
|
|
|
RTFNeXTmarkername = 310,
|
|
|
|
RTFNeXTlinkFilename = 311,
|
|
|
|
RTFNeXTlinkMarkername = 312,
|
|
|
|
RTFpaperWidth = 313,
|
|
|
|
RTFpaperHeight = 314,
|
|
|
|
RTFmarginLeft = 315,
|
|
|
|
RTFmarginRight = 316,
|
|
|
|
RTFmarginTop = 317,
|
|
|
|
RTFmarginButtom = 318,
|
|
|
|
RTFfirstLineIndent = 319,
|
|
|
|
RTFleftIndent = 320,
|
|
|
|
RTFrightIndent = 321,
|
|
|
|
RTFalignCenter = 322,
|
|
|
|
RTFalignJustified = 323,
|
|
|
|
RTFalignLeft = 324,
|
|
|
|
RTFalignRight = 325,
|
|
|
|
RTFlineSpace = 326,
|
|
|
|
RTFspaceAbove = 327,
|
|
|
|
RTFstyle = 328,
|
|
|
|
RTFbold = 329,
|
|
|
|
RTFitalic = 330,
|
|
|
|
RTFunderline = 331,
|
|
|
|
RTFunderlineDot = 332,
|
|
|
|
RTFunderlineDash = 333,
|
|
|
|
RTFunderlineDashDot = 334,
|
|
|
|
RTFunderlineDashDotDot = 335,
|
|
|
|
RTFunderlineDouble = 336,
|
|
|
|
RTFunderlineStop = 337,
|
|
|
|
RTFunderlineThick = 338,
|
|
|
|
RTFunderlineThickDot = 339,
|
|
|
|
RTFunderlineThickDash = 340,
|
|
|
|
RTFunderlineThickDashDot = 341,
|
|
|
|
RTFunderlineThickDashDotDot = 342,
|
|
|
|
RTFunderlineWord = 343,
|
|
|
|
RTFstrikethrough = 344,
|
|
|
|
RTFstrikethroughDouble = 345,
|
|
|
|
RTFunichar = 346,
|
|
|
|
RTFsubscript = 347,
|
|
|
|
RTFsuperscript = 348,
|
|
|
|
RTFtabstop = 349,
|
|
|
|
RTFfcharset = 350,
|
|
|
|
RTFfprq = 351,
|
|
|
|
RTFcpg = 352,
|
|
|
|
RTFansicpg = 353,
|
|
|
|
RTFOtherStatement = 354,
|
|
|
|
RTFfontListStart = 355,
|
|
|
|
RTFfamilyNil = 356,
|
|
|
|
RTFfamilyRoman = 357,
|
|
|
|
RTFfamilySwiss = 358,
|
|
|
|
RTFfamilyModern = 359,
|
|
|
|
RTFfamilyScript = 360,
|
|
|
|
RTFfamilyDecor = 361,
|
|
|
|
RTFfamilyTech = 362,
|
|
|
|
RTFfamilyBiDi = 363
|
|
|
|
};
|
2003-02-13 00:16:12 +00:00
|
|
|
#endif
|
2003-07-15 22:19:34 +00:00
|
|
|
|
2020-01-22 15:54:25 +00:00
|
|
|
/* Value type. */
|
2011-01-03 08:25:42 +00:00
|
|
|
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
2020-01-22 15:54:25 +00:00
|
|
|
union YYSTYPE
|
2011-01-03 08:25:42 +00:00
|
|
|
{
|
2020-01-22 15:54:25 +00:00
|
|
|
#line 82 "rtfGrammar.y"
|
2011-02-22 20:59:10 +00:00
|
|
|
|
2000-06-24 22:10:09 +00:00
|
|
|
int number;
|
1999-12-16 22:56:45 +00:00
|
|
|
const char *text;
|
|
|
|
RTFcmd cmd;
|
2011-02-22 20:59:10 +00:00
|
|
|
|
2020-01-22 15:54:25 +00:00
|
|
|
#line 172 "rtfGrammar.tab.h"
|
2011-02-22 20:59:10 +00:00
|
|
|
|
2020-01-22 15:54:25 +00:00
|
|
|
};
|
|
|
|
typedef union YYSTYPE YYSTYPE;
|
2011-02-22 20:59:10 +00:00
|
|
|
# define YYSTYPE_IS_TRIVIAL 1
|
2011-01-03 08:25:42 +00:00
|
|
|
# define YYSTYPE_IS_DECLARED 1
|
1999-12-16 22:56:45 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2020-01-22 15:54:25 +00:00
|
|
|
|
2014-06-15 21:38:40 +00:00
|
|
|
int GSRTFparse (void *ctxt, void *lctxt);
|
2003-02-13 00:16:12 +00:00
|
|
|
|
2014-06-15 21:38:40 +00:00
|
|
|
#endif /* !YY_GSRTF_RTFGRAMMAR_TAB_H_INCLUDED */
|