Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81319 / golang2html_code_fold / parser.tab.h
diff options
context:
space:
mode:
Commitceb31e1ce115a7c9a6f0cc365beeb1214b246622 (patch)
Author
 Georgi Stefanov <geosteffanov@gmail.com>
2018-11-03 22:13:19 +0200
Committer
 Martin Dobrev <martindobrev0@gmail.com>
2018-11-03 22:13:19 +0200
Files6341efed7f3f5a0208279ac0207d138503fa5e2a /homework/81319/golang2html_code_fold/parser.tab.h
IPL-ceb31e1ce115a7c9a6f0cc365beeb1214b246622.tar
IPL-ceb31e1ce115a7c9a6f0cc365beeb1214b246622.tar.gz
IPL-ceb31e1ce115a7c9a6f0cc365beeb1214b246622.zip
Parent9557d0cb5a1b3aa9466ddc504be004b5449ce9f2 (diff)
Add foldable blocks in Golang 2 highlighter (#33)
* initial commit * Add implementation using concatenation * Added block collapsing * Finish block collapsing * Fix nested blocks and + -> - when collapsing * Remove unnecessary files. * Add readme
1 files changed, 84 insertions, 0 deletions
-rw-r--r--homework/81319/golang2html_code_fold/parser.tab.h84
diff --git a/homework/81319/golang2html_code_fold/parser.tab.h b/homework/81319/golang2html_code_fold/parser.tab.h
new file mode 100644
index 0000000..d04ac31
--- /dev/null
+++ b/homework/81319/golang2html_code_fold/parser.tab.h
@@ -0,0 +1,84 @@
+/* A Bison parser, made by GNU Bison 2.3. */
+
+/* Skeleton interface for Bison's Yacc-like parsers in C
+
+ Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+ 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
+ Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA. */
+
+/* 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.
+
+ This special exception was added by the Free Software Foundation in
+ version 2.2 of Bison. */
+
+/* Tokens. */
+#ifndef YYTOKENTYPE
+# define YYTOKENTYPE
+ /* Put the tokens into the symbol table, so that GDB and other debuggers
+ know about them. */
+ enum yytokentype {
+ NUMBER = 258,
+ KEYWORD = 259,
+ STRING = 260,
+ STRING_DQ = 261,
+ IDENTIFIER = 262,
+ OPERATOR = 263,
+ MISC = 264,
+ UNRECOGNIZED = 265,
+ LCURLY = 266,
+ RCURLY = 267
+ };
+#endif
+/* Tokens. */
+#define NUMBER 258
+#define KEYWORD 259
+#define STRING 260
+#define STRING_DQ 261
+#define IDENTIFIER 262
+#define OPERATOR 263
+#define MISC 264
+#define UNRECOGNIZED 265
+#define LCURLY 266
+#define RCURLY 267
+
+
+
+
+#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
+typedef union YYSTYPE
+#line 154 "parser.y"
+{
+ char* strval;
+}
+/* Line 1529 of yacc.c. */
+#line 77 "parser.tab.h"
+ YYSTYPE;
+# define yystype YYSTYPE /* obsolescent; will be withdrawn */
+# define YYSTYPE_IS_DECLARED 1
+# define YYSTYPE_IS_TRIVIAL 1
+#endif
+
+extern YYSTYPE yylval;
+