GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
/* A Bison parser, made by GNU Bison 2.7.12-4996. */12/* Bison interface for Yacc-like parsers in C34Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc.56This program is free software: you can redistribute it and/or modify7it under the terms of the GNU General Public License as published by8the Free Software Foundation, either version 3 of the License, or9(at your option) any later version.1011This program is distributed in the hope that it will be useful,12but WITHOUT ANY WARRANTY; without even the implied warranty of13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the14GNU General Public License for more details.1516You should have received a copy of the GNU General Public License17along with this program. If not, see <http://www.gnu.org/licenses/>. */1819/* As a special exception, you may create a larger work that contains20part or all of the Bison parser skeleton and distribute that work21under terms of your choice, so long as that work isn't itself a22parser generator using the skeleton or a modified version thereof23as a parser skeleton. Alternatively, if you modify or redistribute24the parser skeleton itself, you may (at your option) remove this25special exception, which will cause the skeleton and the resulting26Bison output files to be licensed under the GNU General Public27License without this special exception.2829This special exception was added by the Free Software Foundation in30version 2.2 of Bison. */3132#ifndef YY_YY_CALC_H_INCLUDED33# define YY_YY_CALC_H_INCLUDED34/* Enabling traces. */35#ifndef YYDEBUG36# define YYDEBUG 037#endif38#if YYDEBUG39extern int yydebug;40#endif4142/* Tokens. */43#ifndef YYTOKENTYPE44# define YYTOKENTYPE45/* Put the tokens into the symbol table, so that GDB and other debuggers46know about them. */47enum yytokentype {48EOS = 258,49BAD = 259,50HELP = 260,51HEX = 261,52DECIMAL = 262,53QUIT = 263,54ABS = 264,55BIN = 265,56FIB = 266,57GCD = 267,58KRON = 268,59LCM = 269,60LUCNUM = 270,61NEXTPRIME = 271,62POWM = 272,63ROOT = 273,64SQRT = 274,65NUMBER = 275,66VARIABLE = 276,67LOR = 277,68LAND = 278,69GE = 279,70LE = 280,71NE = 281,72EQ = 282,73RSHIFT = 283,74LSHIFT = 284,75UMINUS = 28576};77#endif78/* Tokens. */79#define EOS 25880#define BAD 25981#define HELP 26082#define HEX 26183#define DECIMAL 26284#define QUIT 26385#define ABS 26486#define BIN 26587#define FIB 26688#define GCD 26789#define KRON 26890#define LCM 26991#define LUCNUM 27092#define NEXTPRIME 27193#define POWM 27294#define ROOT 27395#define SQRT 27496#define NUMBER 27597#define VARIABLE 27698#define LOR 27799#define LAND 278100#define GE 279101#define LE 280102#define NE 281103#define EQ 282104#define RSHIFT 283105#define LSHIFT 284106#define UMINUS 285107108109110#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED111typedef union YYSTYPE112{113/* Line 2053 of yacc.c */114#line 142 "calc.y"115116char *str;117int var;118119120/* Line 2053 of yacc.c */121#line 123 "calc.h"122} YYSTYPE;123# define YYSTYPE_IS_TRIVIAL 1124# define yystype YYSTYPE /* obsolescent; will be withdrawn */125# define YYSTYPE_IS_DECLARED 1126#endif127128extern YYSTYPE yylval;129130#ifdef YYPARSE_PARAM131#if defined __STDC__ || defined __cplusplus132int yyparse (void *YYPARSE_PARAM);133#else134int yyparse ();135#endif136#else /* ! YYPARSE_PARAM */137#if defined __STDC__ || defined __cplusplus138int yyparse (void);139#else140int yyparse ();141#endif142#endif /* ! YYPARSE_PARAM */143144#endif /* !YY_YY_CALC_H_INCLUDED */145146147