Skip to content

Instantly share code, notes, and snippets.

@shreyaspotnis
Created February 5, 2013 04:25
Show Gist options
  • Save shreyaspotnis/4712158 to your computer and use it in GitHub Desktop.
Save shreyaspotnis/4712158 to your computer and use it in GitHub Desktop.
goomsl_yacc.h on my arch laptop
/* A Bison parser, made by GNU Bison 2.7. */
/* Bison interface for Yacc-like parsers in C
Copyright (C) 1984, 1989-1990, 2000-2012 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 3 of the License, 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, see <http://www.gnu.org/licenses/>. */
/* 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. */
#ifndef YY_YY_HOME_SHREYAS_GITHUB_LIBVISUAL_LIBVISUAL_PLUGINS_PLUGINS_ACTOR_GOOM2K4_GOOMSL_YACC_H_INCLUDED
# define YY_YY_HOME_SHREYAS_GITHUB_LIBVISUAL_LIBVISUAL_PLUGINS_PLUGINS_ACTOR_GOOM2K4_GOOMSL_YACC_H_INCLUDED
/* Enabling traces. */
#ifndef YYDEBUG
# define YYDEBUG 0
#endif
#if YYDEBUG
extern int yydebug;
#endif
/* Tokens. */
#ifndef YYTOKENTYPE
# define YYTOKENTYPE
/* Put the tokens into the symbol table, so that GDB and other debuggers
know about them. */
enum yytokentype {
LTYPE_INTEGER = 258,
LTYPE_FLOAT = 259,
LTYPE_VAR = 260,
LTYPE_PTR = 261,
PTR_TK = 262,
INT_TK = 263,
FLOAT_TK = 264,
DECLARE = 265,
EXTERNAL = 266,
WHILE = 267,
DO = 268,
NOT = 269,
PLUS_EQ = 270,
SUB_EQ = 271,
DIV_EQ = 272,
MUL_EQ = 273,
SUP_EQ = 274,
LOW_EQ = 275,
NOT_EQ = 276,
STRUCT = 277,
FOR = 278,
IN = 279
};
#endif
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
typedef union YYSTYPE
{
/* Line 2058 of yacc.c */
#line 1210 "goomsl_yacc.y"
int intValue;
float floatValue;
char charValue;
char strValue[2048];
NodeType *nPtr;
GoomHash *namespace;
GSL_Struct *gsl_struct;
GSL_StructField *gsl_struct_field;
/* Line 2058 of yacc.c */
#line 93 "/home/shreyas/github/libvisual/libvisual-plugins/plugins/actor/goom2k4/goomsl_yacc.h"
} YYSTYPE;
# define YYSTYPE_IS_TRIVIAL 1
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
# define YYSTYPE_IS_DECLARED 1
#endif
extern YYSTYPE yylval;
#ifdef YYPARSE_PARAM
#if defined __STDC__ || defined __cplusplus
int yyparse (void *YYPARSE_PARAM);
#else
int yyparse ();
#endif
#else /* ! YYPARSE_PARAM */
#if defined __STDC__ || defined __cplusplus
int yyparse (void);
#else
int yyparse ();
#endif
#endif /* ! YYPARSE_PARAM */
#endif /* !YY_YY_HOME_SHREYAS_GITHUB_LIBVISUAL_LIBVISUAL_PLUGINS_PLUGINS_ACTOR_GOOM2K4_GOOMSL_YACC_H_INCLUDED */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment