SCDoc: Use proper static string constants instead of comparing string literals.
[supercollider.git] / SCDoc / SCDoc.tab.hpp
blob2d798104b175893f700bd3b60f00893727bee118
2 /* A Bison parser, made by GNU Bison 2.4.1. */
4 /* Skeleton interface for Bison's Yacc-like parsers in C
6 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
7 Free Software Foundation, Inc.
9 This program is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>. */
22 /* As a special exception, you may create a larger work that contains
23 part or all of the Bison parser skeleton and distribute that work
24 under terms of your choice, so long as that work isn't itself a
25 parser generator using the skeleton or a modified version thereof
26 as a parser skeleton. Alternatively, if you modify or redistribute
27 the parser skeleton itself, you may (at your option) remove this
28 special exception, which will cause the skeleton and the resulting
29 Bison output files to be licensed under the GNU General Public
30 License without this special exception.
32 This special exception was added by the Free Software Foundation in
33 version 2.2 of Bison. */
36 /* Tokens. */
37 #ifndef YYTOKENTYPE
38 # define YYTOKENTYPE
39 /* Put the tokens into the symbol table, so that GDB and other debuggers
40 know about them. */
41 enum yytokentype {
42 END = 0,
43 CLASS = 258,
44 TITLE = 259,
45 SUMMARY = 260,
46 RELATED = 261,
47 CATEGORIES = 262,
48 REDIRECT = 263,
49 CLASSTREE = 264,
50 COPYMETHOD = 265,
51 KEYWORD = 266,
52 PRIVATE = 267,
53 SECTION = 268,
54 SUBSECTION = 269,
55 METHOD = 270,
56 ARGUMENT = 271,
57 DESCRIPTION = 272,
58 CLASSMETHODS = 273,
59 INSTANCEMETHODS = 274,
60 EXAMPLES = 275,
61 RETURNS = 276,
62 DISCUSSION = 277,
63 LIST = 278,
64 TREE = 279,
65 NUMBEREDLIST = 280,
66 DEFINITIONLIST = 281,
67 TABLE = 282,
68 FOOTNOTE = 283,
69 NOTE = 284,
70 WARNING = 285,
71 CODE = 286,
72 LINK = 287,
73 ANCHOR = 288,
74 SOFT = 289,
75 IMAGE = 290,
76 TELETYPE = 291,
77 MATH = 292,
78 STRONG = 293,
79 EMPHASIS = 294,
80 CODEBLOCK = 295,
81 TELETYPEBLOCK = 296,
82 MATHBLOCK = 297,
83 TAGSYM = 298,
84 BARS = 299,
85 HASHES = 300,
86 TEXT = 301,
87 URL = 302,
88 COMMA = 303,
89 METHODNAME = 304,
90 METHODARGS = 305,
91 NEWLINE = 306,
92 EMPTYLINES = 307,
93 BAD_METHODNAME = 308,
94 START_FULL = 309,
95 START_PARTIAL = 310,
96 START_METADATA = 311
98 #endif
102 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
103 typedef union YYSTYPE
106 /* Line 1676 of yacc.c */
107 #line 50 "SCDoc.y"
109 int i;
110 const char *id;
111 char *str;
112 DocNode *doc_node;
116 /* Line 1676 of yacc.c */
117 #line 118 "SCDoc.tab.hpp"
118 } YYSTYPE;
119 # define YYSTYPE_IS_TRIVIAL 1
120 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
121 # define YYSTYPE_IS_DECLARED 1
122 #endif
124 extern YYSTYPE scdoclval;
126 #if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
127 typedef struct YYLTYPE
129 int first_line;
130 int first_column;
131 int last_line;
132 int last_column;
133 } YYLTYPE;
134 # define yyltype YYLTYPE /* obsolescent; will be withdrawn */
135 # define YYLTYPE_IS_DECLARED 1
136 # define YYLTYPE_IS_TRIVIAL 1
137 #endif
139 extern YYLTYPE scdoclloc;