1 /* A Bison parser, made by GNU Bison 3.5. */ 2 3 /* Bison interface for Yacc-like parsers in C 4 5 Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 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 /* Undocumented macros, especially those whose name start with YY_, 35 are private implementation details. Do not rely on them. */ 36 37 #ifndef YY_GSRTF_RTFGRAMMAR_TAB_H_INCLUDED 38 # define YY_GSRTF_RTFGRAMMAR_TAB_H_INCLUDED 39 /* Debug traces. */ 40 #ifndef YYDEBUG 41 # define YYDEBUG 0 42 #endif 43 #if YYDEBUG 44 extern int GSRTFdebug; 45 #endif 46 47 /* Token type. */ 48 #ifndef YYTOKENTYPE 49 # define YYTOKENTYPE 50 enum yytokentype 51 { 52 RTFtext = 258, 53 RTFstart = 259, 54 RTFansi = 260, 55 RTFmac = 261, 56 RTFpc = 262, 57 RTFpca = 263, 58 RTFignore = 264, 59 RTFinfo = 265, 60 RTFstylesheet = 266, 61 RTFfootnote = 267, 62 RTFheader = 268, 63 RTFfooter = 269, 64 RTFpict = 270, 65 RTFplain = 271, 66 RTFparagraph = 272, 67 RTFdefaultParagraph = 273, 68 RTFrow = 274, 69 RTFcell = 275, 70 RTFtabulator = 276, 71 RTFemdash = 277, 72 RTFendash = 278, 73 RTFemspace = 279, 74 RTFenspace = 280, 75 RTFbullet = 281, 76 RTFfield = 282, 77 RTFfldinst = 283, 78 RTFfldalt = 284, 79 RTFfldrslt = 285, 80 RTFflddirty = 286, 81 RTFfldedit = 287, 82 RTFfldlock = 288, 83 RTFfldpriv = 289, 84 RTFfttruetype = 290, 85 RTFlquote = 291, 86 RTFrquote = 292, 87 RTFldblquote = 293, 88 RTFrdblquote = 294, 89 RTFred = 295, 90 RTFgreen = 296, 91 RTFblue = 297, 92 RTFcolorbg = 298, 93 RTFcolorfg = 299, 94 RTFunderlinecolor = 300, 95 RTFcolortable = 301, 96 RTFfont = 302, 97 RTFfontSize = 303, 98 RTFNeXTGraphic = 304, 99 RTFNeXTGraphicWidth = 305, 100 RTFNeXTGraphicHeight = 306, 101 RTFNeXTHelpLink = 307, 102 RTFNeXTHelpMarker = 308, 103 RTFNeXTfilename = 309, 104 RTFNeXTmarkername = 310, 105 RTFNeXTlinkFilename = 311, 106 RTFNeXTlinkMarkername = 312, 107 RTFpaperWidth = 313, 108 RTFpaperHeight = 314, 109 RTFmarginLeft = 315, 110 RTFmarginRight = 316, 111 RTFmarginTop = 317, 112 RTFmarginButtom = 318, 113 RTFfirstLineIndent = 319, 114 RTFleftIndent = 320, 115 RTFrightIndent = 321, 116 RTFalignCenter = 322, 117 RTFalignJustified = 323, 118 RTFalignLeft = 324, 119 RTFalignRight = 325, 120 RTFlineSpace = 326, 121 RTFspaceAbove = 327, 122 RTFstyle = 328, 123 RTFbold = 329, 124 RTFitalic = 330, 125 RTFunderline = 331, 126 RTFunderlineDot = 332, 127 RTFunderlineDash = 333, 128 RTFunderlineDashDot = 334, 129 RTFunderlineDashDotDot = 335, 130 RTFunderlineDouble = 336, 131 RTFunderlineStop = 337, 132 RTFunderlineThick = 338, 133 RTFunderlineThickDot = 339, 134 RTFunderlineThickDash = 340, 135 RTFunderlineThickDashDot = 341, 136 RTFunderlineThickDashDotDot = 342, 137 RTFunderlineWord = 343, 138 RTFstrikethrough = 344, 139 RTFstrikethroughDouble = 345, 140 RTFunichar = 346, 141 RTFsubscript = 347, 142 RTFsuperscript = 348, 143 RTFtabstop = 349, 144 RTFfcharset = 350, 145 RTFfprq = 351, 146 RTFcpg = 352, 147 RTFansicpg = 353, 148 RTFOtherStatement = 354, 149 RTFfontListStart = 355, 150 RTFfamilyNil = 356, 151 RTFfamilyRoman = 357, 152 RTFfamilySwiss = 358, 153 RTFfamilyModern = 359, 154 RTFfamilyScript = 360, 155 RTFfamilyDecor = 361, 156 RTFfamilyTech = 362, 157 RTFfamilyBiDi = 363 158 }; 159 #endif 160 161 /* Value type. */ 162 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED 163 union YYSTYPE 164 { 165 #line 82 "rtfGrammar.y" 166 167 int number; 168 const char *text; 169 RTFcmd cmd; 170 171 #line 172 "rtfGrammar.tab.h" 172 173 }; 174 typedef union YYSTYPE YYSTYPE; 175 # define YYSTYPE_IS_TRIVIAL 1 176 # define YYSTYPE_IS_DECLARED 1 177 #endif 178 179 180 181 int GSRTFparse (void *ctxt, void *lctxt); 182 183 #endif /* !YY_GSRTF_RTFGRAMMAR_TAB_H_INCLUDED */ 184