X-Git-Url: https://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/5d4e3f65125a1e67702b7fbd4096d5e2fd3ec798..8445442abc02fc325a9ce228759403113583818c:/src/parse.h diff --git a/src/parse.h b/src/parse.h index 1b48a93..e07616e 100644 --- a/src/parse.h +++ b/src/parse.h @@ -1,10 +1,8 @@ +/* A Bison parser, made by GNU Bison 2.7. */ -/* A Bison parser, made by GNU Bison 2.4.1. */ - -/* Skeleton interface for Bison's Yacc-like parsers in C +/* Bison interface for Yacc-like parsers in C - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 - Free Software Foundation, Inc. + 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 @@ -32,6 +30,15 @@ This special exception was added by the Free Software Foundation in version 2.2 of Bison. */ +#ifndef YY_YY_PARSE_H_INCLUDED +# define YY_YY_PARSE_H_INCLUDED +/* Enabling traces. */ +#ifndef YYDEBUG +# define YYDEBUG 1 +#endif +#if YYDEBUG +extern int yydebug; +#endif /* Tokens. */ #ifndef YYTOKENTYPE @@ -61,35 +68,37 @@ ARRAY_DIM = 277, SINGLE_CHAR = 278, CCODE = 279, - ADCODE = 280, - HTCODE = 281, - PHCODE = 282, - HCODE = 283, - ACODE = 284, - ATCODE = 285, - STRING = 286, - PUBLIC = 287, - PRIVATE = 288, - PROTECTED = 289, - CLASSWIDE = 290, - PROPERTY = 291, - ARGUMENT = 292, - VIRTUAL = 293, - SIGNAL = 294, - OVERRIDE = 295, - NICK = 296, - BLURB = 297, - MAXIMUM = 298, - MINIMUM = 299, - DEFAULT_VALUE = 300, - ERROR = 301, - FLAGS = 302, - TYPE = 303, - FLAGS_TYPE = 304, - ENUM_TYPE = 305, - PARAM_TYPE = 306, - BOXED_TYPE = 307, - OBJECT_TYPE = 308 + CTCODE = 280, + ADCODE = 281, + HTCODE = 282, + PHCODE = 283, + HCODE = 284, + ACODE = 285, + ATCODE = 286, + STRING = 287, + PUBLIC = 288, + PRIVATE = 289, + PROTECTED = 290, + CLASSWIDE = 291, + PROPERTY = 292, + ARGUMENT = 293, + VIRTUAL = 294, + SIGNAL = 295, + OVERRIDE = 296, + NAME = 297, + NICK = 298, + BLURB = 299, + MAXIMUM = 300, + MINIMUM = 301, + DEFAULT_VALUE = 302, + ERROR = 303, + FLAGS = 304, + TYPE = 305, + FLAGS_TYPE = 306, + ENUM_TYPE = 307, + PARAM_TYPE = 308, + BOXED_TYPE = 309, + OBJECT_TYPE = 310 }; #endif /* Tokens. */ @@ -115,45 +124,45 @@ #define ARRAY_DIM 277 #define SINGLE_CHAR 278 #define CCODE 279 -#define ADCODE 280 -#define HTCODE 281 -#define PHCODE 282 -#define HCODE 283 -#define ACODE 284 -#define ATCODE 285 -#define STRING 286 -#define PUBLIC 287 -#define PRIVATE 288 -#define PROTECTED 289 -#define CLASSWIDE 290 -#define PROPERTY 291 -#define ARGUMENT 292 -#define VIRTUAL 293 -#define SIGNAL 294 -#define OVERRIDE 295 -#define NICK 296 -#define BLURB 297 -#define MAXIMUM 298 -#define MINIMUM 299 -#define DEFAULT_VALUE 300 -#define ERROR 301 -#define FLAGS 302 -#define TYPE 303 -#define FLAGS_TYPE 304 -#define ENUM_TYPE 305 -#define PARAM_TYPE 306 -#define BOXED_TYPE 307 -#define OBJECT_TYPE 308 - +#define CTCODE 280 +#define ADCODE 281 +#define HTCODE 282 +#define PHCODE 283 +#define HCODE 284 +#define ACODE 285 +#define ATCODE 286 +#define STRING 287 +#define PUBLIC 288 +#define PRIVATE 289 +#define PROTECTED 290 +#define CLASSWIDE 291 +#define PROPERTY 292 +#define ARGUMENT 293 +#define VIRTUAL 294 +#define SIGNAL 295 +#define OVERRIDE 296 +#define NAME 297 +#define NICK 298 +#define BLURB 299 +#define MAXIMUM 300 +#define MINIMUM 301 +#define DEFAULT_VALUE 302 +#define ERROR 303 +#define FLAGS 304 +#define TYPE 305 +#define FLAGS_TYPE 306 +#define ENUM_TYPE 307 +#define PARAM_TYPE 308 +#define BOXED_TYPE 309 +#define OBJECT_TYPE 310 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED typedef union YYSTYPE { - -/* Line 1676 of yacc.c */ -#line 683 "parse.y" +/* Line 2058 of yacc.c */ +#line 692 "parse.y" char *id; GString *cbuf; @@ -162,9 +171,8 @@ typedef union YYSTYPE int sigtype; - -/* Line 1676 of yacc.c */ -#line 168 "parse.h" +/* Line 2058 of yacc.c */ +#line 176 "parse.h" } YYSTYPE; # define YYSTYPE_IS_TRIVIAL 1 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ @@ -173,4 +181,18 @@ typedef union YYSTYPE 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_PARSE_H_INCLUDED */