History

regen parser for win32

Jack Atherton committed 8 years ago

Commit 52b166a1 parent 015380b3 files · +3590 −3580Browse files

Unified · Split

3 files
  1. src/core/chuck_win32.c +3526 −3534
  2. src/core/chuck_win32.h +47 −46
  3. src/makefile +17 −0
src/core/chuck_win32.c+3526−3534
@@ -2,43 +2,43 @@ · 1 unmodified line
2 2
3/* Bison implementation for Yacc-like parsers in C3/* Bison implementation for Yacc-like parsers in C
4 4
5Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.5 Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc.
6 6
7This program is free software: you can redistribute it and/or modify7 This program is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by8 it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or9 the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.10 (at your option) any later version.
11 11
12This program is distributed in the hope that it will be useful,12 This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.15 GNU General Public License for more details.
16 16
17You should have received a copy of the GNU General Public License17 You should have received a copy of the GNU General Public License
18along with this program. If not, see <http://www.gnu.org/licenses/>. */18 along with this program. If not, see <http://www.gnu.org/licenses/>. */
19 19
20/* As a special exception, you may create a larger work that contains20/* As a special exception, you may create a larger work that contains
21part or all of the Bison parser skeleton and distribute that work21 part or all of the Bison parser skeleton and distribute that work
22under terms of your choice, so long as that work isn't itself a22 under terms of your choice, so long as that work isn't itself a
23parser generator using the skeleton or a modified version thereof23 parser generator using the skeleton or a modified version thereof
24as a parser skeleton. Alternatively, if you modify or redistribute24 as a parser skeleton. Alternatively, if you modify or redistribute
25the parser skeleton itself, you may (at your option) remove this25 the parser skeleton itself, you may (at your option) remove this
26special exception, which will cause the skeleton and the resulting26 special exception, which will cause the skeleton and the resulting
27Bison output files to be licensed under the GNU General Public27 Bison output files to be licensed under the GNU General Public
28License without this special exception.28 License without this special exception.
29 29
30This special exception was added by the Free Software Foundation in30 This special exception was added by the Free Software Foundation in
31version 2.2 of Bison. */31 version 2.2 of Bison. */
32 32
33/* C LALR(1) parser skeleton written by Richard Stallman, by33/* C LALR(1) parser skeleton written by Richard Stallman, by
34simplifying the original so-called "semantic" parser. */34 simplifying the original so-called "semantic" parser. */
35 35
36/* All symbols defined below should begin with yy or YY, to avoid36/* All symbols defined below should begin with yy or YY, to avoid
37infringing on user name space. This should be done even for local37 infringing on user name space. This should be done even for local
38variables, as they might otherwise be expanded by user macros.38 variables, as they might otherwise be expanded by user macros.
39There are some unavoidable exceptions within include files to39 There are some unavoidable exceptions within include files to
40define necessary library symbols; they are noted "INFRINGES ON40 define necessary library symbols; they are noted "INFRINGES ON
41USER NAME SPACE" below. */41 USER NAME SPACE" below. */
42 42
43/* Identify Bison output. */43/* Identify Bison output. */
44#define YYBISON 144#define YYBISON 1
@@ -66,27 +66,27 @@ USER NAME SPACE" below. */ · 21 unmodified lines
66 66
67 67
68/*----------------------------------------------------------------------------68/*----------------------------------------------------------------------------
69ChucK Concurrent, On-the-fly Audio Programming Language69 ChucK Concurrent, On-the-fly Audio Programming Language
70Compiler and Virtual Machine70 Compiler and Virtual Machine
71 71
72Copyright (c) 2004 Ge Wang and Perry R. Cook. All rights reserved.72 Copyright (c) 2004 Ge Wang and Perry R. Cook. All rights reserved.
73http://chuck.cs.princeton.edu/73 http://chuck.cs.princeton.edu/
74http://soundlab.cs.princeton.edu/74 http://soundlab.cs.princeton.edu/
75 75
76This program is free software; you can redistribute it and/or modify76 This program is free software; you can redistribute it and/or modify
77it under the terms of the GNU General Public License as published by77 it under the terms of the GNU General Public License as published by
78the Free Software Foundation; either version 2 of the License, or78 the Free Software Foundation; either version 2 of the License, or
79(at your option) any later version.79 (at your option) any later version.
80 80
81This program is distributed in the hope that it will be useful,81 This program is distributed in the hope that it will be useful,
82but WITHOUT ANY WARRANTY; without even the implied warranty of82 but WITHOUT ANY WARRANTY; without even the implied warranty of
83MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the83 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
84GNU General Public License for more details.84 GNU General Public License for more details.
85 85
86You should have received a copy of the GNU General Public License86 You should have received a copy of the GNU General Public License
87along with this program; if not, write to the Free Software87 along with this program; if not, write to the Free Software
88Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-130788 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
89U.S.A.89 U.S.A.
90-----------------------------------------------------------------------------*/90-----------------------------------------------------------------------------*/
91 91
92//-----------------------------------------------------------------------------92//-----------------------------------------------------------------------------
@@ -137,7 +137,7 @@ a_Program g_program = NULL; · 44 unmodified lines
137#endif137#endif
138 138
139/* In a future release of Bison, this section will be replaced139/* In a future release of Bison, this section will be replaced
140by #include "chuck.tab.h". */140 by #include "chuck.tab.h". */
141#ifndef YY_YY_CHUCK_TAB_H_INCLUDED141#ifndef YY_YY_CHUCK_TAB_H_INCLUDED
142# define YY_YY_CHUCK_TAB_H_INCLUDED142# define YY_YY_CHUCK_TAB_H_INCLUDED
143/* Debug traces. */143/* Debug traces. */
@@ -151,8 +151,8 @@ extern int yydebug; · 7 unmodified lines
151/* Token type. */151/* Token type. */
152#ifndef YYTOKENTYPE152#ifndef YYTOKENTYPE
153# define YYTOKENTYPE153# define YYTOKENTYPE
154enum yytokentype154 enum yytokentype
155{155 {
156 ID = 258,156 ID = 258,
157 STRING_LIT = 259,157 STRING_LIT = 259,
158 CHAR_LIT = 260,158 CHAR_LIT = 260,
@@ -216,52 +216,53 @@ enum yytokentype · 57 unmodified lines
216 NEXT = 318,216 NEXT = 318,
217 UNTIL = 319,217 UNTIL = 319,
218 EXTERNAL = 320,218 EXTERNAL = 320,
219 EVERY = 321,219 GLOBAL = 321,
220 BEFORE = 322,220 EVERY = 322,
221 AFTER = 323,221 BEFORE = 323,
222 AT = 324,222 AFTER = 324,
223 AT_SYM = 325,223 AT = 325,
224 ATAT_SYM = 326,224 AT_SYM = 326,
225 NEW = 327,225 ATAT_SYM = 327,
226 SIZEOF = 328,226 NEW = 328,
227 TYPEOF = 329,227 SIZEOF = 329,
228 SAME = 330,228 TYPEOF = 330,
229 PLUS_CHUCK = 331,229 SAME = 331,
230 MINUS_CHUCK = 332,230 PLUS_CHUCK = 332,
231 TIMES_CHUCK = 333,231 MINUS_CHUCK = 333,
232 DIVIDE_CHUCK = 334,232 TIMES_CHUCK = 334,
233 S_AND_CHUCK = 335,233 DIVIDE_CHUCK = 335,
234 S_OR_CHUCK = 336,234 S_AND_CHUCK = 336,
235 S_XOR_CHUCK = 337,235 S_OR_CHUCK = 337,
236 SHIFT_RIGHT_CHUCK = 338,236 S_XOR_CHUCK = 338,
237 SHIFT_LEFT_CHUCK = 339,237 SHIFT_RIGHT_CHUCK = 339,
238 PERCENT_CHUCK = 340,238 SHIFT_LEFT_CHUCK = 340,
239 SHIFT_RIGHT = 341,239 PERCENT_CHUCK = 341,
240 SHIFT_LEFT = 342,240 SHIFT_RIGHT = 342,
241 TILDA = 343,241 SHIFT_LEFT = 343,
242 CHUCK = 344,242 TILDA = 344,
243 COLONCOLON = 345,243 CHUCK = 345,
244 S_CHUCK = 346,244 COLONCOLON = 346,
245 AT_CHUCK = 347,245 S_CHUCK = 347,
246 LEFT_S_CHUCK = 348,246 AT_CHUCK = 348,
247 UNCHUCK = 349,247 LEFT_S_CHUCK = 349,
248 UPCHUCK = 350,248 UNCHUCK = 350,
249 CLASS = 351,249 UPCHUCK = 351,
250 INTERFACE = 352,250 CLASS = 352,
251 EXTENDS = 353,251 INTERFACE = 353,
252 IMPLEMENTS = 354,252 EXTENDS = 354,
253 PUBLIC = 355,253 IMPLEMENTS = 355,
254 PROTECTED = 356,254 PUBLIC = 356,
255 PRIVATE = 357,255 PROTECTED = 357,
256 STATIC = 358,256 PRIVATE = 358,
257 ABSTRACT = 359,257 STATIC = 359,
258 CONST = 360,258 ABSTRACT = 360,
259 SPORK = 361,259 CONST = 361,
260 ARROW_RIGHT = 362,260 SPORK = 362,
261 ARROW_LEFT = 363,261 ARROW_RIGHT = 363,
262 L_HACK = 364,262 ARROW_LEFT = 364,
263 R_HACK = 365263 L_HACK = 365,
264};264 R_HACK = 366
265 };
265#endif266#endif
266 267
267/* Value type. */268/* Value type. */
@@ -275,7 +276,7 @@ union YYSTYPE · 7 unmodified lines
275 int ival;276 int ival;
276 double fval;277 double fval;
277 c_str sval;278 c_str sval;
278 279
279 a_Program program;280 a_Program program;
280 a_Section program_section;281 a_Section program_section;
281 a_Stmt_List stmt_list;282 a_Stmt_List stmt_list;
@@ -295,7 +296,7 @@ union YYSTYPE · 13 unmodified lines
295 a_Polar polar_exp;296 a_Polar polar_exp;
296 a_Vec vec_exp; // ge: added 1.3.5.3297 a_Vec vec_exp; // ge: added 1.3.5.3
297 298
298#line 299 "chuck.tab.c" /* yacc.c:355 */299#line 300 "chuck.tab.c" /* yacc.c:355 */
299};300};
300 301
301typedef union YYSTYPE YYSTYPE;302typedef union YYSTYPE YYSTYPE;
@@ -312,7 +313,7 @@ int yyparse (void); · 10 unmodified lines
312 313
313/* Copy the second part of user declarations. */314/* Copy the second part of user declarations. */
314 315
315#line 316 "chuck.tab.c" /* yacc.c:358 */316#line 317 "chuck.tab.c" /* yacc.c:358 */
316 317
317#ifdef short318#ifdef short
318# undef short319# undef short
@@ -442,7 +443,7 @@ typedef short int yytype_int16; · 123 unmodified lines
442# define YYSTACK_ALLOC alloca443# define YYSTACK_ALLOC alloca
443# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS444# if ! defined _ALLOCA_H && ! defined EXIT_SUCCESS
444# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */445# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
445/* Use EXIT_SUCCESS as a witness for stdlib.h. */446 /* Use EXIT_SUCCESS as a witness for stdlib.h. */
446# ifndef EXIT_SUCCESS447# ifndef EXIT_SUCCESS
447# define EXIT_SUCCESS 0448# define EXIT_SUCCESS 0
448# endif449# endif
@@ -452,13 +453,13 @@ typedef short int yytype_int16; · 3 unmodified lines
452# endif453# endif
453 454
454# ifdef YYSTACK_ALLOC455# ifdef YYSTACK_ALLOC
455/* Pacify GCC's 'empty if-body' warning. */456 /* Pacify GCC's 'empty if-body' warning. */
456# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)457# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
457# ifndef YYSTACK_ALLOC_MAXIMUM458# ifndef YYSTACK_ALLOC_MAXIMUM
458/* The OS might guarantee only one guard page at the bottom of the stack,459 /* The OS might guarantee only one guard page at the bottom of the stack,
459and a page size can be as small as 4096 bytes. So we cannot safely460 and a page size can be as small as 4096 bytes. So we cannot safely
460invoke alloca (N) if N exceeds 4096. Use a slightly smaller number461 invoke alloca (N) if N exceeds 4096. Use a slightly smaller number
461to allow for a few compiler-allocated temporary stack slots. */462 to allow for a few compiler-allocated temporary stack slots. */
462# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */463# define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
463# endif464# endif
464# else465# else
@@ -495,18 +496,18 @@ void free (void *); /* INFRINGES ON USER NAME SPACE */ · 30 unmodified lines
495 && (! defined __cplusplus \496 && (! defined __cplusplus \
496 || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))497 || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
497 498
498 /* A type that is properly aligned for any stack member. */499/* A type that is properly aligned for any stack member. */
499union yyalloc500union yyalloc
500{501{
501 yytype_int16 yyss_alloc;502 yytype_int16 yyss_alloc;
502 YYSTYPE yyvs_alloc;503 YYSTYPE yyvs_alloc;
503};504};
504 505
505/* The size of the maximum gap between one aligned stack and the next. */506/* The size of the maximum gap between one aligned stack and the next. */
506# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)507# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
507 508
508/* The size of an array large to enough to hold all stacks, each with509/* The size of an array large to enough to hold all stacks, each with
509N elements. */510 N elements. */
510# define YYSTACK_BYTES(N) \511# define YYSTACK_BYTES(N) \
511 ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \512 ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
512 + YYSTACK_GAP_MAXIMUM)513 + YYSTACK_GAP_MAXIMUM)
@@ -514,10 +515,10 @@ N elements. */ · 1 unmodified line
514# define YYCOPY_NEEDED 1515# define YYCOPY_NEEDED 1
515 516
516/* Relocate STACK from its old location to the new one. The517/* Relocate STACK from its old location to the new one. The
517local variables YYSIZE and YYSTACKSIZE give the old and new number of518 local variables YYSIZE and YYSTACKSIZE give the old and new number of
518elements in the stack, and YYPTR gives the new location of the519 elements in the stack, and YYPTR gives the new location of the
519stack. Advance YYPTR to a properly aligned location for the next520 stack. Advance YYPTR to a properly aligned location for the next
520stack. */521 stack. */
521# define YYSTACK_RELOCATE(Stack_alloc, Stack) \522# define YYSTACK_RELOCATE(Stack_alloc, Stack) \
522 do \523 do \
523 { \524 { \
@@ -533,7 +534,7 @@ stack. */ · 9 unmodified lines
533 534
534#if defined YYCOPY_NEEDED && YYCOPY_NEEDED535#if defined YYCOPY_NEEDED && YYCOPY_NEEDED
535/* Copy COUNT objects from SRC to DST. The source and destination do536/* Copy COUNT objects from SRC to DST. The source and destination do
536not overlap. */537 not overlap. */
537# ifndef YYCOPY538# ifndef YYCOPY
538# if defined __GNUC__ && 1 < __GNUC__539# if defined __GNUC__ && 1 < __GNUC__
539# define YYCOPY(Dst, Src, Count) \540# define YYCOPY(Dst, Src, Count) \
@@ -552,603 +553,599 @@ not overlap. */ · 12 unmodified lines
552#endif /* !YYCOPY_NEEDED */553#endif /* !YYCOPY_NEEDED */
553 554
554/* YYFINAL -- State number of the termination state. */555/* YYFINAL -- State number of the termination state. */
555#define YYFINAL 120556#define YYFINAL 122
556/* YYLAST -- Last index in YYTABLE. */557/* YYLAST -- Last index in YYTABLE. */
557#define YYLAST 1202558#define YYLAST 1181
558 559
559/* YYNTOKENS -- Number of terminals. */560/* YYNTOKENS -- Number of terminals. */
560#define YYNTOKENS 111561#define YYNTOKENS 112
561/* YYNNTS -- Number of nonterminals. */562/* YYNNTS -- Number of nonterminals. */
562#define YYNNTS 58563#define YYNNTS 58
563/* YYNRULES -- Number of rules. */564/* YYNRULES -- Number of rules. */
564#define YYNRULES 183565#define YYNRULES 184
565/* YYNSTATES -- Number of states. */566/* YYNSTATES -- Number of states. */
566#define YYNSTATES 316567#define YYNSTATES 319
567 568
568/* YYTRANSLATE[YYX] -- Symbol number corresponding to YYX as returned569/* YYTRANSLATE[YYX] -- Symbol number corresponding to YYX as returned
569by yylex, with out-of-bounds checking. */570 by yylex, with out-of-bounds checking. */
570#define YYUNDEFTOK 2571#define YYUNDEFTOK 2
571#define YYMAXUTOK 365572#define YYMAXUTOK 366
572 573
573#define YYTRANSLATE(YYX) \574#define YYTRANSLATE(YYX) \
574 ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)575 ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
575 576
576/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM577/* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM
577as returned by yylex, without out-of-bounds checking. */578 as returned by yylex, without out-of-bounds checking. */
578static const yytype_uint8 yytranslate[] =579static const yytype_uint8 yytranslate[] =
579{580{
580 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,581 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
581 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,582 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
582 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,583 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
583 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,584 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
584 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,585 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
585 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,586 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
586 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,587 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
587 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,588 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
588 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,589 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
589 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,590 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
590 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,591 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
591 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,592 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
592 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,593 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
593 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,594 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
594 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,595 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
595 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,596 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
596 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,597 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
597 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,598 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
598 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,599 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
599 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,600 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
600 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,601 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
601 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,602 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
602 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,603 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
603 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,604 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
604 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,605 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
605 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,606 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
606 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,607 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
607 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,608 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
608 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,609 25, 26, 27, 28, 29, 30, 31, 32, 33, 34,
609 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,610 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
610 45, 46, 47, 48, 49, 50, 51, 52, 53, 54,611 45, 46, 47, 48, 49, 50, 51, 52, 53, 54,
611 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,612 55, 56, 57, 58, 59, 60, 61, 62, 63, 64,
612 65, 66, 67, 68, 69, 70, 71, 72, 73, 74,613 65, 66, 67, 68, 69, 70, 71, 72, 73, 74,
613 75, 76, 77, 78, 79, 80, 81, 82, 83, 84,614 75, 76, 77, 78, 79, 80, 81, 82, 83, 84,
614 85, 86, 87, 88, 89, 90, 91, 92, 93, 94,615 85, 86, 87, 88, 89, 90, 91, 92, 93, 94,
615 95, 96, 97, 98, 99, 100, 101, 102, 103, 104,616 95, 96, 97, 98, 99, 100, 101, 102, 103, 104,
616 105, 106, 107, 108, 109, 110617 105, 106, 107, 108, 109, 110, 111
617};618};
618 619
619#if YYDEBUG620#if YYDEBUG
620/* YYRLINE[YYN] -- Source line where rule number YYN was defined. */621 /* YYRLINE[YYN] -- Source line where rule number YYN was defined. */
621static const yytype_uint16 yyrline[] =622static const yytype_uint16 yyrline[] =
622{623{
623 0, 182, 182, 183, 187, 188, 189, 193, 195, 197,624 0, 183, 183, 184, 188, 189, 190, 194, 196, 198,
624 199, 204, 205, 206, 207, 211, 212, 216, 217, 222,625 200, 205, 206, 207, 208, 212, 213, 217, 218, 223,
625 223, 224, 228, 232, 233, 237, 238, 242, 244, 246,626 224, 225, 229, 233, 234, 238, 239, 243, 245, 247,
626 248, 253, 254, 255, 259, 260, 261, 262, 266, 267,627 249, 254, 255, 256, 260, 261, 262, 263, 267, 268,
627 268, 272, 273, 277, 278, 287, 288, 293, 294, 298,628 269, 273, 274, 278, 279, 288, 289, 294, 295, 299,
628 299, 303, 304, 308, 309, 310, 311, 313, 317, 318,629 300, 304, 305, 309, 310, 311, 312, 314, 318, 319,
629 319, 320, 324, 326, 331, 333, 335, 337, 339, 341,630 320, 321, 325, 327, 332, 334, 336, 338, 340, 342,
630 343, 348, 349, 353, 354, 358, 359, 363, 364, 369,631 344, 349, 350, 354, 355, 359, 360, 364, 365, 370,
631 370, 375, 376, 381, 382, 386, 387, 388, 389, 390,632 371, 376, 377, 382, 383, 387, 388, 389, 390, 391,
632 391, 395, 396, 400, 401, 402, 406, 411, 416, 421,633 392, 393, 397, 398, 402, 403, 404, 408, 413, 418,
633 422, 423, 424, 425, 426, 427, 428, 429, 430, 431,634 423, 424, 425, 426, 427, 428, 429, 430, 431, 432,
634 432, 433, 434, 438, 439, 443, 444, 449, 450, 455,635 433, 434, 435, 436, 440, 441, 445, 446, 451, 452,
635 456, 461, 462, 467, 468, 473, 474, 479, 480, 482,636 457, 458, 463, 464, 469, 470, 475, 476, 481, 482,
636 487, 488, 490, 492, 494, 499, 500, 502, 507, 508,637 484, 489, 490, 492, 494, 496, 501, 502, 504, 509,
637 510, 515, 516, 518, 520, 525, 526, 531, 532, 537,638 510, 512, 517, 518, 520, 522, 527, 528, 533, 534,
638 538, 540, 542, 544, 546, 548, 550, 557, 558, 559,639 539, 540, 542, 544, 546, 548, 550, 552, 559, 560,
639 560, 561, 562, 567, 568, 573, 574, 576, 578, 580,640 561, 562, 563, 564, 569, 570, 575, 576, 578, 580,
640 582, 584, 590, 591, 592, 593, 594, 595, 596, 597,641 582, 584, 586, 592, 593, 594, 595, 596, 597, 598,
641 598, 599, 600, 601642 599, 600, 601, 602, 603
642};643};
643#endif644#endif
644 645
645#if YYDEBUG || YYERROR_VERBOSE || 0646#if YYDEBUG || YYERROR_VERBOSE || 0
646/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.647/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
647First, the terminals, then, starting at YYNTOKENS, nonterminals. */648 First, the terminals, then, starting at YYNTOKENS, nonterminals. */
648static const char *const yytname[] =649static const char *const yytname[] =
649{650{
650 "$end", "error", "$undefined", "ID", "STRING_LIT", "CHAR_LIT", "NUM",651 "$end", "error", "$undefined", "ID", "STRING_LIT", "CHAR_LIT", "NUM",
651 "FLOAT", "POUND", "COMMA", "COLON", "SEMICOLON", "LPAREN", "RPAREN",652 "FLOAT", "POUND", "COMMA", "COLON", "SEMICOLON", "LPAREN", "RPAREN",
652 "LBRACK", "RBRACK", "LBRACE", "RBRACE", "DOT", "PLUS", "MINUS", "TIMES",653 "LBRACK", "RBRACK", "LBRACE", "RBRACE", "DOT", "PLUS", "MINUS", "TIMES",
653 "DIVIDE", "PERCENT", "EQ", "NEQ", "LT", "LE", "GT", "GE", "AND", "OR",654 "DIVIDE", "PERCENT", "EQ", "NEQ", "LT", "LE", "GT", "GE", "AND", "OR",
654 "ASSIGN", "IF", "THEN", "ELSE", "WHILE", "FOR", "DO", "LOOP", "BREAK",655 "ASSIGN", "IF", "THEN", "ELSE", "WHILE", "FOR", "DO", "LOOP", "BREAK",
655 "CONTINUE", "NULL_TOK", "FUNCTION", "RETURN", "QUESTION", "EXCLAMATION",656 "CONTINUE", "NULL_TOK", "FUNCTION", "RETURN", "QUESTION", "EXCLAMATION",
656 "S_OR", "S_AND", "S_XOR", "PLUSPLUS", "MINUSMINUS", "DOLLAR",657 "S_OR", "S_AND", "S_XOR", "PLUSPLUS", "MINUSMINUS", "DOLLAR",
657 "POUNDPAREN", "PERCENTPAREN", "ATPAREN", "SIMULT", "PATTERN", "CODE",658 "POUNDPAREN", "PERCENTPAREN", "ATPAREN", "SIMULT", "PATTERN", "CODE",
658 "TRANSPORT", "HOST", "TIME", "WHENEVER", "NEXT", "UNTIL", "EXTERNAL",659 "TRANSPORT", "HOST", "TIME", "WHENEVER", "NEXT", "UNTIL", "EXTERNAL",
659 "EVERY", "BEFORE", "AFTER", "AT", "AT_SYM", "ATAT_SYM", "NEW", "SIZEOF",660 "GLOBAL", "EVERY", "BEFORE", "AFTER", "AT", "AT_SYM", "ATAT_SYM", "NEW",
660 "TYPEOF", "SAME", "PLUS_CHUCK", "MINUS_CHUCK", "TIMES_CHUCK",661 "SIZEOF", "TYPEOF", "SAME", "PLUS_CHUCK", "MINUS_CHUCK", "TIMES_CHUCK",
661 "DIVIDE_CHUCK", "S_AND_CHUCK", "S_OR_CHUCK", "S_XOR_CHUCK",662 "DIVIDE_CHUCK", "S_AND_CHUCK", "S_OR_CHUCK", "S_XOR_CHUCK",
662 "SHIFT_RIGHT_CHUCK", "SHIFT_LEFT_CHUCK", "PERCENT_CHUCK", "SHIFT_RIGHT",663 "SHIFT_RIGHT_CHUCK", "SHIFT_LEFT_CHUCK", "PERCENT_CHUCK", "SHIFT_RIGHT",
663 "SHIFT_LEFT", "TILDA", "CHUCK", "COLONCOLON", "S_CHUCK", "AT_CHUCK",664 "SHIFT_LEFT", "TILDA", "CHUCK", "COLONCOLON", "S_CHUCK", "AT_CHUCK",
664 "LEFT_S_CHUCK", "UNCHUCK", "UPCHUCK", "CLASS", "INTERFACE", "EXTENDS",665 "LEFT_S_CHUCK", "UNCHUCK", "UPCHUCK", "CLASS", "INTERFACE", "EXTENDS",
665 "IMPLEMENTS", "PUBLIC", "PROTECTED", "PRIVATE", "STATIC", "ABSTRACT",666 "IMPLEMENTS", "PUBLIC", "PROTECTED", "PRIVATE", "STATIC", "ABSTRACT",
666 "CONST", "SPORK", "ARROW_RIGHT", "ARROW_LEFT", "L_HACK", "R_HACK",667 "CONST", "SPORK", "ARROW_RIGHT", "ARROW_LEFT", "L_HACK", "R_HACK",
667 "$accept", "program", "program_section", "class_definition", "class_ext",668 "$accept", "program", "program_section", "class_definition", "class_ext",
668 "class_body", "class_body2", "class_section", "iface_ext", "id_list",669 "class_body", "class_body2", "class_section", "iface_ext", "id_list",
669 "id_dot", "function_definition", "class_decl", "function_decl",670 "id_dot", "function_definition", "class_decl", "function_decl",
670 "static_decl", "type_decl_a", "type_decl_b", "type_decl", "type_decl2",671 "static_decl", "type_decl_a", "type_decl_b", "type_decl", "type_decl2",
671 "arg_list", "statement_list", "statement", "jump_statement",672 "arg_list", "statement_list", "statement", "jump_statement",
672 "selection_statement", "loop_statement", "code_segment",673 "selection_statement", "loop_statement", "code_segment",
673 "expression_statement", "expression", "chuck_expression",674 "expression_statement", "expression", "chuck_expression",
674 "arrow_expression", "array_exp", "array_empty", "decl_expression",675 "arrow_expression", "array_exp", "array_empty", "decl_expression",
675 "var_decl_list", "var_decl", "complex_exp", "polar_exp", "vec_exp",676 "var_decl_list", "var_decl", "complex_exp", "polar_exp", "vec_exp",
676 "chuck_operator", "arrow_operator", "conditional_expression",677 "chuck_operator", "arrow_operator", "conditional_expression",
677 "logical_or_expression", "logical_and_expression",678 "logical_or_expression", "logical_and_expression",
678 "inclusive_or_expression", "exclusive_or_expression", "and_expression",679 "inclusive_or_expression", "exclusive_or_expression", "and_expression",
679 "equality_expression", "relational_expression", "shift_expression",680 "equality_expression", "relational_expression", "shift_expression",
680 "additive_expression", "multiplicative_expression", "tilda_expression",681 "additive_expression", "multiplicative_expression", "tilda_expression",
681 "cast_expression", "unary_expression", "unary_operator",682 "cast_expression", "unary_expression", "unary_operator",
682 "dur_expression", "postfix_expression", "primary_expression", YY_NULLPTR683 "dur_expression", "postfix_expression", "primary_expression", YY_NULLPTR
683};684};
684#endif685#endif
685 686
686# ifdef YYPRINT687# ifdef YYPRINT
687/* YYTOKNUM[NUM] -- (External) token number corresponding to the688/* YYTOKNUM[NUM] -- (External) token number corresponding to the
688(internal) symbol number NUM (which must be that of a token). */689 (internal) symbol number NUM (which must be that of a token). */
689static const yytype_uint16 yytoknum[] =690static const yytype_uint16 yytoknum[] =
690{691{
691 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,692 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
692 265, 266, 267, 268, 269, 270, 271, 272, 273, 274,693 265, 266, 267, 268, 269, 270, 271, 272, 273, 274,
693 275, 276, 277, 278, 279, 280, 281, 282, 283, 284,694 275, 276, 277, 278, 279, 280, 281, 282, 283, 284,
694 285, 286, 287, 288, 289, 290, 291, 292, 293, 294,695 285, 286, 287, 288, 289, 290, 291, 292, 293, 294,
695 295, 296, 297, 298, 299, 300, 301, 302, 303, 304,696 295, 296, 297, 298, 299, 300, 301, 302, 303, 304,
696 305, 306, 307, 308, 309, 310, 311, 312, 313, 314,697 305, 306, 307, 308, 309, 310, 311, 312, 313, 314,
697 315, 316, 317, 318, 319, 320, 321, 322, 323, 324,698 315, 316, 317, 318, 319, 320, 321, 322, 323, 324,
698 325, 326, 327, 328, 329, 330, 331, 332, 333, 334,699 325, 326, 327, 328, 329, 330, 331, 332, 333, 334,
699 335, 336, 337, 338, 339, 340, 341, 342, 343, 344,700 335, 336, 337, 338, 339, 340, 341, 342, 343, 344,
700 345, 346, 347, 348, 349, 350, 351, 352, 353, 354,701 345, 346, 347, 348, 349, 350, 351, 352, 353, 354,
701 355, 356, 357, 358, 359, 360, 361, 362, 363, 364,702 355, 356, 357, 358, 359, 360, 361, 362, 363, 364,
702 365703 365, 366
703};704};
704# endif705# endif
705 706
706#define YYPACT_NINF -265707#define YYPACT_NINF -246
707 708
708#define yypact_value_is_default(Yystate) \709#define yypact_value_is_default(Yystate) \
709 (!!((Yystate) == (-265)))710 (!!((Yystate) == (-246)))
710 711
711#define YYTABLE_NINF -42712#define YYTABLE_NINF -42
712 713
713#define yytable_value_is_error(Yytable_value) \714#define yytable_value_is_error(Yytable_value) \
714 0715 0
715 716
716/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing717 /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
717STATE-NUM. */718 STATE-NUM. */
718static const yytype_int16 yypact[] =719static const yytype_int16 yypact[] =
719{720{
720 474, 14, -265, -265, -265, -265, -265, 691, 1093, 552,721 419, 15, -246, -246, -246, -246, -246, 639, 1047, 498,
721 -265, -265, -265, 43, 70, 73, 113, 627, 146, 96,722 -246, -246, -246, 43, 36, 90, 132, 574, 133, 135,
722 148, -265, 764, -265, 7, 7, 1093, 1093, 1093, 149,723 137, -246, 713, -246, 8, 8, 1047, 1047, 1047, 143,
723 26, 26, 7, 7, 157, -265, -42, -265, -3, 22,724 27, 27, 27, 8, 8, 153, -246, -33, -246, -13,
724 74, 1093, 163, 240, -265, -265, 35, 11, -265, -265,725 23, 73, 1047, 164, 147, -246, -246, -2, 9, -246,
725 157, -265, 627, -265, -265, -265, -265, -265, 153, 100,726 -246, 153, -246, 574, -246, -246, -246, -246, -246, 154,
726 -7, -265, -265, -265, -265, -265, -265, 18, 135, 119,727 1060, 19, -246, -246, -246, -246, -246, -246, 6, 139,
727 120, 122, 86, 95, 48, 118, 106, 79, 123, -265,728 123, 125, 124, 106, 83, 29, 114, 50, 86, 126,
728 7, 81, 94, -265, -265, -265, 159, 171, -265, 170,729 -246, 8, 88, 38, -246, -246, -246, 168, 162, -246,
729 172, 160, 1093, 1093, 837, 2, 1093, -265, -265, -265,730 165, 171, 166, 1047, 1047, 787, 4, 1047, -246, -246,
730 182, -265, -265, -265, 183, 184, 185, 1093, 129, 157,731 -246, 181, -246, -246, -246, 183, 186, 190, 1047, 134,
731 186, -265, -265, 187, -265, 193, 157, 157, -265, 93,732 153, 153, 192, -246, -246, 193, -246, 195, 153, 153,
732 -265, -265, 201, 201, -265, -265, 26, -265, -265, -265,733 -246, 97, -246, -246, 206, 206, -246, -246, 27, -246,
733 1093, -265, -265, -265, -265, -265, -265, -265, -265, -265,734 -246, -246, 1047, -246, -246, -246, -246, -246, -246, -246,
734 -265, -265, -265, -265, -265, 1093, -265, -265, 1093, 7,735 -246, -246, -246, -246, -246, -246, -246, 1047, -246, -246,
735 1093, 7, 7, 7, 7, 7, 7, 7, 7, 7,736 1047, 8, 1047, 8, 8, 8, 8, 8, 8, 8,
736 7, 7, 7, 7, 7, 7, 7, 7, 7, 26,737 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
737 -265, 64, 901, 202, -265, -265, -265, -265, 186, -265,738 8, 27, -246, 1071, 852, 207, -246, -246, -246, -246,
738 43, 136, 194, 195, 837, 197, 198, 199, -265, -265,739 192, -246, 43, 144, 201, 203, 787, 205, 212, 213,
739 -265, -265, 200, -265, -265, 965, -265, 203, 157, -265,740 -246, -246, -246, -246, 216, -246, -246, -246, 917, -246,
740 -265, -265, 205, 0, 4, 204, 208, -265, -7, -265,741 204, 153, -246, -246, -246, 210, 1, 5, 211, 227,
741 135, 206, 119, 120, 122, 86, 95, 95, 48, 48,742 -246, 19, -246, 139, 221, 123, 125, 124, 106, 83,
742 48, 48, 118, 118, 106, 106, 79, 79, 79, 123,743 83, 29, 29, 29, 29, 114, 114, 50, 50, 86,
743 -265, 94, -265, 207, -265, -265, -265, -265, 627, 627,744 86, 86, 126, -246, 38, -246, 222, -246, -246, -246,
744 1029, 1093, 1093, 627, 627, -265, 210, -265, 201, 318,745 -246, 574, 574, 982, 1047, 1047, 574, 574, -246, 219,
745 43, 201, 211, 318, 201, 214, 216, 203, 209, 7,746 -246, 206, 261, 43, 206, 223, 261, 206, 228, 230,
746 -265, 180, -265, 627, 213, 219, 220, -265, -265, -265,747 204, 225, 8, -246, 208, -246, 574, 233, 234, 240,
747 -265, -265, 217, -265, 396, -265, -265, 140, 121, 318,748 -246, -246, -246, -246, -246, 238, -246, 340, -246, -246,
748 218, -265, 318, 38, -265, 627, -265, 627, 230, 231,749 138, 159, 261, 242, -246, 261, 67, -246, 574, -246,
749 -265, -265, 201, 43, 232, -265, 233, 34, 157, 242,750 574, 249, 250, -246, -246, 206, 43, 245, -246, 246,
750 -265, -265, -265, -265, -265, -265, -265, -265, -265, -265,751 31, 153, 256, -246, -246, -246, -246, -246, -246, -246,
751 248, 75, 26, -265, -265, -265752 -246, -246, -246, 262, 92, 27, -246, -246, -246
752};753};
753 754
754/* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.755 /* YYDEFACT[STATE-NUM] -- Default reduction number in state STATE-NUM.
755Performed when YYTABLE does not specify something else to do. Zero756 Performed when YYTABLE does not specify something else to do. Zero
756means the default is an error. */757 means the default is an error. */
757static const yytype_uint8 yydefact[] =758static const yytype_uint8 yydefact[] =
758{759{
759 33, 172, 175, 176, 173, 174, 73, 0, 0, 0,760 33, 173, 176, 177, 174, 175, 73, 0, 0, 0,
760 157, 158, 161, 0, 0, 0, 0, 0, 0, 0,761 158, 159, 162, 0, 0, 0, 0, 0, 0, 0,
761 0, 34, 0, 160, 0, 0, 0, 0, 0, 0,762 0, 34, 0, 161, 0, 0, 0, 0, 0, 0,
762 0, 0, 0, 0, 0, 159, 35, 36, 37, 0,763 0, 0, 0, 0, 0, 0, 160, 35, 36, 37,
763 0, 0, 0, 33, 6, 5, 0, 40, 45, 46,764 0, 0, 0, 0, 33, 6, 5, 0, 40, 45,
764 0, 4, 51, 56, 55, 54, 57, 53, 0, 75,765 46, 0, 4, 51, 56, 55, 54, 57, 53, 0,
765 77, 177, 79, 178, 179, 180, 85, 115, 117, 119,766 75, 77, 178, 79, 179, 180, 181, 85, 116, 118,
766 121, 123, 125, 127, 130, 135, 138, 141, 145, 147,767 120, 122, 124, 126, 128, 131, 136, 139, 142, 146,
767 0, 149, 163, 165, 42, 183, 0, 0, 71, 0,768 148, 0, 150, 164, 166, 42, 184, 0, 0, 71,
768 25, 0, 0, 0, 0, 0, 0, 60, 61, 58,769 0, 25, 0, 0, 0, 0, 0, 0, 60, 61,
769 0, 172, 150, 151, 0, 0, 0, 0, 41, 0,770 58, 0, 173, 151, 152, 0, 0, 0, 0, 41,
770 155, 154, 153, 93, 89, 91, 0, 0, 162, 0,771 0, 0, 156, 155, 154, 94, 90, 92, 0, 0,
771 1, 3, 0, 0, 38, 39, 0, 86, 52, 74,772 163, 0, 1, 3, 0, 0, 38, 39, 0, 86,
772 0, 101, 102, 103, 104, 110, 111, 112, 105, 106,773 52, 74, 0, 102, 103, 104, 105, 111, 112, 113,
773 107, 99, 100, 108, 109, 0, 114, 113, 0, 0,774 106, 107, 108, 100, 101, 109, 110, 0, 115, 114,
774 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,775 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
775 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,776 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
776 152, 0, 0, 0, 170, 171, 166, 182, 81, 72,777 0, 0, 153, 0, 0, 0, 171, 172, 167, 183,
777 0, 43, 0, 0, 0, 0, 0, 0, 59, 96,778 81, 72, 0, 43, 0, 0, 0, 0, 0, 0,
778 97, 98, 0, 87, 156, 0, 94, 95, 0, 90,779 59, 97, 98, 99, 0, 87, 88, 157, 0, 95,
779 88, 181, 23, 0, 0, 47, 0, 76, 78, 80,780 96, 0, 91, 89, 182, 23, 0, 0, 47, 0,
780 118, 0, 120, 122, 124, 126, 128, 129, 131, 133,781 76, 78, 80, 119, 0, 121, 123, 125, 127, 129,
781 132, 134, 137, 136, 139, 140, 142, 143, 144, 146,782 130, 132, 134, 133, 135, 138, 137, 140, 141, 143,
782 148, 164, 167, 0, 169, 82, 26, 44, 0, 0,783 144, 145, 147, 149, 165, 168, 0, 170, 82, 26,
783 0, 0, 0, 0, 0, 83, 0, 92, 0, 33,784 44, 0, 0, 0, 0, 0, 0, 0, 83, 0,
784 0, 0, 0, 33, 0, 0, 0, 48, 0, 0,785 93, 0, 33, 0, 0, 0, 33, 0, 0, 0,
785 168, 62, 64, 0, 0, 0, 0, 70, 68, 84,786 48, 0, 0, 169, 62, 64, 0, 0, 0, 0,
786 24, 21, 0, 15, 33, 20, 19, 13, 11, 33,787 70, 68, 84, 24, 21, 0, 15, 33, 20, 19,
787 0, 22, 33, 0, 116, 0, 66, 0, 0, 0,788 13, 11, 33, 0, 22, 33, 0, 117, 0, 66,
788 7, 18, 0, 0, 0, 9, 0, 0, 0, 0,789 0, 0, 0, 7, 18, 0, 0, 0, 9, 0,
789 63, 67, 65, 69, 14, 12, 8, 10, 30, 28,790 0, 0, 0, 63, 67, 65, 69, 14, 12, 8,
790 49, 0, 0, 29, 27, 50791 10, 30, 28, 49, 0, 0, 29, 27, 50
791};792};
792 793
793/* YYPGOTO[NTERM-NUM]. */794 /* YYPGOTO[NTERM-NUM]. */
794static const yytype_int16 yypgoto[] =795static const yytype_int16 yypgoto[] =
795{796{
796 -265, 179, -265, 32, -265, -223, -16, -265, -265, -118,797 -246, 226, -246, 32, -246, -225, 2, -246, -246, -119,
797 -173, 44, -265, -265, -265, -265, -265, -30, -265, -50,798 -174, 33, -246, -246, -246, -246, -246, -30, -246, -32,
798 31, -15, -265, -265, -265, -264, -79, -4, -265, 124,799 34, -14, -246, -246, -246, -245, -79, -3, -246, 141,
799 -74, 58, 116, -44, -33, -265, -265, -265, -265, -265,800 -74, 76, 136, -44, -12, -246, -246, -246, -246, -246,
800 8, -265, 125, 117, 133, 134, 138, -5, -17, -9,801 28, -246, 140, 142, 149, 151, 152, -21, -36, -24,
801 -8, -18, 103, 10, -265, -265, 104, -265802 -23, -48, 122, 11, -246, -246, 120, -246
802};803};
803 804
804/* YYDEFGOTO[NTERM-NUM]. */805 /* YYDEFGOTO[NTERM-NUM]. */
805static const yytype_int16 yydefgoto[] =806static const yytype_int16 yydefgoto[] =
806{807{
807 -1, 42, 43, 271, 252, 272, 273, 274, 255, 203,808 -1, 43, 44, 274, 255, 275, 276, 277, 258, 206,
808 91, 275, 46, 47, 126, 48, 49, 50, 206, 299,809 92, 278, 47, 48, 128, 49, 50, 51, 209, 302,
809 276, 52, 53, 54, 55, 56, 57, 58, 59, 60,810 279, 53, 54, 55, 56, 57, 58, 59, 60, 61,
810 61, 197, 62, 114, 115, 63, 64, 65, 145, 148,811 62, 200, 63, 116, 117, 64, 65, 66, 147, 150,
811 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,812 67, 68, 69, 70, 71, 72, 73, 74, 75, 76,
812 76, 77, 78, 79, 80, 81, 82, 83813 77, 78, 79, 80, 81, 82, 83, 84
813};814};
814 815
815/* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If816 /* YYTABLE[YYPACT[STATE-NUM]] -- What to do in state STATE-NUM. If
816positive, shift that token. If negative, reduce the rule whose817 positive, shift that token. If negative, reduce the rule whose
817number is the opposite. If YYTABLE_NINF, syntax error. */818 number is the opposite. If YYTABLE_NINF, syntax error. */
818static const yytype_int16 yytable[] =819static const yytype_int16 yytable[] =
819{820{
820 109, 110, 95, 86, 87, 204, 127, 236, 176, 117,821 110, 111, 112, 96, 87, 88, 207, 129, 239, 178,
821 101, 2, 3, 4, 5, 184, 249, -41, 100, 7,822 119, 102, 2, 3, 4, 5, 186, 252, -41, 101,
822 253, 8, 104, 105, 106, 108, 10, 11, 12, 108,823 7, 256, 8, 105, 106, 107, 109, 10, 11, 12,
823 280, 51, 44, 309, 102, 103, 194, 119, 185, 196,824 109, 283, 45, 46, 52, 103, 104, 151, 197, 121,
824 89, 108, 111, 112, 45, 308, 90, 314, 13, 149,825 187, 199, 311, 90, 113, 114, 91, 9, 93, 13,
825 9, 297, 13, 23, -31, -31, 294, 24, 25, 296,826 174, 152, 8, 13, 23, 312, 175, 297, 24, 25,
826 26, 27, 28, 150, 13, 193, 186, 101, 2, 3,827 299, 26, 27, 28, -31, -31, 195, 196, 188, 317,
827 4, 5, 199, 200, 51, 44, 7, 277, 8, 31,828 109, 167, 168, 169, 202, 203, 45, 46, 52, 280,
828 32, 33, 92, 128, 84, 93, 313, 45, 182, 183,829 300, 32, 33, 34, -32, -32, 85, 130, 176, 177,
829 170, 9, 187, -32, -32, 35, 205, 116, 250, 251,830 184, 185, 172, 13, 189, 124, 125, 36, 208, 118,
830 146, 147, 254, 192, 235, 240, 172, 97, 8, 130,831 253, 254, 94, 316, 257, 194, 238, 243, 9, 159,
831 155, 156, 173, 40, 124, 125, 41, 26, 27, 28,832 160, 161, 162, 126, 127, 41, 163, 164, 42, 229,
832 305, 157, 158, 159, 160, 94, 207, 165, 166, 167,833 230, 231, 308, 221, 222, 223, 224, 148, 149, 210,
833 270, 122, 123, 278, 161, 162, 281, 163, 164, 230,834 157, 158, 273, 165, 166, 281, 219, 220, 284, 225,
834 218, 219, 220, 221, 174, 175, 211, 226, 227, 228,835 226, 233, 227, 228, 95, 97, 98, -2, 99, 214,
835 216, 217, 222, 223, 247, 224, 225, 176, 96, 98,836 1, 2, 3, 4, 5, 108, 115, 250, 6, 7,
836 113, 107, 118, 120, 129, 151, 152, 168, 233, 153,837 178, 8, 120, 9, 122, 131, 10, 11, 12, 153,
837 154, 171, 177, 41, 304, 169, 131, 132, 133, 134,838 154, 236, 156, 13, 155, 170, 307, 180, 171, 173,
838 135, 136, 137, 138, 139, 140, 178, 179, 181, 141,839 14, 179, 181, 15, 16, 17, 18, 19, 20, 182,
839 180, 87, 142, 188, 143, 144, 189, 190, 191, 84,840 21, 22, 190, 23, 183, 88, 191, 24, 25, 192,
840 8, 195, 198, 201, 202, 234, 237, 238, 239, 241,841 26, 27, 28, 193, 201, 85, 8, 198, 204, 205,
841 242, 258, 243, 244, 248, 285, 259, 246, 256, 293,842 237, 29, 30, 31, 241, 240, 242, 244, 249, 251,
842 260, 283, 121, 261, 262, 269, 287, 279, 267, 268,843 32, 33, 34, 35, 245, 259, 246, 264, 265, 247,
843 282, 245, 288, 289, 290, 295, 264, 265, 266, 292,844 261, 262, 270, 271, 272, 263, 36, 286, 295, 282,
844 -2, 302, 303, 1, 2, 3, 4, 5, 286, 306,845 267, 268, 269, 288, 285, 248, 290, 291, 37, 38,
845 307, 6, 7, 298, 8, 311, 9, 312, 291, 10,846 39, 40, 289, 292, 41, 293, 301, 42, 296, 298,
846 11, 12, 315, 257, 209, 310, 13, 284, 212, 208,847 305, 306, 309, 310, 1, 2, 3, 4, 5, 314,
847 300, 229, 301, 14, 210, 231, 15, 16, 17, 18,848 123, 315, 6, 7, 303, 8, 304, 9, -16, 294,
848 19, 20, 298, 21, 22, 213, 23, 214, 0, 0,849 10, 11, 12, 318, 260, 301, 212, 13, 211, 313,
849 24, 25, 215, 26, 27, 28, 0, 0, 0, 0,850 287, 213, 232, 234, 14, 215, 0, 15, 16, 17,
850 0, 0, 0, 0, 29, 30, 0, 0, 0, 0,851 18, 19, 20, 216, 21, 22, 217, 23, 218, 0,
851 0, 0, 31, 32, 33, 34, 0, 0, 0, 0,852 0, 24, 25, 0, 26, 27, 28, 0, 0, 0,
852 0, 1, 2, 3, 4, 5, 0, 0, 35, 6,853 0, 0, 0, 0, 0, 29, 30, 31, 0, 0,
853 7, 0, 8, 0, 9, -16, 0, 10, 11, 12,854 0, 0, 0, 0, 32, 33, 34, 35, 0, 0,
854 36, 37, 38, 39, 13, 0, 40, 0, 0, 41,855 0, 0, 0, 1, 2, 3, 4, 5, 0, 0,
855 0, 14, 0, 0, 15, 16, 17, 18, 19, 20,856 36, 6, 7, 0, 8, 0, 9, -17, 0, 10,
856 0, 21, 22, 0, 23, 0, 0, 0, 24, 25,857 11, 12, 37, 38, 39, 40, 13, 0, 41, 0,
857 0, 26, 27, 28, 0, 0, 0, 0, 0, 0,858 0, 42, 0, 14, 0, 0, 15, 16, 17, 18,
858 0, 0, 29, 30, 0, 0, 0, 0, 0, 0,859 19, 20, 0, 21, 22, 0, 23, 0, 0, 0,
859 31, 32, 33, 34, 0, 0, 0, 0, 0, 1,860 24, 25, 0, 26, 27, 28, 0, 0, 0, 0,
860 2, 3, 4, 5, 0, 0, 35, 6, 7, 0,861 0, 0, 0, 0, 29, 30, 31, 0, 0, 0,
861 8, 0, 9, -17, 0, 10, 11, 12, 36, 37,862 0, 0, 0, 32, 33, 34, 35, 0, 0, 0,
862 38, 39, 13, 0, 40, 0, 0, 41, 0, 14,863 0, 0, 1, 2, 3, 4, 5, 0, 0, 36,
863 0, 0, 15, 16, 17, 18, 19, 20, 0, 21,864 6, 7, 0, 8, 0, 9, 0, 0, 10, 11,
864 22, 0, 23, 0, 0, 0, 24, 25, 0, 26,865 12, 37, 38, 39, 40, 13, 0, 41, 0, 0,
865 27, 28, 0, 0, 0, 0, 0, 0, 0, 0,866 42, 0, 14, 0, 0, 15, 16, 17, 18, 19,
866 29, 30, 0, 0, 0, 0, 0, 0, 31, 32,867 20, 0, 21, 22, 0, 23, 0, 0, 0, 24,
867 33, 34, 0, 0, 0, 0, 0, 1, 2, 3,868 25, 0, 26, 27, 28, 0, 0, 0, 0, 0,
868 4, 5, 0, 0, 35, 6, 7, 0, 8, 0,869 0, 0, 0, 29, 30, 31, 0, 0, 0, 0,
869 9, 0, 0, 10, 11, 12, 36, 37, 38, 39,870 0, 0, 32, 33, 34, 35, 0, 0, 0, 0,
870 13, 0, 40, 0, 0, 41, 0, 14, 0, 0,871 0, 1, 2, 3, 4, 5, 0, 0, 36, 6,
871 15, 16, 17, 18, 19, 20, 0, 21, 22, 0,872 7, 0, 8, 0, 9, 89, 0, 10, 11, 12,
872 23, 0, 0, 0, 24, 25, 0, 26, 27, 28,873 37, 38, 39, 40, 13, 0, 41, 0, 0, 42,
873 0, 0, 0, 0, 0, 0, 0, 0, 29, 30,874 0, 14, 0, 0, 15, 16, 17, 18, 19, 20,
874 0, 0, 0, 0, 0, 0, 31, 32, 33, 34,875 0, 0, 22, 0, 23, 0, 0, 0, 24, 25,
875 0, 0, 0, 0, 0, 1, 2, 3, 4, 5,876 0, 26, 27, 28, 0, 0, 0, 0, 0, 0,
876 0, 0, 35, 6, 7, 0, 8, 0, 9, 88,877 0, 0, 29, 30, 31, 0, 0, 0, 0, 0,
877 0, 10, 11, 12, 36, 37, 38, 39, 13, 0,878 0, 32, 33, 34, 35, 0, 0, 1, 2, 3,
878 40, 0, 0, 41, 0, 14, 0, 0, 15, 16,879 4, 5, 0, 0, 0, 6, 7, 36, 8, 0,
879 17, 18, 19, 20, 0, 0, 22, 0, 23, 0,880 9, 0, 0, 10, 11, 12, 0, 0, 0, 0,
880 0, 0, 24, 25, 0, 26, 27, 28, 0, 0,881 13, 0, 40, 0, 0, 41, 0, 14, 42, 0,
881 0, 0, 0, 0, 0, 0, 29, 30, 0, 0,882 15, 16, 17, 18, 19, 20, 0, 0, 22, 0,
882 0, 0, 0, 0, 31, 32, 33, 34, 0, 0,883 23, 0, 0, 0, 24, 25, 0, 26, 27, 28,
883 1, 2, 3, 4, 5, 0, 0, 0, 6, 7,884 0, 0, 0, 0, 0, 0, 0, 0, 29, 30,
884 35, 8, 0, 9, 0, 0, 10, 11, 12, 0,885 31, 0, 1, 2, 3, 4, 5, 32, 33, 34,
885 0, 0, 0, 13, 0, 39, 0, 0, 40, 0,886 35, 7, 86, 8, 0, 0, 0, 0, 10, 11,
886 14, 41, 0, 15, 16, 17, 18, 19, 20, 0,887 12, 0, 0, 36, 0, 13, 0, 0, 0, 0,
887 0, 22, 0, 23, 0, 0, 0, 24, 25, 0,888 0, 0, 0, 0, 0, 0, 0, 0, 40, 0,
888 26, 27, 28, 0, 0, 0, 0, 0, 0, 0,889 0, 41, 0, 0, 42, 23, 0, 0, 0, 24,
889 0, 29, 30, 0, 1, 2, 3, 4, 5, 31,890 25, 0, 26, 27, 28, 0, 0, 0, 0, 0,
890 32, 33, 34, 7, 85, 8, 0, 0, 0, 0,891 0, 0, 0, 0, 30, 31, 0, 0, 0, 0,
891 10, 11, 12, 0, 0, 35, 0, 13, 0, 0,892 0, 0, 32, 33, 34, 35, 1, 2, 3, 4,
892 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,893 5, 0, 0, 0, 100, 7, 0, 8, 36, 0,
893 39, 0, 0, 40, 0, 0, 41, 23, 0, 0,894 0, 0, 10, 11, 12, 0, 0, 0, 0, 13,
894 0, 24, 25, 0, 26, 27, 28, 0, 0, 0,895 0, 0, 0, 40, 0, 0, 41, 0, 0, 42,
895 0, 0, 0, 0, 0, 0, 30, 0, 0, 0,896 0, 0, 0, 0, 0, 0, 0, 0, 0, 23,
896 0, 0, 0, 31, 32, 33, 34, 1, 2, 3,897 0, 0, 0, 24, 25, 0, 26, 27, 28, 0,
897 4, 5, 0, 0, 0, 99, 7, 0, 8, 35,898 0, 0, 0, 0, 0, 0, 0, 0, 30, 31,
898 0, 0, 0, 10, 11, 12, 0, 0, 0, 0,899 0, 0, 0, 0, 0, 0, 32, 33, 34, 35,
899 13, 0, 0, 0, 39, 0, 0, 40, 0, 0,900 1, 2, 3, 4, 5, 0, 0, 0, 6, 7,
900 41, 0, 0, 0, 0, 0, 0, 0, 0, 0,901 0, 8, 36, 0, 0, 0, 10, 11, 12, 0,
901 23, 0, 0, 0, 24, 25, 0, 26, 27, 28,902 0, 0, 0, 13, 0, 0, 0, 40, 0, 0,
902 0, 0, 0, 0, 0, 0, 0, 0, 0, 30,903 41, 0, 0, 42, 0, 0, 0, 0, 0, 0,
903 0, 0, 0, 0, 0, 0, 31, 32, 33, 34,904 0, 0, 0, 23, 0, 0, 0, 24, 25, 0,
904 1, 2, 3, 4, 5, 0, 0, 0, 6, 7,905 26, 27, 28, 0, 0, 0, 0, 0, 0, 0,
905 0, 8, 35, 0, 0, 0, 10, 11, 12, 0,906 0, 0, 30, 31, 0, 1, 2, 3, 4, 5,
906 0, 0, 0, 13, 0, 0, 0, 39, 0, 0,907 32, 33, 34, 35, 7, 235, 8, 0, 0, 0,
907 40, 0, 0, 41, 0, 0, 0, 0, 0, 0,908 0, 10, 11, 12, 0, 0, 36, 0, 13, 0,
908 0, 0, 0, 23, 0, 0, 0, 24, 25, 0,909 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
909 26, 27, 28, 0, 0, 0, 0, 0, 0, 0,910 0, 40, 0, 0, 41, 0, 0, 42, 23, 0,
910 0, 0, 30, 0, 1, 2, 3, 4, 5, 31,911 0, 0, 24, 25, 0, 26, 27, 28, 0, 0,
911 32, 33, 34, 7, 232, 8, 0, 0, 0, 0,912 0, 0, 0, 0, 0, 0, 0, 30, 31, 0,
912 10, 11, 12, 0, 0, 35, 0, 13, 0, 0,913 1, 2, 3, 4, 5, 32, 33, 34, 35, 7,
913 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,914 0, 8, 248, 0, 0, 0, 10, 11, 12, 0,
914 39, 0, 0, 40, 0, 0, 41, 23, 0, 0,915 0, 36, 0, 13, 0, 0, 0, 0, 0, 0,
915 0, 24, 25, 0, 26, 27, 28, 0, 0, 0,916 0, 0, 0, 0, 0, 0, 40, 0, 0, 41,
916 0, 0, 0, 0, 0, 0, 30, 0, 1, 2,917 0, 0, 42, 23, 0, 0, 0, 24, 25, 0,
917 3, 4, 5, 31, 32, 33, 34, 7, 0, 8,918 26, 27, 28, 0, 0, 0, 0, 0, 0, 0,
918 245, 0, 0, 0, 10, 11, 12, 0, 0, 35,919 0, 0, 30, 31, 0, 1, 2, 3, 4, 5,
919 0, 13, 0, 0, 0, 0, 0, 0, 0, 0,920 32, 33, 34, 35, 7, 266, 8, 0, 0, 0,
920 0, 0, 0, 0, 39, 0, 0, 40, 0, 0,921 0, 10, 11, 12, 0, 0, 36, 0, 13, 0,
921 41, 23, 0, 0, 0, 24, 25, 0, 26, 27,922 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
922 28, 0, 0, 0, 0, 0, 0, 0, 0, 0,923 0, 40, 0, 0, 41, 0, 0, 42, 23, 0,
923 30, 0, 1, 2, 3, 4, 5, 31, 32, 33,924 0, 0, 24, 25, 0, 26, 27, 28, 0, 0,
924 34, 7, 263, 8, 0, 0, 0, 0, 10, 11,925 0, 0, 0, 0, 0, 0, 0, 30, 31, 0,
925 12, 0, 0, 35, 0, 13, 0, 0, 0, 0,926 1, 2, 3, 4, 5, 32, 33, 34, 35, 7,
926 0, 0, 0, 0, 0, 0, 0, 0, 39, 0,927 0, 8, 0, 0, 0, 0, 10, 11, 12, 132,
927 0, 40, 0, 0, 41, 23, 0, 0, 0, 24,928 0, 36, 0, 13, 102, 2, 3, 4, 5, 0,
928 25, 0, 26, 27, 28, 0, 0, 0, 0, 0,929 0, 0, 0, 7, 0, 8, 40, 0, 0, 41,
929 0, 0, 0, 0, 30, 0, 1, 2, 3, 4,930 0, 0, 42, 23, 0, 0, 0, 24, 25, 0,
930 5, 31, 32, 33, 34, 7, 0, 8, 0, 0,931 26, 27, 28, 0, 0, 0, 0, 0, 0, 0,
931 0, 0, 10, 11, 12, 0, 0, 35, 0, 13,932 0, 0, 30, 31, 0, 0, 0, 0, 0, 0,
932 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,933 32, 33, 34, 35, 26, 27, 28, 0, 0, 0,
933 0, 0, 39, 0, 0, 40, 0, 0, 41, 23,934 0, 0, 0, 0, 0, 0, 36, 133, 134, 135,
934 0, 0, 0, 24, 25, 0, 26, 27, 28, 0,935 136, 137, 138, 139, 140, 141, 142, 0, 0, 0,
935 0, 0, 0, 0, 0, 0, 0, 0, 30, 0,936 143, 40, 0, 144, 41, 145, 146, 42, 0, 0,
936 0, 0, 0, 0, 0, 31, 32, 33, 34, 0,937 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
937 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,938 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
938 0, 35, 0, 0, 0, 0, 0, 0, 0, 0,939 0, 42
939 0, 0, 0, 0, 0, 0, 39, 0, 0, 40,
940 0, 0, 41
941};940};
942 941
943static const yytype_int16 yycheck[] =942static const yytype_int16 yycheck[] =
944{943{
945 30, 31, 17, 7, 8, 123, 50, 180, 82, 39,944 30, 31, 32, 17, 7, 8, 125, 51, 182, 83,
946 3, 4, 5, 6, 7, 94, 16, 3, 22, 12,945 40, 3, 4, 5, 6, 7, 95, 16, 3, 22,
947 16, 14, 26, 27, 28, 3, 19, 20, 21, 3,946 12, 16, 14, 26, 27, 28, 3, 19, 20, 21,
948 253, 0, 0, 297, 24, 25, 110, 41, 36, 113,947 3, 256, 0, 0, 0, 24, 25, 31, 112, 42,
949 9, 3, 32, 33, 0, 11, 3, 311, 26, 31,948 36, 115, 11, 9, 33, 34, 3, 16, 12, 26,
950 16, 13, 26, 46, 96, 97, 279, 50, 51, 282,949 12, 45, 14, 26, 46, 300, 18, 282, 50, 51,
951 53, 54, 55, 45, 26, 109, 64, 3, 4, 5,950 285, 53, 54, 55, 97, 98, 110, 111, 64, 314,
952 6, 7, 116, 117, 43, 43, 12, 250, 14, 72,951 3, 21, 22, 23, 118, 119, 44, 44, 44, 253,
953 73, 74, 12, 52, 70, 12, 11, 43, 92, 93,952 13, 73, 74, 75, 97, 98, 71, 53, 50, 51,
954 80, 16, 96, 96, 97, 88, 126, 75, 98, 99,953 93, 94, 81, 26, 97, 97, 98, 89, 128, 76,
955 107, 108, 98, 107, 178, 184, 12, 11, 14, 9,954 99, 100, 12, 11, 99, 108, 180, 186, 16, 26,
956 24, 25, 18, 106, 103, 104, 109, 53, 54, 55,955 27, 28, 29, 104, 105, 107, 87, 88, 110, 167,
957 293, 26, 27, 28, 29, 12, 130, 21, 22, 23,956 168, 169, 296, 159, 160, 161, 162, 108, 109, 132,
958 248, 96, 97, 251, 86, 87, 254, 19, 20, 169,957 24, 25, 251, 19, 20, 254, 157, 158, 257, 163,
959 157, 158, 159, 160, 50, 51, 150, 165, 166, 167,958 164, 171, 165, 166, 12, 12, 11, 0, 11, 152,
960 155, 156, 161, 162, 198, 163, 164, 231, 12, 11,959 3, 4, 5, 6, 7, 12, 3, 201, 11, 12,
961 3, 12, 88, 0, 11, 30, 47, 88, 172, 49,960 234, 14, 89, 16, 0, 11, 19, 20, 21, 30,
962 48, 90, 13, 109, 292, 52, 76, 77, 78, 79,961 47, 174, 48, 26, 49, 89, 295, 15, 52, 91,
963 80, 81, 82, 83, 84, 85, 15, 17, 28, 89,962 33, 13, 17, 36, 37, 38, 39, 40, 41, 18,
964 18, 195, 92, 11, 94, 95, 13, 13, 13, 70,963 43, 44, 11, 46, 28, 198, 13, 50, 51, 13,
965 14, 14, 9, 110, 3, 3, 70, 13, 13, 12,964 53, 54, 55, 13, 9, 71, 14, 14, 111, 3,
966 12, 3, 13, 13, 9, 35, 10, 14, 14, 98,965 3, 64, 65, 66, 13, 71, 13, 12, 14, 9,
967 13, 12, 43, 238, 239, 15, 13, 16, 243, 244,966 73, 74, 75, 76, 12, 14, 13, 241, 242, 13,
968 16, 15, 13, 13, 17, 17, 240, 241, 242, 99,967 3, 10, 246, 247, 15, 13, 89, 12, 100, 16,
969 0, 11, 11, 3, 4, 5, 6, 7, 263, 17,968 243, 244, 245, 35, 16, 15, 13, 13, 101, 102,
970 17, 11, 12, 283, 14, 13, 16, 9, 274, 19,969 103, 104, 266, 13, 107, 17, 286, 110, 99, 17,
971 20, 21, 312, 205, 148, 298, 26, 259, 151, 145,970 11, 11, 17, 17, 3, 4, 5, 6, 7, 13,
972 285, 168, 287, 33, 149, 171, 36, 37, 38, 39,971 44, 9, 11, 12, 288, 14, 290, 16, 17, 277,
973 40, 41, 312, 43, 44, 152, 46, 153, -1, -1,972 19, 20, 21, 315, 208, 315, 150, 26, 147, 301,
974 50, 51, 154, 53, 54, 55, -1, -1, -1, -1,973 262, 151, 170, 173, 33, 153, -1, 36, 37, 38,
975 -1, -1, -1, -1, 64, 65, -1, -1, -1, -1,974 39, 40, 41, 154, 43, 44, 155, 46, 156, -1,
976 -1, -1, 72, 73, 74, 75, -1, -1, -1, -1,975 -1, 50, 51, -1, 53, 54, 55, -1, -1, -1,
977 -1, 3, 4, 5, 6, 7, -1, -1, 88, 11,976 -1, -1, -1, -1, -1, 64, 65, 66, -1, -1,
978 12, -1, 14, -1, 16, 17, -1, 19, 20, 21,977 -1, -1, -1, -1, 73, 74, 75, 76, -1, -1,
979 100, 101, 102, 103, 26, -1, 106, -1, -1, 109,978 -1, -1, -1, 3, 4, 5, 6, 7, -1, -1,
980 -1, 33, -1, -1, 36, 37, 38, 39, 40, 41,979 89, 11, 12, -1, 14, -1, 16, 17, -1, 19,
981 -1, 43, 44, -1, 46, -1, -1, -1, 50, 51,980 20, 21, 101, 102, 103, 104, 26, -1, 107, -1,
982 -1, 53, 54, 55, -1, -1, -1, -1, -1, -1,981 -1, 110, -1, 33, -1, -1, 36, 37, 38, 39,
983 -1, -1, 64, 65, -1, -1, -1, -1, -1, -1,982 40, 41, -1, 43, 44, -1, 46, -1, -1, -1,
984 72, 73, 74, 75, -1, -1, -1, -1, -1, 3,983 50, 51, -1, 53, 54, 55, -1, -1, -1, -1,
985 4, 5, 6, 7, -1, -1, 88, 11, 12, -1,984 -1, -1, -1, -1, 64, 65, 66, -1, -1, -1,
986 14, -1, 16, 17, -1, 19, 20, 21, 100, 101,985 -1, -1, -1, 73, 74, 75, 76, -1, -1, -1,
987 102, 103, 26, -1, 106, -1, -1, 109, -1, 33,986 -1, -1, 3, 4, 5, 6, 7, -1, -1, 89,
988 -1, -1, 36, 37, 38, 39, 40, 41, -1, 43,987 11, 12, -1, 14, -1, 16, -1, -1, 19, 20,
989 44, -1, 46, -1, -1, -1, 50, 51, -1, 53,988 21, 101, 102, 103, 104, 26, -1, 107, -1, -1,
990 54, 55, -1, -1, -1, -1, -1, -1, -1, -1,989 110, -1, 33, -1, -1, 36, 37, 38, 39, 40,
991 64, 65, -1, -1, -1, -1, -1, -1, 72, 73,990 41, -1, 43, 44, -1, 46, -1, -1, -1, 50,
992 74, 75, -1, -1, -1, -1, -1, 3, 4, 5,991 51, -1, 53, 54, 55, -1, -1, -1, -1, -1,
993 6, 7, -1, -1, 88, 11, 12, -1, 14, -1,992 -1, -1, -1, 64, 65, 66, -1, -1, -1, -1,
994 16, -1, -1, 19, 20, 21, 100, 101, 102, 103,993 -1, -1, 73, 74, 75, 76, -1, -1, -1, -1,
995 26, -1, 106, -1, -1, 109, -1, 33, -1, -1,994 -1, 3, 4, 5, 6, 7, -1, -1, 89, 11,
996 36, 37, 38, 39, 40, 41, -1, 43, 44, -1,995 12, -1, 14, -1, 16, 17, -1, 19, 20, 21,
997 46, -1, -1, -1, 50, 51, -1, 53, 54, 55,996 101, 102, 103, 104, 26, -1, 107, -1, -1, 110,
998 -1, -1, -1, -1, -1, -1, -1, -1, 64, 65,997 -1, 33, -1, -1, 36, 37, 38, 39, 40, 41,
999 -1, -1, -1, -1, -1, -1, 72, 73, 74, 75,998 -1, -1, 44, -1, 46, -1, -1, -1, 50, 51,
1000 -1, -1, -1, -1, -1, 3, 4, 5, 6, 7,999 -1, 53, 54, 55, -1, -1, -1, -1, -1, -1,
1001 -1, -1, 88, 11, 12, -1, 14, -1, 16, 17,1000 -1, -1, 64, 65, 66, -1, -1, -1, -1, -1,
1002 -1, 19, 20, 21, 100, 101, 102, 103, 26, -1,1001 -1, 73, 74, 75, 76, -1, -1, 3, 4, 5,
1003 106, -1, -1, 109, -1, 33, -1, -1, 36, 37,1002 6, 7, -1, -1, -1, 11, 12, 89, 14, -1,
1004 38, 39, 40, 41, -1, -1, 44, -1, 46, -1,1003 16, -1, -1, 19, 20, 21, -1, -1, -1, -1,
1005 -1, -1, 50, 51, -1, 53, 54, 55, -1, -1,1004 26, -1, 104, -1, -1, 107, -1, 33, 110, -1,
1006 -1, -1, -1, -1, -1, -1, 64, 65, -1, -1,1005 36, 37, 38, 39, 40, 41, -1, -1, 44, -1,
1007 -1, -1, -1, -1, 72, 73, 74, 75, -1, -1,1006 46, -1, -1, -1, 50, 51, -1, 53, 54, 55,
1008 3, 4, 5, 6, 7, -1, -1, -1, 11, 12,1007 -1, -1, -1, -1, -1, -1, -1, -1, 64, 65,
1009 88, 14, -1, 16, -1, -1, 19, 20, 21, -1,1008 66, -1, 3, 4, 5, 6, 7, 73, 74, 75,
1010 -1, -1, -1, 26, -1, 103, -1, -1, 106, -1,1009 76, 12, 13, 14, -1, -1, -1, -1, 19, 20,
1011 33, 109, -1, 36, 37, 38, 39, 40, 41, -1,1010 21, -1, -1, 89, -1, 26, -1, -1, -1, -1,
1012 -1, 44, -1, 46, -1, -1, -1, 50, 51, -1,1011 -1, -1, -1, -1, -1, -1, -1, -1, 104, -1,
1013 53, 54, 55, -1, -1, -1, -1, -1, -1, -1,1012 -1, 107, -1, -1, 110, 46, -1, -1, -1, 50,
1014 -1, 64, 65, -1, 3, 4, 5, 6, 7, 72,1013 51, -1, 53, 54, 55, -1, -1, -1, -1, -1,
1015 73, 74, 75, 12, 13, 14, -1, -1, -1, -1,1014 -1, -1, -1, -1, 65, 66, -1, -1, -1, -1,
1016 19, 20, 21, -1, -1, 88, -1, 26, -1, -1,1015 -1, -1, 73, 74, 75, 76, 3, 4, 5, 6,
1017 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,1016 7, -1, -1, -1, 11, 12, -1, 14, 89, -1,
1018 103, -1, -1, 106, -1, -1, 109, 46, -1, -1,1017 -1, -1, 19, 20, 21, -1, -1, -1, -1, 26,
1019 -1, 50, 51, -1, 53, 54, 55, -1, -1, -1,1018 -1, -1, -1, 104, -1, -1, 107, -1, -1, 110,
1020 -1, -1, -1, -1, -1, -1, 65, -1, -1, -1,1019 -1, -1, -1, -1, -1, -1, -1, -1, -1, 46,
1021 -1, -1, -1, 72, 73, 74, 75, 3, 4, 5,1020 -1, -1, -1, 50, 51, -1, 53, 54, 55, -1,
1022 6, 7, -1, -1, -1, 11, 12, -1, 14, 88,1021 -1, -1, -1, -1, -1, -1, -1, -1, 65, 66,
1023 -1, -1, -1, 19, 20, 21, -1, -1, -1, -1,1022 -1, -1, -1, -1, -1, -1, 73, 74, 75, 76,
1024 26, -1, -1, -1, 103, -1, -1, 106, -1, -1,1023 3, 4, 5, 6, 7, -1, -1, -1, 11, 12,
1025 109, -1, -1, -1, -1, -1, -1, -1, -1, -1,1024 -1, 14, 89, -1, -1, -1, 19, 20, 21, -1,
1026 46, -1, -1, -1, 50, 51, -1, 53, 54, 55,1025 -1, -1, -1, 26, -1, -1, -1, 104, -1, -1,
1027 -1, -1, -1, -1, -1, -1, -1, -1, -1, 65,1026 107, -1, -1, 110, -1, -1, -1, -1, -1, -1,
1028 -1, -1, -1, -1, -1, -1, 72, 73, 74, 75,1027 -1, -1, -1, 46, -1, -1, -1, 50, 51, -1,
1029 3, 4, 5, 6, 7, -1, -1, -1, 11, 12,1028 53, 54, 55, -1, -1, -1, -1, -1, -1, -1,
1030 -1, 14, 88, -1, -1, -1, 19, 20, 21, -1,1029 -1, -1, 65, 66, -1, 3, 4, 5, 6, 7,
1031 -1, -1, -1, 26, -1, -1, -1, 103, -1, -1,1030 73, 74, 75, 76, 12, 13, 14, -1, -1, -1,
1032 106, -1, -1, 109, -1, -1, -1, -1, -1, -1,1031 -1, 19, 20, 21, -1, -1, 89, -1, 26, -1,
1033 -1, -1, -1, 46, -1, -1, -1, 50, 51, -1,1032 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1034 53, 54, 55, -1, -1, -1, -1, -1, -1, -1,1033 -1, 104, -1, -1, 107, -1, -1, 110, 46, -1,
1035 -1, -1, 65, -1, 3, 4, 5, 6, 7, 72,1034 -1, -1, 50, 51, -1, 53, 54, 55, -1, -1,
1036 73, 74, 75, 12, 13, 14, -1, -1, -1, -1,1035 -1, -1, -1, -1, -1, -1, -1, 65, 66, -1,
1037 19, 20, 21, -1, -1, 88, -1, 26, -1, -1,1036 3, 4, 5, 6, 7, 73, 74, 75, 76, 12,
1038 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,1037 -1, 14, 15, -1, -1, -1, 19, 20, 21, -1,
1039 103, -1, -1, 106, -1, -1, 109, 46, -1, -1,1038 -1, 89, -1, 26, -1, -1, -1, -1, -1, -1,
1040 -1, 50, 51, -1, 53, 54, 55, -1, -1, -1,1039 -1, -1, -1, -1, -1, -1, 104, -1, -1, 107,
1041 -1, -1, -1, -1, -1, -1, 65, -1, 3, 4,1040 -1, -1, 110, 46, -1, -1, -1, 50, 51, -1,
1042 5, 6, 7, 72, 73, 74, 75, 12, -1, 14,1041 53, 54, 55, -1, -1, -1, -1, -1, -1, -1,
1043 15, -1, -1, -1, 19, 20, 21, -1, -1, 88,1042 -1, -1, 65, 66, -1, 3, 4, 5, 6, 7,
1044 -1, 26, -1, -1, -1, -1, -1, -1, -1, -1,1043 73, 74, 75, 76, 12, 13, 14, -1, -1, -1,
1045 -1, -1, -1, -1, 103, -1, -1, 106, -1, -1,1044 -1, 19, 20, 21, -1, -1, 89, -1, 26, -1,
1046 109, 46, -1, -1, -1, 50, 51, -1, 53, 54,1045 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1047 55, -1, -1, -1, -1, -1, -1, -1, -1, -1,1046 -1, 104, -1, -1, 107, -1, -1, 110, 46, -1,
1048 65, -1, 3, 4, 5, 6, 7, 72, 73, 74,1047 -1, -1, 50, 51, -1, 53, 54, 55, -1, -1,
1049 75, 12, 13, 14, -1, -1, -1, -1, 19, 20,1048 -1, -1, -1, -1, -1, -1, -1, 65, 66, -1,
1050 21, -1, -1, 88, -1, 26, -1, -1, -1, -1,1049 3, 4, 5, 6, 7, 73, 74, 75, 76, 12,
1051 -1, -1, -1, -1, -1, -1, -1, -1, 103, -1,1050 -1, 14, -1, -1, -1, -1, 19, 20, 21, 9,
1052 -1, 106, -1, -1, 109, 46, -1, -1, -1, 50,1051 -1, 89, -1, 26, 3, 4, 5, 6, 7, -1,
1053 51, -1, 53, 54, 55, -1, -1, -1, -1, -1,1052 -1, -1, -1, 12, -1, 14, 104, -1, -1, 107,
1054 -1, -1, -1, -1, 65, -1, 3, 4, 5, 6,1053 -1, -1, 110, 46, -1, -1, -1, 50, 51, -1,
1055 7, 72, 73, 74, 75, 12, -1, 14, -1, -1,1054 53, 54, 55, -1, -1, -1, -1, -1, -1, -1,
1056 -1, -1, 19, 20, 21, -1, -1, 88, -1, 26,1055 -1, -1, 65, 66, -1, -1, -1, -1, -1, -1,
1057 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,1056 73, 74, 75, 76, 53, 54, 55, -1, -1, -1,
1058 -1, -1, 103, -1, -1, 106, -1, -1, 109, 46,1057 -1, -1, -1, -1, -1, -1, 89, 77, 78, 79,
1059 -1, -1, -1, 50, 51, -1, 53, 54, 55, -1,1058 80, 81, 82, 83, 84, 85, 86, -1, -1, -1,
1060 -1, -1, -1, -1, -1, -1, -1, -1, 65, -1,1059 90, 104, -1, 93, 107, 95, 96, 110, -1, -1,
1061 -1, -1, -1, -1, -1, 72, 73, 74, 75, -1,1060 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1062 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,1061 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1063 -1, 88, -1, -1, -1, -1, -1, -1, -1, -1,1062 -1, 110
1064 -1, -1, -1, -1, -1, -1, 103, -1, -1, 106,
1065 -1, -1, 109
1066};1063};
1067 1064
1068/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing1065 /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
1069symbol of state STATE-NUM. */1066 symbol of state STATE-NUM. */
1070static const yytype_uint8 yystos[] =1067static const yytype_uint8 yystos[] =
1071{1068{
1072 0, 3, 4, 5, 6, 7, 11, 12, 14, 16,1069 0, 3, 4, 5, 6, 7, 11, 12, 14, 16,
1073 19, 20, 21, 26, 33, 36, 37, 38, 39, 40,1070 19, 20, 21, 26, 33, 36, 37, 38, 39, 40,
1074 41, 43, 44, 46, 50, 51, 53, 54, 55, 64,1071 41, 43, 44, 46, 50, 51, 53, 54, 55, 64,
1075 65, 72, 73, 74, 75, 88, 100, 101, 102, 103,1072 65, 66, 73, 74, 75, 76, 89, 101, 102, 103,
1076 106, 109, 112, 113, 114, 122, 123, 124, 126, 127,1073 104, 107, 110, 113, 114, 115, 123, 124, 125, 127,
1077 128, 131, 132, 133, 134, 135, 136, 137, 138, 139,1074 128, 129, 132, 133, 134, 135, 136, 137, 138, 139,
1078 140, 141, 143, 146, 147, 148, 151, 152, 153, 154,1075 140, 141, 142, 144, 147, 148, 149, 152, 153, 154,
1079 155, 156, 157, 158, 159, 160, 161, 162, 163, 164,1076 155, 156, 157, 158, 159, 160, 161, 162, 163, 164,
1080 165, 166, 167, 168, 70, 13, 138, 138, 17, 131,1077 165, 166, 167, 168, 169, 71, 13, 139, 139, 17,
1081 3, 121, 12, 12, 12, 132, 12, 11, 11, 11,1078 132, 3, 122, 12, 12, 12, 133, 12, 11, 11,
1082 138, 3, 164, 164, 138, 138, 138, 12, 3, 128,1079 11, 139, 3, 165, 165, 139, 139, 139, 12, 3,
1083 128, 164, 164, 3, 144, 145, 75, 128, 88, 138,1080 129, 129, 129, 165, 165, 3, 145, 146, 76, 129,
1084 0, 112, 96, 97, 103, 104, 125, 144, 131, 11,1081 89, 139, 0, 113, 97, 98, 104, 105, 126, 145,
1085 9, 76, 77, 78, 79, 80, 81, 82, 83, 84,1082 132, 11, 9, 77, 78, 79, 80, 81, 82, 83,
1086 85, 89, 92, 94, 95, 149, 107, 108, 150, 31,1083 84, 85, 86, 90, 93, 95, 96, 150, 108, 109,
1087 45, 30, 47, 49, 48, 24, 25, 26, 27, 28,1084 151, 31, 45, 30, 47, 49, 48, 24, 25, 26,
1088 29, 86, 87, 19, 20, 21, 22, 23, 88, 52,1085 27, 28, 29, 87, 88, 19, 20, 21, 22, 23,
1089 164, 90, 12, 18, 50, 51, 141, 13, 15, 17,1086 89, 52, 165, 91, 12, 18, 50, 51, 142, 13,
1090 18, 28, 138, 138, 137, 36, 64, 138, 11, 13,1087 15, 17, 18, 28, 139, 139, 138, 36, 64, 139,
1091 13, 13, 138, 144, 141, 14, 141, 142, 9, 144,1088 11, 13, 13, 13, 139, 145, 145, 142, 14, 142,
1092 144, 110, 3, 120, 120, 128, 129, 138, 140, 143,1089 143, 9, 145, 145, 111, 3, 121, 121, 129, 130,
1093 153, 138, 154, 155, 156, 157, 158, 158, 159, 159,1090 139, 141, 144, 154, 139, 155, 156, 157, 158, 159,
1094 159, 159, 160, 160, 161, 161, 162, 162, 162, 163,1091 159, 160, 160, 160, 160, 161, 161, 162, 162, 163,
1095 128, 167, 13, 138, 3, 141, 121, 70, 13, 13,1092 163, 163, 164, 129, 168, 13, 139, 3, 142, 122,
1096 137, 12, 12, 13, 13, 15, 14, 144, 9, 16,1093 71, 13, 13, 138, 12, 12, 13, 13, 15, 14,
1097 98, 99, 115, 16, 98, 119, 14, 142, 3, 10,1094 145, 9, 16, 99, 100, 116, 16, 99, 120, 14,
1098 13, 132, 132, 13, 138, 138, 138, 132, 132, 15,1095 143, 3, 10, 13, 133, 133, 13, 139, 139, 139,
1099 120, 114, 116, 117, 118, 122, 131, 121, 120, 16,1096 133, 133, 15, 121, 115, 117, 118, 119, 123, 132,
1100 116, 120, 16, 12, 151, 35, 132, 13, 13, 13,1097 122, 121, 16, 117, 121, 16, 12, 152, 35, 133,
1101 17, 117, 99, 98, 116, 17, 116, 13, 128, 130,1098 13, 13, 13, 17, 118, 100, 99, 117, 17, 117,
1102 132, 132, 11, 11, 120, 121, 17, 17, 11, 136,1099 13, 129, 131, 133, 133, 11, 11, 121, 122, 17,
1103 145, 13, 9, 11, 136, 1301100 17, 11, 137, 146, 13, 9, 11, 137, 131
1104};1101};
1105 1102
1106/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */1103 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
1107static const yytype_uint8 yyr1[] =1104static const yytype_uint8 yyr1[] =
1108{1105{
1109 0, 111, 112, 112, 113, 113, 113, 114, 114, 114,1106 0, 112, 113, 113, 114, 114, 114, 115, 115, 115,
1110 114, 115, 115, 115, 115, 116, 116, 117, 117, 118,1107 115, 116, 116, 116, 116, 117, 117, 118, 118, 119,
1111 118, 118, 119, 120, 120, 121, 121, 122, 122, 122,1108 119, 119, 120, 121, 121, 122, 122, 123, 123, 123,
1112 122, 123, 123, 123, 124, 124, 124, 124, 125, 125,1109 123, 124, 124, 124, 125, 125, 125, 125, 126, 126,
1113 125, 126, 126, 127, 127, 128, 128, 129, 129, 130,1110 126, 127, 127, 128, 128, 129, 129, 130, 130, 131,
1114 130, 131, 131, 132, 132, 132, 132, 132, 133, 133,1111 131, 132, 132, 133, 133, 133, 133, 133, 134, 134,
1115 133, 133, 134, 134, 135, 135, 135, 135, 135, 135,1112 134, 134, 135, 135, 136, 136, 136, 136, 136, 136,
1116 135, 136, 136, 137, 137, 138, 138, 139, 139, 140,1113 136, 137, 137, 138, 138, 139, 139, 140, 140, 141,
1117 140, 141, 141, 142, 142, 143, 143, 143, 143, 143,1114 141, 142, 142, 143, 143, 144, 144, 144, 144, 144,
1118 143, 144, 144, 145, 145, 145, 146, 147, 148, 149,1115 144, 144, 145, 145, 146, 146, 146, 147, 148, 149,
1119 149, 149, 149, 149, 149, 149, 149, 149, 149, 149,1116 150, 150, 150, 150, 150, 150, 150, 150, 150, 150,
1120 149, 149, 149, 150, 150, 151, 151, 152, 152, 153,1117 150, 150, 150, 150, 151, 151, 152, 152, 153, 153,
1121 153, 154, 154, 155, 155, 156, 156, 157, 157, 157,1118 154, 154, 155, 155, 156, 156, 157, 157, 158, 158,
1122 158, 158, 158, 158, 158, 159, 159, 159, 160, 160,1119 158, 159, 159, 159, 159, 159, 160, 160, 160, 161,
1123 160, 161, 161, 161, 161, 162, 162, 163, 163, 164,1120 161, 161, 162, 162, 162, 162, 163, 163, 164, 164,
1124 164, 164, 164, 164, 164, 164, 164, 165, 165, 165,1121 165, 165, 165, 165, 165, 165, 165, 165, 166, 166,
1125 165, 165, 165, 166, 166, 167, 167, 167, 167, 167,1122 166, 166, 166, 166, 167, 167, 168, 168, 168, 168,
1126 167, 167, 168, 168, 168, 168, 168, 168, 168, 168,1123 168, 168, 168, 169, 169, 169, 169, 169, 169, 169,
1127 168, 168, 168, 1681124 169, 169, 169, 169, 169
1128};1125};
1129 1126
1130/* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */1127 /* YYR2[YYN] -- Number of symbols on the right hand side of rule YYN. */
1131static const yytype_uint8 yyr2[] =1128static const yytype_uint8 yyr2[] =
1132{1129{
1133 0, 2, 1, 2, 1, 1, 1, 6, 7, 6,1130 0, 2, 1, 2, 1, 1, 1, 6, 7, 6,
1134 7, 2, 4, 2, 4, 1, 0, 1, 2, 1,1131 7, 2, 4, 2, 4, 1, 0, 1, 2, 1,
1135 1, 1, 2, 1, 3, 1, 3, 8, 7, 8,1132 1, 1, 2, 1, 3, 1, 3, 8, 7, 8,
1136 7, 1, 1, 0, 1, 1, 1, 1, 1, 1,1133 7, 1, 1, 0, 1, 1, 1, 1, 1, 1,
1137 0, 1, 2, 3, 4, 1, 1, 1, 2, 2,1134 0, 1, 2, 3, 4, 1, 1, 1, 2, 2,
1138 4, 1, 2, 1, 1, 1, 1, 1, 2, 3,1135 4, 1, 2, 1, 1, 1, 1, 1, 2, 3,
1139 2, 2, 5, 7, 5, 7, 6, 7, 5, 7,1136 2, 2, 5, 7, 5, 7, 6, 7, 5, 7,
1140 5, 2, 3, 1, 2, 1, 3, 1, 3, 1,1137 5, 2, 3, 1, 2, 1, 3, 1, 3, 1,
1141 3, 3, 4, 2, 3, 1, 2, 3, 3, 2,1138 3, 3, 4, 2, 3, 1, 2, 3, 3, 3,
1142 3, 1, 3, 1, 2, 2, 3, 3, 3, 1,1139 2, 3, 1, 3, 1, 2, 2, 3, 3, 3,
1143 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,1140 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1144 1, 1, 1, 1, 1, 1, 5, 1, 3, 1,1141 1, 1, 1, 1, 1, 1, 1, 5, 1, 3,
1145 3, 1, 3, 1, 3, 1, 3, 1, 3, 3,1142 1, 3, 1, 3, 1, 3, 1, 3, 1, 3,
1146 1, 3, 3, 3, 3, 1, 3, 3, 1, 3,1143 3, 1, 3, 3, 3, 3, 1, 3, 3, 1,
1147 3, 1, 3, 3, 3, 1, 3, 1, 3, 1,1144 3, 3, 1, 3, 3, 3, 1, 3, 1, 3,
1148 2, 2, 2, 2, 2, 2, 3, 1, 1, 1,1145 1, 2, 2, 2, 2, 2, 2, 3, 1, 1,
1149 1, 1, 2, 1, 3, 1, 2, 3, 4, 3,1146 1, 1, 1, 2, 1, 3, 1, 2, 3, 4,
1150 2, 2, 1, 1, 1, 1, 1, 1, 1, 1,1147 3, 2, 2, 1, 1, 1, 1, 1, 1, 1,
1151 1, 3, 3, 21148 1, 1, 3, 3, 2
1152};1149};
1153 1150
1154 1151
@@ -1226,15 +1223,15 @@ do { \ · 71 unmodified lines
1226static void1223static void
1227yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)1224yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
1228{1225{
1229 FILE *yyo = yyoutput;1226 FILE *yyo = yyoutput;
1230 YYUSE (yyo);1227 YYUSE (yyo);
1231 if (!yyvaluep)1228 if (!yyvaluep)
1232 return;1229 return;
1233# ifdef YYPRINT1230# ifdef YYPRINT
1234 if (yytype < YYNTOKENS)1231 if (yytype < YYNTOKENS)
1235 YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);1232 YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
1236# endif1233# endif
1237 YYUSE (yytype);1234 YYUSE (yytype);
1238}1235}
1239 1236
1240 1237
@@ -1245,11 +1242,11 @@ yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvalue · 4 unmodified lines
1245static void1242static void
1246yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)1243yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
1247{1244{
1248 YYFPRINTF (yyoutput, "%s %s (",1245 YYFPRINTF (yyoutput, "%s %s (",
1249 yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]);1246 yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]);
1250 1247
1251 yy_symbol_value_print (yyoutput, yytype, yyvaluep);1248 yy_symbol_value_print (yyoutput, yytype, yyvaluep);
1252 YYFPRINTF (yyoutput, ")");1249 YYFPRINTF (yyoutput, ")");
1253}1250}
1254 1251
1255/*------------------------------------------------------------------.1252/*------------------------------------------------------------------.
@@ -1260,13 +1257,13 @@ yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep) · 4 unmodified lines
1260static void1257static void
1261yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop)1258yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop)
1262{1259{
1263 YYFPRINTF (stderr, "Stack now");1260 YYFPRINTF (stderr, "Stack now");
1264 for (; yybottom <= yytop; yybottom++)1261 for (; yybottom <= yytop; yybottom++)
1265 {1262 {
1266 int yybot = *yybottom;1263 int yybot = *yybottom;
1267 YYFPRINTF (stderr, " %d", yybot);1264 YYFPRINTF (stderr, " %d", yybot);
1268 }1265 }
1269 YYFPRINTF (stderr, "\n");1266 YYFPRINTF (stderr, "\n");
1270}1267}
1271 1268
1272# define YY_STACK_PRINT(Bottom, Top) \1269# define YY_STACK_PRINT(Bottom, Top) \
@@ -1283,20 +1280,20 @@ do { \ · 10 unmodified lines
1283static void1280static void
1284yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule)1281yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule)
1285{1282{
1286 unsigned long int yylno = yyrline[yyrule];1283 unsigned long int yylno = yyrline[yyrule];
1287 int yynrhs = yyr2[yyrule];1284 int yynrhs = yyr2[yyrule];
1288 int yyi;1285 int yyi;
1289 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",1286 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
1290 yyrule - 1, yylno);1287 yyrule - 1, yylno);
1291 /* The symbols being reduced. */1288 /* The symbols being reduced. */
1292 for (yyi = 0; yyi < yynrhs; yyi++)1289 for (yyi = 0; yyi < yynrhs; yyi++)
1293 {1290 {
1294 YYFPRINTF (stderr, " $%d = ", yyi + 1);1291 YYFPRINTF (stderr, " $%d = ", yyi + 1);
1295 yy_symbol_print (stderr,1292 yy_symbol_print (stderr,
1296 yystos[yyssp[yyi + 1 - yynrhs]],1293 yystos[yyssp[yyi + 1 - yynrhs]],
1297 &(yyvsp[(yyi + 1) - (yynrhs)])1294 &(yyvsp[(yyi + 1) - (yynrhs)])
1298 );1295 );
1299 YYFPRINTF (stderr, "\n");1296 YYFPRINTF (stderr, "\n");
1300 }1297 }
1301}1298}
1302 1299
@@ -1307,7 +1304,7 @@ do { \ · 4 unmodified lines
1307} while (0)1304} while (0)
1308 1305
1309/* Nonzero means print parse trace. It is left uninitialized so that1306/* Nonzero means print parse trace. It is left uninitialized so that
1310multiple parsers can coexist. */1307 multiple parsers can coexist. */
1311int yydebug;1308int yydebug;
1312#else /* !YYDEBUG */1309#else /* !YYDEBUG */
1313# define YYDPRINTF(Args)1310# define YYDPRINTF(Args)
@@ -1323,11 +1320,11 @@ int yydebug; · 9 unmodified lines
1323#endif1320#endif
1324 1321
1325/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only1322/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
1326if the built-in stack extension method is used).1323 if the built-in stack extension method is used).
1327 1324
1328Do not make this value too large; the results are undefined if1325 Do not make this value too large; the results are undefined if
1329YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)1326 YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)
1330evaluated with infinite-precision integer arithmetic. */1327 evaluated with infinite-precision integer arithmetic. */
1331 1328
1332#ifndef YYMAXDEPTH1329#ifndef YYMAXDEPTH
1333# define YYMAXDEPTH 100001330# define YYMAXDEPTH 10000
@@ -1344,10 +1341,10 @@ evaluated with infinite-precision integer arithmetic. */ · 10 unmodified lines
1344static YYSIZE_T1341static YYSIZE_T
1345yystrlen (const char *yystr)1342yystrlen (const char *yystr)
1346{1343{
1347 YYSIZE_T yylen;1344 YYSIZE_T yylen;
1348 for (yylen = 0; yystr[yylen]; yylen++)1345 for (yylen = 0; yystr[yylen]; yylen++)
1349 continue;1346 continue;
1350 return yylen;1347 return yylen;
1351}1348}
1352# endif1349# endif
1353# endif1350# endif
@@ -1357,202 +1354,202 @@ yystrlen (const char *yystr) · 3 unmodified lines
1357# define yystpcpy stpcpy1354# define yystpcpy stpcpy
1358# else1355# else
1359/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in1356/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
1360YYDEST. */1357 YYDEST. */
1361static char *1358static char *
1362yystpcpy (char *yydest, const char *yysrc)1359yystpcpy (char *yydest, const char *yysrc)
1363{1360{
1364 char *yyd = yydest;1361 char *yyd = yydest;
1365 const char *yys = yysrc;1362 const char *yys = yysrc;
1366 1363
1367 while ((*yyd++ = *yys++) != '\0')1364 while ((*yyd++ = *yys++) != '\0')
1368 continue;1365 continue;
1369 1366
1370 return yyd - 1;1367 return yyd - 1;
1371}1368}
1372# endif1369# endif
1373# endif1370# endif
1374 1371
1375# ifndef yytnamerr1372# ifndef yytnamerr
1376/* Copy to YYRES the contents of YYSTR after stripping away unnecessary1373/* Copy to YYRES the contents of YYSTR after stripping away unnecessary
1377quotes and backslashes, so that it's suitable for yyerror. The1374 quotes and backslashes, so that it's suitable for yyerror. The
1378heuristic is that double-quoting is unnecessary unless the string1375 heuristic is that double-quoting is unnecessary unless the string
1379contains an apostrophe, a comma, or backslash (other than1376 contains an apostrophe, a comma, or backslash (other than
1380backslash-backslash). YYSTR is taken from yytname. If YYRES is1377 backslash-backslash). YYSTR is taken from yytname. If YYRES is
1381null, do not copy; instead, return the length of what the result1378 null, do not copy; instead, return the length of what the result
1382would have been. */1379 would have been. */
1383static YYSIZE_T1380static YYSIZE_T
1384yytnamerr (char *yyres, const char *yystr)1381yytnamerr (char *yyres, const char *yystr)
1385{1382{
1386 if (*yystr == '"')1383 if (*yystr == '"')
1387 {1384 {
1388 YYSIZE_T yyn = 0;1385 YYSIZE_T yyn = 0;
1389 char const *yyp = yystr;1386 char const *yyp = yystr;
1390 1387
1391 for (;;)1388 for (;;)
1392 switch (*++yyp)1389 switch (*++yyp)
1393 {1390 {
1394 case '\'':1391 case '\'':
1395 case ',':1392 case ',':
1396 goto do_not_strip_quotes;1393 goto do_not_strip_quotes;
1397 1394
1398 case '\\':1395 case '\\':
1399 if (*++yyp != '\\')1396 if (*++yyp != '\\')
1400 goto do_not_strip_quotes;1397 goto do_not_strip_quotes;
1401 /* Fall through. */1398 /* Fall through. */
1402 default:1399 default:
1403 if (yyres)1400 if (yyres)
1404 yyres[yyn] = *yyp;1401 yyres[yyn] = *yyp;
1405 yyn++;1402 yyn++;
1406 break;1403 break;
1407 1404
1408 case '"':1405 case '"':
1409 if (yyres)1406 if (yyres)
1410 yyres[yyn] = '\0';1407 yyres[yyn] = '\0';
1411 return yyn;1408 return yyn;
1412 }1409 }
1413 do_not_strip_quotes: ;1410 do_not_strip_quotes: ;
1414 }1411 }
1415 1412
1416 if (! yyres)1413 if (! yyres)
1417 return yystrlen (yystr);1414 return yystrlen (yystr);
1418 1415
1419 return yystpcpy (yyres, yystr) - yyres;1416 return yystpcpy (yyres, yystr) - yyres;
1420}1417}
1421# endif1418# endif
1422 1419
1423/* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message1420/* Copy into *YYMSG, which is of size *YYMSG_ALLOC, an error message
1424about the unexpected token YYTOKEN for the state stack whose top is1421 about the unexpected token YYTOKEN for the state stack whose top is
1425YYSSP.1422 YYSSP.
1426 1423
1427Return 0 if *YYMSG was successfully written. Return 1 if *YYMSG is1424 Return 0 if *YYMSG was successfully written. Return 1 if *YYMSG is
1428not large enough to hold the message. In that case, also set1425 not large enough to hold the message. In that case, also set
1429*YYMSG_ALLOC to the required number of bytes. Return 2 if the1426 *YYMSG_ALLOC to the required number of bytes. Return 2 if the
1430required number of bytes is too large to store. */1427 required number of bytes is too large to store. */
1431static int1428static int
1432yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,1429yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg,
1433 yytype_int16 *yyssp, int yytoken)1430 yytype_int16 *yyssp, int yytoken)
1434{1431{
1435 YYSIZE_T yysize0 = yytnamerr (YY_NULLPTR, yytname[yytoken]);1432 YYSIZE_T yysize0 = yytnamerr (YY_NULLPTR, yytname[yytoken]);
1436 YYSIZE_T yysize = yysize0;1433 YYSIZE_T yysize = yysize0;
1437 enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };1434 enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
1438 /* Internationalized format string. */1435 /* Internationalized format string. */
1439 const char *yyformat = YY_NULLPTR;1436 const char *yyformat = YY_NULLPTR;
1440 /* Arguments of yyformat. */1437 /* Arguments of yyformat. */
1441 char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];1438 char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
1442 /* Number of reported tokens (one for the "unexpected", one per1439 /* Number of reported tokens (one for the "unexpected", one per
1443 "expected"). */1440 "expected"). */
1444 int yycount = 0;1441 int yycount = 0;
1445 1442
1446 /* There are many possibilities here to consider:1443 /* There are many possibilities here to consider:
1447 - If this state is a consistent state with a default action, then1444 - If this state is a consistent state with a default action, then
1448 the only way this function was invoked is if the default action1445 the only way this function was invoked is if the default action
1449 is an error action. In that case, don't check for expected1446 is an error action. In that case, don't check for expected
1450 tokens because there are none.1447 tokens because there are none.
1451 - The only way there can be no lookahead present (in yychar) is if1448 - The only way there can be no lookahead present (in yychar) is if
1452 this state is a consistent state with a default action. Thus,1449 this state is a consistent state with a default action. Thus,
1453 detecting the absence of a lookahead is sufficient to determine1450 detecting the absence of a lookahead is sufficient to determine
1454 that there is no unexpected or expected token to report. In that1451 that there is no unexpected or expected token to report. In that
1455 case, just report a simple "syntax error".1452 case, just report a simple "syntax error".
1456 - Don't assume there isn't a lookahead just because this state is a1453 - Don't assume there isn't a lookahead just because this state is a
1457 consistent state with a default action. There might have been a1454 consistent state with a default action. There might have been a
1458 previous inconsistent state, consistent state with a non-default1455 previous inconsistent state, consistent state with a non-default
1459 action, or user semantic action that manipulated yychar.1456 action, or user semantic action that manipulated yychar.
1460 - Of course, the expected token list depends on states to have1457 - Of course, the expected token list depends on states to have
1461 correct lookahead information, and it depends on the parser not1458 correct lookahead information, and it depends on the parser not
1462 to perform extra reductions after fetching a lookahead from the1459 to perform extra reductions after fetching a lookahead from the
1463 scanner and before detecting a syntax error. Thus, state merging1460 scanner and before detecting a syntax error. Thus, state merging
1464 (from LALR or IELR) and default reductions corrupt the expected1461 (from LALR or IELR) and default reductions corrupt the expected
1465 token list. However, the list is correct for canonical LR with1462 token list. However, the list is correct for canonical LR with
1466 one exception: it will still contain any token that will not be1463 one exception: it will still contain any token that will not be
1467 accepted due to an error action in a later state.1464 accepted due to an error action in a later state.
1468 */1465 */
1469 if (yytoken != YYEMPTY)1466 if (yytoken != YYEMPTY)
1470 {1467 {
1471 int yyn = yypact[*yyssp];1468 int yyn = yypact[*yyssp];
1472 yyarg[yycount++] = yytname[yytoken];1469 yyarg[yycount++] = yytname[yytoken];
1473 if (!yypact_value_is_default (yyn))1470 if (!yypact_value_is_default (yyn))
1474 {1471 {
1475 /* Start YYX at -YYN if negative to avoid negative indexes in1472 /* Start YYX at -YYN if negative to avoid negative indexes in
1476 YYCHECK. In other words, skip the first -YYN actions for1473 YYCHECK. In other words, skip the first -YYN actions for
1477 this state because they are default actions. */1474 this state because they are default actions. */
1478 int yyxbegin = yyn < 0 ? -yyn : 0;1475 int yyxbegin = yyn < 0 ? -yyn : 0;
1479 /* Stay within bounds of both yycheck and yytname. */1476 /* Stay within bounds of both yycheck and yytname. */
1480 int yychecklim = YYLAST - yyn + 1;1477 int yychecklim = YYLAST - yyn + 1;
1481 int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;1478 int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
1482 int yyx;1479 int yyx;
1483 1480
1484 for (yyx = yyxbegin; yyx < yyxend; ++yyx)1481 for (yyx = yyxbegin; yyx < yyxend; ++yyx)
1485 if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR1482 if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR
1486 && !yytable_value_is_error (yytable[yyx + yyn]))1483 && !yytable_value_is_error (yytable[yyx + yyn]))
1484 {
1485 if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
1486 {
1487 yycount = 1;
1488 yysize = yysize0;
1489 break;
1490 }
1491 yyarg[yycount++] = yytname[yyx];
1487 {1492 {
1488 if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)1493 YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULLPTR, yytname[yyx]);
1489 {1494 if (! (yysize <= yysize1
1490 yycount = 1;1495 && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
1491 yysize = yysize0;1496 return 2;
1492 break;1497 yysize = yysize1;
1493 }
1494 yyarg[yycount++] = yytname[yyx];
1495 {
1496 YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULLPTR, yytname[yyx]);
1497 if (! (yysize <= yysize1
1498 && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
1499 return 2;
1500 yysize = yysize1;
1501 }
1502 }1498 }
1499 }
1503 }1500 }
1504 }1501 }
1505 1502
1506 switch (yycount)1503 switch (yycount)
1507 {1504 {
1508# define YYCASE_(N, S) \1505# define YYCASE_(N, S) \
1509 case N: \1506 case N: \
1510 yyformat = S; \1507 yyformat = S; \
1511 break1508 break
1512 YYCASE_(0, YY_("syntax error"));1509 YYCASE_(0, YY_("syntax error"));
1513 YYCASE_(1, YY_("syntax error, unexpected %s"));1510 YYCASE_(1, YY_("syntax error, unexpected %s"));
1514 YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));1511 YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s"));
1515 YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));1512 YYCASE_(3, YY_("syntax error, unexpected %s, expecting %s or %s"));
1516 YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));1513 YYCASE_(4, YY_("syntax error, unexpected %s, expecting %s or %s or %s"));
1517 YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));1514 YYCASE_(5, YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s"));
1518# undef YYCASE_1515# undef YYCASE_
1519 }1516 }
1520 1517
1521 {1518 {
1522 YYSIZE_T yysize1 = yysize + yystrlen (yyformat);1519 YYSIZE_T yysize1 = yysize + yystrlen (yyformat);
1523 if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM))1520 if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM))
1524 return 2;1521 return 2;
1525 yysize = yysize1;1522 yysize = yysize1;
1526 }1523 }
1527 1524
1528 if (*yymsg_alloc < yysize)1525 if (*yymsg_alloc < yysize)
1529 {1526 {
1530 *yymsg_alloc = 2 * yysize;1527 *yymsg_alloc = 2 * yysize;
1531 if (! (yysize <= *yymsg_alloc1528 if (! (yysize <= *yymsg_alloc
1532 && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM))1529 && *yymsg_alloc <= YYSTACK_ALLOC_MAXIMUM))
1533 *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM;1530 *yymsg_alloc = YYSTACK_ALLOC_MAXIMUM;
1534 return 1;1531 return 1;
1535 }1532 }
1536 1533
1537 /* Avoid sprintf, as that infringes on the user's name space.1534 /* Avoid sprintf, as that infringes on the user's name space.
1538 Don't have undefined behavior even if the translation1535 Don't have undefined behavior even if the translation
1539 produced a string with the wrong number of "%s"s. */1536 produced a string with the wrong number of "%s"s. */
1540 {1537 {
1541 char *yyp = *yymsg;1538 char *yyp = *yymsg;
1542 int yyi = 0;1539 int yyi = 0;
1543 while ((*yyp = *yyformat) != '\0')1540 while ((*yyp = *yyformat) != '\0')
1544 if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)1541 if (*yyp == '%' && yyformat[1] == 's' && yyi < yycount)
1545 {1542 {
1546 yyp += yytnamerr (yyp, yyarg[yyi++]);1543 yyp += yytnamerr (yyp, yyarg[yyi++]);
1547 yyformat += 2;1544 yyformat += 2;
1548 }1545 }
1549 else1546 else
1550 {1547 {
1551 yyp++;1548 yyp++;
1552 yyformat++;1549 yyformat++;
1553 }1550 }
1554 }1551 }
1555 return 0;1552 return 0;
1556}1553}
1557#endif /* YYERROR_VERBOSE */1554#endif /* YYERROR_VERBOSE */
1558 1555
@@ -1563,14 +1560,14 @@ yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, · 4 unmodified lines
1563static void1560static void
1564yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)1561yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)
1565{1562{
1566 YYUSE (yyvaluep);1563 YYUSE (yyvaluep);
1567 if (!yymsg)1564 if (!yymsg)
1568 yymsg = "Deleting";1565 yymsg = "Deleting";
1569 YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);1566 YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
1570 1567
1571 YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN1568 YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
1572 YYUSE (yytype);1569 YYUSE (yytype);
1573 YY_IGNORE_MAYBE_UNINITIALIZED_END1570 YY_IGNORE_MAYBE_UNINITIALIZED_END
1574}1571}
1575 1572
1576 1573
@@ -1597,11 +1594,11 @@ yyparse (void) · 20 unmodified lines
1597 int yyerrstatus;1594 int yyerrstatus;
1598 1595
1599 /* The stacks and their tools:1596 /* The stacks and their tools:
1600 'yyss': related to states.1597 'yyss': related to states.
1601 'yyvs': related to semantic values.1598 'yyvs': related to semantic values.
1602 1599
1603 Refer to the stacks through separate pointers, to allow yyoverflow1600 Refer to the stacks through separate pointers, to allow yyoverflow
1604 to reallocate them elsewhere. */1601 to reallocate them elsewhere. */
1605 1602
1606 /* The state stack. */1603 /* The state stack. */
1607 yytype_int16 yyssa[YYINITDEPTH];1604 yytype_int16 yyssa[YYINITDEPTH];
@@ -1615,1533 +1612,1539 @@ yyparse (void) · 7 unmodified lines
1615 1612
1616 YYSIZE_T yystacksize;1613 YYSIZE_T yystacksize;
1617 1614
1618 int yyn;1615 int yyn;
1619 int yyresult;1616 int yyresult;
1620 /* Lookahead token as an internal (translated) token number. */1617 /* Lookahead token as an internal (translated) token number. */
1621 int yytoken = 0;1618 int yytoken = 0;
1622 /* The variables used to return semantic value and location from the1619 /* The variables used to return semantic value and location from the
1623 action routines. */1620 action routines. */
1624 YYSTYPE yyval;1621 YYSTYPE yyval;
1625 1622
1626#if YYERROR_VERBOSE1623#if YYERROR_VERBOSE
1627 /* Buffer for error messages, and its allocated size. */1624 /* Buffer for error messages, and its allocated size. */
1628 char yymsgbuf[128];1625 char yymsgbuf[128];
1629 char *yymsg = yymsgbuf;1626 char *yymsg = yymsgbuf;
1630 YYSIZE_T yymsg_alloc = sizeof yymsgbuf;1627 YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
1631#endif1628#endif
1632 1629
1633#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N))1630#define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N))
1634 1631
1635 /* The number of symbols on the RHS of the reduced rule.1632 /* The number of symbols on the RHS of the reduced rule.
1636 Keep to zero when no symbol should be popped. */1633 Keep to zero when no symbol should be popped. */
1637 int yylen = 0;1634 int yylen = 0;
1638 1635
1639 yyssp = yyss = yyssa;1636 yyssp = yyss = yyssa;
1640 yyvsp = yyvs = yyvsa;1637 yyvsp = yyvs = yyvsa;
1641 yystacksize = YYINITDEPTH;1638 yystacksize = YYINITDEPTH;
1642 1639
1643 YYDPRINTF ((stderr, "Starting parse\n"));1640 YYDPRINTF ((stderr, "Starting parse\n"));
1644 1641
1645 yystate = 0;1642 yystate = 0;
1646 yyerrstatus = 0;1643 yyerrstatus = 0;
1647 yynerrs = 0;1644 yynerrs = 0;
1648 yychar = YYEMPTY; /* Cause a token to be read. */1645 yychar = YYEMPTY; /* Cause a token to be read. */
1649 goto yysetstate;1646 goto yysetstate;
1650 1647
1651 /*------------------------------------------------------------.1648/*------------------------------------------------------------.
1652 | yynewstate -- Push a new state, which is found in yystate. |1649| yynewstate -- Push a new state, which is found in yystate. |
1653 `------------------------------------------------------------*/1650`------------------------------------------------------------*/
1654yynewstate:1651 yynewstate:
1655 /* In all cases, when you get here, the value and location stacks1652 /* In all cases, when you get here, the value and location stacks
1656 have just been pushed. So pushing a state here evens the stacks. */1653 have just been pushed. So pushing a state here evens the stacks. */
1657 yyssp++;1654 yyssp++;
1658 1655
1659yysetstate:1656 yysetstate:
1660 *yyssp = yystate;1657 *yyssp = yystate;
1661 1658
1662 if (yyss + yystacksize - 1 <= yyssp)1659 if (yyss + yystacksize - 1 <= yyssp)
1663 {1660 {
1664 /* Get the current used size of the three stacks, in elements. */1661 /* Get the current used size of the three stacks, in elements. */
1665 YYSIZE_T yysize = yyssp - yyss + 1;1662 YYSIZE_T yysize = yyssp - yyss + 1;
1666 1663
1667#ifdef yyoverflow1664#ifdef yyoverflow
1668 {1665 {
1669 /* Give user a chance to reallocate the stack. Use copies of1666 /* Give user a chance to reallocate the stack. Use copies of
1670 these so that the &'s don't force the real ones into1667 these so that the &'s don't force the real ones into
1671 memory. */1668 memory. */
1672 YYSTYPE *yyvs1 = yyvs;1669 YYSTYPE *yyvs1 = yyvs;
1673 yytype_int16 *yyss1 = yyss;1670 yytype_int16 *yyss1 = yyss;
1674 1671
1675 /* Each stack pointer address is followed by the size of the1672 /* Each stack pointer address is followed by the size of the
1676 data in use in that stack, in bytes. This used to be a1673 data in use in that stack, in bytes. This used to be a
1677 conditional around just the two extra args, but that might1674 conditional around just the two extra args, but that might
1678 be undefined if yyoverflow is a macro. */1675 be undefined if yyoverflow is a macro. */
1679 yyoverflow (YY_("memory exhausted"),1676 yyoverflow (YY_("memory exhausted"),
1680 &yyss1, yysize * sizeof (*yyssp),1677 &yyss1, yysize * sizeof (*yyssp),
1681 &yyvs1, yysize * sizeof (*yyvsp),1678 &yyvs1, yysize * sizeof (*yyvsp),
1682 &yystacksize);1679 &yystacksize);
1683 1680
1684 yyss = yyss1;1681 yyss = yyss1;
1685 yyvs = yyvs1;1682 yyvs = yyvs1;
1686 }1683 }
1687#else /* no yyoverflow */1684#else /* no yyoverflow */
1688# ifndef YYSTACK_RELOCATE1685# ifndef YYSTACK_RELOCATE
1689 goto yyexhaustedlab;1686 goto yyexhaustedlab;
1690# else1687# else
1691 /* Extend the stack our own way. */1688 /* Extend the stack our own way. */
1692 if (YYMAXDEPTH <= yystacksize)1689 if (YYMAXDEPTH <= yystacksize)
1693 goto yyexhaustedlab;1690 goto yyexhaustedlab;
1694 yystacksize *= 2;1691 yystacksize *= 2;
1695 if (YYMAXDEPTH < yystacksize)1692 if (YYMAXDEPTH < yystacksize)
1696 yystacksize = YYMAXDEPTH;1693 yystacksize = YYMAXDEPTH;
1697 1694
1698 {1695 {
1699 yytype_int16 *yyss1 = yyss;1696 yytype_int16 *yyss1 = yyss;
1700 union yyalloc *yyptr =1697 union yyalloc *yyptr =
1701 (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));1698 (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
1702 if (! yyptr)1699 if (! yyptr)
1703 goto yyexhaustedlab;1700 goto yyexhaustedlab;
1704 YYSTACK_RELOCATE (yyss_alloc, yyss);1701 YYSTACK_RELOCATE (yyss_alloc, yyss);
1705 YYSTACK_RELOCATE (yyvs_alloc, yyvs);1702 YYSTACK_RELOCATE (yyvs_alloc, yyvs);
1706# undef YYSTACK_RELOCATE1703# undef YYSTACK_RELOCATE
1707 if (yyss1 != yyssa)1704 if (yyss1 != yyssa)
1708 YYSTACK_FREE (yyss1);1705 YYSTACK_FREE (yyss1);
1709 }1706 }
1710# endif1707# endif
1711#endif /* no yyoverflow */1708#endif /* no yyoverflow */
1712 1709
1713 yyssp = yyss + yysize - 1;1710 yyssp = yyss + yysize - 1;
1714 yyvsp = yyvs + yysize - 1;1711 yyvsp = yyvs + yysize - 1;
1715 1712
1716 YYDPRINTF ((stderr, "Stack size increased to %lu\n",1713 YYDPRINTF ((stderr, "Stack size increased to %lu\n",
1717 (unsigned long int) yystacksize));1714 (unsigned long int) yystacksize));
1718 1715
1719 if (yyss + yystacksize - 1 <= yyssp)1716 if (yyss + yystacksize - 1 <= yyssp)
1720 YYABORT;1717 YYABORT;
1721 }1718 }
1722 1719
1723 YYDPRINTF ((stderr, "Entering state %d\n", yystate));1720 YYDPRINTF ((stderr, "Entering state %d\n", yystate));
1724 1721
1725 if (yystate == YYFINAL)1722 if (yystate == YYFINAL)
1726 YYACCEPT;1723 YYACCEPT;
1727 1724
1728 goto yybackup;1725 goto yybackup;
1729 1726
1730 /*-----------.1727/*-----------.
1731 | yybackup. |1728| yybackup. |
1732 `-----------*/1729`-----------*/
1733yybackup:1730yybackup:
1734 1731
1735 /* Do appropriate processing given the current state. Read a1732 /* Do appropriate processing given the current state. Read a
1736 lookahead token if we need one and don't already have one. */1733 lookahead token if we need one and don't already have one. */
1737 1734
1738 /* First try to decide what to do without reference to lookahead token. */1735 /* First try to decide what to do without reference to lookahead token. */
1739 yyn = yypact[yystate];1736 yyn = yypact[yystate];
1740 if (yypact_value_is_default (yyn))1737 if (yypact_value_is_default (yyn))
1741 goto yydefault;1738 goto yydefault;
1742 1739
1743 /* Not known => get a lookahead token if don't already have one. */1740 /* Not known => get a lookahead token if don't already have one. */
1744 1741
1745 /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */1742 /* YYCHAR is either YYEMPTY or YYEOF or a valid lookahead symbol. */
1746 if (yychar == YYEMPTY)1743 if (yychar == YYEMPTY)
1747 {1744 {
1748 YYDPRINTF ((stderr, "Reading a token: "));1745 YYDPRINTF ((stderr, "Reading a token: "));
1749 yychar = yylex ();1746 yychar = yylex ();
1750 }1747 }
1751 1748
1752 if (yychar <= YYEOF)1749 if (yychar <= YYEOF)
1753 {1750 {
1754 yychar = yytoken = YYEOF;1751 yychar = yytoken = YYEOF;
1755 YYDPRINTF ((stderr, "Now at end of input.\n"));1752 YYDPRINTF ((stderr, "Now at end of input.\n"));
1756 }1753 }
1757 else1754 else
1758 {1755 {
1759 yytoken = YYTRANSLATE (yychar);1756 yytoken = YYTRANSLATE (yychar);
1760 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);1757 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
1761 }1758 }
1762 1759
1763 /* If the proper action on seeing token YYTOKEN is to reduce or to1760 /* If the proper action on seeing token YYTOKEN is to reduce or to
1764 detect an error, take that action. */1761 detect an error, take that action. */
1765 yyn += yytoken;1762 yyn += yytoken;
1766 if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)1763 if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
1767 goto yydefault;1764 goto yydefault;
1768 yyn = yytable[yyn];1765 yyn = yytable[yyn];
1769 if (yyn <= 0)1766 if (yyn <= 0)
1770 {1767 {
1771 if (yytable_value_is_error (yyn))1768 if (yytable_value_is_error (yyn))
1772 goto yyerrlab;1769 goto yyerrlab;
1773 yyn = -yyn;1770 yyn = -yyn;
1774 goto yyreduce;1771 goto yyreduce;
1775 }1772 }
1776 1773
1777 /* Count tokens shifted since error; after three, turn off error1774 /* Count tokens shifted since error; after three, turn off error
1778 status. */1775 status. */
1779 if (yyerrstatus)1776 if (yyerrstatus)
1780 yyerrstatus--;1777 yyerrstatus--;
1781 1778
1782 /* Shift the lookahead token. */1779 /* Shift the lookahead token. */
1783 YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);1780 YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
1784 1781
1785 /* Discard the shifted token. */1782 /* Discard the shifted token. */
1786 yychar = YYEMPTY;1783 yychar = YYEMPTY;
1787 1784
1788 yystate = yyn;1785 yystate = yyn;
1789 YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN1786 YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
1790 *++yyvsp = yylval;1787 *++yyvsp = yylval;
1791 YY_IGNORE_MAYBE_UNINITIALIZED_END1788 YY_IGNORE_MAYBE_UNINITIALIZED_END
1792 1789
1793 goto yynewstate;1790 goto yynewstate;
1794 1791
1795 1792
1796 /*-----------------------------------------------------------.1793/*-----------------------------------------------------------.
1797 | yydefault -- do the default action for the current state. |1794| yydefault -- do the default action for the current state. |
1798 `-----------------------------------------------------------*/1795`-----------------------------------------------------------*/
1799yydefault:1796yydefault:
1800 yyn = yydefact[yystate];1797 yyn = yydefact[yystate];
1801 if (yyn == 0)1798 if (yyn == 0)
1802 goto yyerrlab;1799 goto yyerrlab;
1803 goto yyreduce;1800 goto yyreduce;
1804 1801
1805 1802
1806 /*-----------------------------.1803/*-----------------------------.
1807 | yyreduce -- Do a reduction. |1804| yyreduce -- Do a reduction. |
1808 `-----------------------------*/1805`-----------------------------*/
1809yyreduce:1806yyreduce:
1810 /* yyn is the number of a rule to reduce with. */1807 /* yyn is the number of a rule to reduce with. */
1811 yylen = yyr2[yyn];1808 yylen = yyr2[yyn];
1812 1809
1813 /* If YYLEN is nonzero, implement the default value of the action:1810 /* If YYLEN is nonzero, implement the default value of the action:
1814 '$$ = $1'.1811 '$$ = $1'.
1815 1812
1816 Otherwise, the following line sets YYVAL to garbage.1813 Otherwise, the following line sets YYVAL to garbage.
1817 This behavior is undocumented and Bison1814 This behavior is undocumented and Bison
1818 users should not rely upon it. Assigning to YYVAL1815 users should not rely upon it. Assigning to YYVAL
1819 unconditionally makes the parser a bit smaller, and it avoids a1816 unconditionally makes the parser a bit smaller, and it avoids a
1820 GCC warning that YYVAL may be used uninitialized. */1817 GCC warning that YYVAL may be used uninitialized. */
1821 yyval = yyvsp[1-yylen];1818 yyval = yyvsp[1-yylen];
1822 1819
1823 1820
1824 YY_REDUCE_PRINT (yyn);1821 YY_REDUCE_PRINT (yyn);
1825 switch (yyn)1822 switch (yyn)
1826 {1823 {
1827 case 2:1824 case 2:
1828#line 182 "chuck.y" /* yacc.c:1646 */1825#line 183 "chuck.y" /* yacc.c:1646 */
1829 { (yyval.program) = g_program = new_program( (yyvsp[0].program_section), EM_lineNum ); }1826 { (yyval.program) = g_program = new_program( (yyvsp[0].program_section), EM_lineNum ); }
1830#line 1831 "chuck.tab.c" /* yacc.c:1646 */1827#line 1828 "chuck.tab.c" /* yacc.c:1646 */
1831 break;1828 break;
1832 1829
1833 case 3:1830 case 3:
1834#line 183 "chuck.y" /* yacc.c:1646 */1831#line 184 "chuck.y" /* yacc.c:1646 */
1835 { (yyval.program) = g_program = prepend_program( (yyvsp[-1].program_section), (yyvsp[0].program), EM_lineNum ); }1832 { (yyval.program) = g_program = prepend_program( (yyvsp[-1].program_section), (yyvsp[0].program), EM_lineNum ); }
1836#line 1837 "chuck.tab.c" /* yacc.c:1646 */1833#line 1834 "chuck.tab.c" /* yacc.c:1646 */
1837 break;1834 break;
1838 1835
1839 case 4:1836 case 4:
1840#line 187 "chuck.y" /* yacc.c:1646 */1837#line 188 "chuck.y" /* yacc.c:1646 */
1841 { (yyval.program_section) = new_section_stmt( (yyvsp[0].stmt_list), EM_lineNum ); }1838 { (yyval.program_section) = new_section_stmt( (yyvsp[0].stmt_list), EM_lineNum ); }
1842#line 1843 "chuck.tab.c" /* yacc.c:1646 */1839#line 1840 "chuck.tab.c" /* yacc.c:1646 */
1843 break;1840 break;
1844 1841
1845 case 5:1842 case 5:
1846#line 188 "chuck.y" /* yacc.c:1646 */1843#line 189 "chuck.y" /* yacc.c:1646 */
1847 { (yyval.program_section) = new_section_func_def( (yyvsp[0].func_def), EM_lineNum ); }1844 { (yyval.program_section) = new_section_func_def( (yyvsp[0].func_def), EM_lineNum ); }
1848#line 1849 "chuck.tab.c" /* yacc.c:1646 */1845#line 1846 "chuck.tab.c" /* yacc.c:1646 */
1849 break;1846 break;
1850 1847
1851 case 6:1848 case 6:
1852#line 189 "chuck.y" /* yacc.c:1646 */1849#line 190 "chuck.y" /* yacc.c:1646 */
1853 { (yyval.program_section) = new_section_class_def( (yyvsp[0].class_def), EM_lineNum ); }1850 { (yyval.program_section) = new_section_class_def( (yyvsp[0].class_def), EM_lineNum ); }
1854#line 1855 "chuck.tab.c" /* yacc.c:1646 */1851#line 1852 "chuck.tab.c" /* yacc.c:1646 */
1855 break;1852 break;
1856 1853
1857 case 7:1854 case 7:
1858#line 194 "chuck.y" /* yacc.c:1646 */1855#line 195 "chuck.y" /* yacc.c:1646 */
1859 { (yyval.class_def) = new_class_def( (yyvsp[-5].ival), (yyvsp[-3].id_list), NULL, (yyvsp[-1].class_body), EM_lineNum ); }1856 { (yyval.class_def) = new_class_def( (yyvsp[-5].ival), (yyvsp[-3].id_list), NULL, (yyvsp[-1].class_body), EM_lineNum ); }
1860#line 1861 "chuck.tab.c" /* yacc.c:1646 */1857#line 1858 "chuck.tab.c" /* yacc.c:1646 */
1861 break;1858 break;
1862 1859
1863 case 8:1860 case 8:
1864#line 196 "chuck.y" /* yacc.c:1646 */1861#line 197 "chuck.y" /* yacc.c:1646 */
1865 { (yyval.class_def) = new_class_def( (yyvsp[-6].ival), (yyvsp[-4].id_list), (yyvsp[-3].class_ext), (yyvsp[-1].class_body), EM_lineNum ); }1862 { (yyval.class_def) = new_class_def( (yyvsp[-6].ival), (yyvsp[-4].id_list), (yyvsp[-3].class_ext), (yyvsp[-1].class_body), EM_lineNum ); }
1866#line 1867 "chuck.tab.c" /* yacc.c:1646 */1863#line 1864 "chuck.tab.c" /* yacc.c:1646 */
1867 break;1864 break;
1868 1865
1869 case 9:1866 case 9:
1870#line 198 "chuck.y" /* yacc.c:1646 */1867#line 199 "chuck.y" /* yacc.c:1646 */
1871 { (yyval.class_def) = new_iface_def( (yyvsp[-5].ival), (yyvsp[-3].id_list), NULL, (yyvsp[-1].class_body), EM_lineNum ); }1868 { (yyval.class_def) = new_iface_def( (yyvsp[-5].ival), (yyvsp[-3].id_list), NULL, (yyvsp[-1].class_body), EM_lineNum ); }
1872#line 1873 "chuck.tab.c" /* yacc.c:1646 */1869#line 1870 "chuck.tab.c" /* yacc.c:1646 */
1873 break;1870 break;
1874 1871
1875 case 10:1872 case 10:
1876#line 200 "chuck.y" /* yacc.c:1646 */1873#line 201 "chuck.y" /* yacc.c:1646 */
1877 { (yyval.class_def) = new_iface_def( (yyvsp[-6].ival), (yyvsp[-4].id_list), (yyvsp[-3].class_ext), (yyvsp[-1].class_body), EM_lineNum ); }1874 { (yyval.class_def) = new_iface_def( (yyvsp[-6].ival), (yyvsp[-4].id_list), (yyvsp[-3].class_ext), (yyvsp[-1].class_body), EM_lineNum ); }
1878#line 1879 "chuck.tab.c" /* yacc.c:1646 */1875#line 1876 "chuck.tab.c" /* yacc.c:1646 */
1879 break;1876 break;
1880 1877
1881 case 11:1878 case 11:
1882#line 204 "chuck.y" /* yacc.c:1646 */1879#line 205 "chuck.y" /* yacc.c:1646 */
1883 { (yyval.class_ext) = new_class_ext( NULL, (yyvsp[0].id_list), EM_lineNum ); }1880 { (yyval.class_ext) = new_class_ext( NULL, (yyvsp[0].id_list), EM_lineNum ); }
1884#line 1885 "chuck.tab.c" /* yacc.c:1646 */1881#line 1882 "chuck.tab.c" /* yacc.c:1646 */
1885 break;1882 break;
1886 1883
1887 case 12:1884 case 12:
1888#line 205 "chuck.y" /* yacc.c:1646 */1885#line 206 "chuck.y" /* yacc.c:1646 */
1889 { (yyval.class_ext) = new_class_ext( (yyvsp[0].id_list), (yyvsp[-2].id_list), EM_lineNum ); }1886 { (yyval.class_ext) = new_class_ext( (yyvsp[0].id_list), (yyvsp[-2].id_list), EM_lineNum ); }
1890#line 1891 "chuck.tab.c" /* yacc.c:1646 */1887#line 1888 "chuck.tab.c" /* yacc.c:1646 */
1891 break;1888 break;
1892 1889
1893 case 13:1890 case 13:
1894#line 206 "chuck.y" /* yacc.c:1646 */1891#line 207 "chuck.y" /* yacc.c:1646 */
1895 { (yyval.class_ext) = new_class_ext( (yyvsp[0].id_list), NULL, EM_lineNum ); }1892 { (yyval.class_ext) = new_class_ext( (yyvsp[0].id_list), NULL, EM_lineNum ); }
1896#line 1897 "chuck.tab.c" /* yacc.c:1646 */1893#line 1894 "chuck.tab.c" /* yacc.c:1646 */
1897 break;1894 break;
1898 1895
1899 case 14:1896 case 14:
1900#line 207 "chuck.y" /* yacc.c:1646 */1897#line 208 "chuck.y" /* yacc.c:1646 */
1901 { (yyval.class_ext) = new_class_ext( (yyvsp[-2].id_list), (yyvsp[0].id_list), EM_lineNum ); }1898 { (yyval.class_ext) = new_class_ext( (yyvsp[-2].id_list), (yyvsp[0].id_list), EM_lineNum ); }
1902#line 1903 "chuck.tab.c" /* yacc.c:1646 */1899#line 1900 "chuck.tab.c" /* yacc.c:1646 */
1903 break;1900 break;
1904 1901
1905 case 15:1902 case 15:
1906#line 211 "chuck.y" /* yacc.c:1646 */1903#line 212 "chuck.y" /* yacc.c:1646 */
1907 { (yyval.class_body) = (yyvsp[0].class_body); }1904 { (yyval.class_body) = (yyvsp[0].class_body); }
1908#line 1909 "chuck.tab.c" /* yacc.c:1646 */1905#line 1906 "chuck.tab.c" /* yacc.c:1646 */
1909 break;1906 break;
1910 1907
1911 case 16:1908 case 16:
1912#line 212 "chuck.y" /* yacc.c:1646 */1909#line 213 "chuck.y" /* yacc.c:1646 */
1913 { (yyval.class_body) = NULL; }1910 { (yyval.class_body) = NULL; }
1914#line 1915 "chuck.tab.c" /* yacc.c:1646 */1911#line 1912 "chuck.tab.c" /* yacc.c:1646 */
1915 break;1912 break;
1916 1913
1917 case 17:1914 case 17:
1918#line 216 "chuck.y" /* yacc.c:1646 */1915#line 217 "chuck.y" /* yacc.c:1646 */
1919 { (yyval.class_body) = new_class_body( (yyvsp[0].program_section), EM_lineNum ); }1916 { (yyval.class_body) = new_class_body( (yyvsp[0].program_section), EM_lineNum ); }
1920#line 1921 "chuck.tab.c" /* yacc.c:1646 */1917#line 1918 "chuck.tab.c" /* yacc.c:1646 */
1921 break;1918 break;
1922 1919
1923 case 18:1920 case 18:
1924#line 217 "chuck.y" /* yacc.c:1646 */1921#line 218 "chuck.y" /* yacc.c:1646 */
1925 { (yyval.class_body) = prepend_class_body( (yyvsp[-1].program_section), (yyvsp[0].class_body), EM_lineNum ); }1922 { (yyval.class_body) = prepend_class_body( (yyvsp[-1].program_section), (yyvsp[0].class_body), EM_lineNum ); }
1926#line 1927 "chuck.tab.c" /* yacc.c:1646 */1923#line 1924 "chuck.tab.c" /* yacc.c:1646 */
1927 break;1924 break;
1928 1925
1929 case 19:1926 case 19:
1930#line 222 "chuck.y" /* yacc.c:1646 */1927#line 223 "chuck.y" /* yacc.c:1646 */
1931 { (yyval.program_section) = new_section_stmt( (yyvsp[0].stmt_list), EM_lineNum ); }1928 { (yyval.program_section) = new_section_stmt( (yyvsp[0].stmt_list), EM_lineNum ); }
1932#line 1933 "chuck.tab.c" /* yacc.c:1646 */1929#line 1930 "chuck.tab.c" /* yacc.c:1646 */
1933 break;1930 break;
1934 1931
1935 case 20:1932 case 20:
1936#line 223 "chuck.y" /* yacc.c:1646 */1933#line 224 "chuck.y" /* yacc.c:1646 */
1937 { (yyval.program_section) = new_section_func_def( (yyvsp[0].func_def), EM_lineNum ); }1934 { (yyval.program_section) = new_section_func_def( (yyvsp[0].func_def), EM_lineNum ); }
1938#line 1939 "chuck.tab.c" /* yacc.c:1646 */1935#line 1936 "chuck.tab.c" /* yacc.c:1646 */
1939 break;1936 break;
1940 1937
1941 case 21:1938 case 21:
1942#line 224 "chuck.y" /* yacc.c:1646 */1939#line 225 "chuck.y" /* yacc.c:1646 */
1943 { (yyval.program_section) = new_section_class_def( (yyvsp[0].class_def), EM_lineNum ); }1940 { (yyval.program_section) = new_section_class_def( (yyvsp[0].class_def), EM_lineNum ); }
1944#line 1945 "chuck.tab.c" /* yacc.c:1646 */1941#line 1942 "chuck.tab.c" /* yacc.c:1646 */
1945 break;1942 break;
1946 1943
1947 case 22:1944 case 22:
1948#line 228 "chuck.y" /* yacc.c:1646 */1945#line 229 "chuck.y" /* yacc.c:1646 */
1949 { (yyval.class_ext) = new_class_ext( NULL, (yyvsp[0].id_list), EM_lineNum ); }1946 { (yyval.class_ext) = new_class_ext( NULL, (yyvsp[0].id_list), EM_lineNum ); }
1950#line 1951 "chuck.tab.c" /* yacc.c:1646 */1947#line 1948 "chuck.tab.c" /* yacc.c:1646 */
1951 break;1948 break;
1952 1949
1953 case 23:1950 case 23:
1954#line 232 "chuck.y" /* yacc.c:1646 */1951#line 233 "chuck.y" /* yacc.c:1646 */
1955 { (yyval.id_list) = new_id_list( (yyvsp[0].sval), EM_lineNum ); }1952 { (yyval.id_list) = new_id_list( (yyvsp[0].sval), EM_lineNum ); }
1956#line 1957 "chuck.tab.c" /* yacc.c:1646 */1953#line 1954 "chuck.tab.c" /* yacc.c:1646 */
1957 break;1954 break;
1958 1955
1959 case 24:1956 case 24:
1960#line 233 "chuck.y" /* yacc.c:1646 */1957#line 234 "chuck.y" /* yacc.c:1646 */
1961 { (yyval.id_list) = prepend_id_list( (yyvsp[-2].sval), (yyvsp[0].id_list), EM_lineNum ); }1958 { (yyval.id_list) = prepend_id_list( (yyvsp[-2].sval), (yyvsp[0].id_list), EM_lineNum ); }
1962#line 1963 "chuck.tab.c" /* yacc.c:1646 */1959#line 1960 "chuck.tab.c" /* yacc.c:1646 */
1963 break;1960 break;
1964 1961
1965 case 25:1962 case 25:
1966#line 237 "chuck.y" /* yacc.c:1646 */1963#line 238 "chuck.y" /* yacc.c:1646 */
1967 { (yyval.id_list) = new_id_list( (yyvsp[0].sval), EM_lineNum ); }1964 { (yyval.id_list) = new_id_list( (yyvsp[0].sval), EM_lineNum ); }
1968#line 1969 "chuck.tab.c" /* yacc.c:1646 */1965#line 1966 "chuck.tab.c" /* yacc.c:1646 */
1969 break;1966 break;
1970 1967
1971 case 26:1968 case 26:
1972#line 238 "chuck.y" /* yacc.c:1646 */1969#line 239 "chuck.y" /* yacc.c:1646 */
1973 { (yyval.id_list) = prepend_id_list( (yyvsp[-2].sval), (yyvsp[0].id_list), EM_lineNum ); }1970 { (yyval.id_list) = prepend_id_list( (yyvsp[-2].sval), (yyvsp[0].id_list), EM_lineNum ); }
1974#line 1975 "chuck.tab.c" /* yacc.c:1646 */1971#line 1972 "chuck.tab.c" /* yacc.c:1646 */
1975 break;1972 break;
1976 1973
1977 case 27:1974 case 27:
1978#line 243 "chuck.y" /* yacc.c:1646 */1975#line 244 "chuck.y" /* yacc.c:1646 */
1979 { (yyval.func_def) = new_func_def( (yyvsp[-7].ival), (yyvsp[-6].ival), (yyvsp[-5].type_decl), (yyvsp[-4].sval), (yyvsp[-2].arg_list), (yyvsp[0].stmt), EM_lineNum ); }1976 { (yyval.func_def) = new_func_def( (yyvsp[-7].ival), (yyvsp[-6].ival), (yyvsp[-5].type_decl), (yyvsp[-4].sval), (yyvsp[-2].arg_list), (yyvsp[0].stmt), EM_lineNum ); }
1980#line 1981 "chuck.tab.c" /* yacc.c:1646 */1977#line 1978 "chuck.tab.c" /* yacc.c:1646 */
1981 break;1978 break;
1982 1979
1983 case 28:1980 case 28:
1984#line 245 "chuck.y" /* yacc.c:1646 */1981#line 246 "chuck.y" /* yacc.c:1646 */
1985 { (yyval.func_def) = new_func_def( (yyvsp[-6].ival), (yyvsp[-5].ival), (yyvsp[-4].type_decl), (yyvsp[-3].sval), NULL, (yyvsp[0].stmt), EM_lineNum ); }1982 { (yyval.func_def) = new_func_def( (yyvsp[-6].ival), (yyvsp[-5].ival), (yyvsp[-4].type_decl), (yyvsp[-3].sval), NULL, (yyvsp[0].stmt), EM_lineNum ); }
1986#line 1987 "chuck.tab.c" /* yacc.c:1646 */1983#line 1984 "chuck.tab.c" /* yacc.c:1646 */
1987 break;1984 break;
1988 1985
1989 case 29:1986 case 29:
1990#line 247 "chuck.y" /* yacc.c:1646 */1987#line 248 "chuck.y" /* yacc.c:1646 */
1991 { (yyval.func_def) = new_func_def( (yyvsp[-7].ival), (yyvsp[-6].ival), (yyvsp[-5].type_decl), (yyvsp[-4].sval), (yyvsp[-2].arg_list), NULL, EM_lineNum ); }1988 { (yyval.func_def) = new_func_def( (yyvsp[-7].ival), (yyvsp[-6].ival), (yyvsp[-5].type_decl), (yyvsp[-4].sval), (yyvsp[-2].arg_list), NULL, EM_lineNum ); }
1992#line 1993 "chuck.tab.c" /* yacc.c:1646 */1989#line 1990 "chuck.tab.c" /* yacc.c:1646 */
1993 break;1990 break;
1994 1991
1995 case 30:1992 case 30:
1996#line 249 "chuck.y" /* yacc.c:1646 */1993#line 250 "chuck.y" /* yacc.c:1646 */
1997 { (yyval.func_def) = new_func_def( (yyvsp[-6].ival), (yyvsp[-5].ival), (yyvsp[-4].type_decl), (yyvsp[-3].sval), NULL, NULL, EM_lineNum ); }1994 { (yyval.func_def) = new_func_def( (yyvsp[-6].ival), (yyvsp[-5].ival), (yyvsp[-4].type_decl), (yyvsp[-3].sval), NULL, NULL, EM_lineNum ); }
1998#line 1999 "chuck.tab.c" /* yacc.c:1646 */1995#line 1996 "chuck.tab.c" /* yacc.c:1646 */
1999 break;1996 break;
2000 1997
2001 case 31:1998 case 31:
2002#line 253 "chuck.y" /* yacc.c:1646 */1999#line 254 "chuck.y" /* yacc.c:1646 */
2003 { (yyval.ival) = ae_key_public; }2000 { (yyval.ival) = ae_key_public; }
2004#line 2005 "chuck.tab.c" /* yacc.c:1646 */2001#line 2002 "chuck.tab.c" /* yacc.c:1646 */
2005 break;2002 break;
2006 2003
2007 case 32:2004 case 32:
2008#line 254 "chuck.y" /* yacc.c:1646 */2005#line 255 "chuck.y" /* yacc.c:1646 */
2009 { (yyval.ival) = ae_key_private; }2006 { (yyval.ival) = ae_key_private; }
2010#line 2011 "chuck.tab.c" /* yacc.c:1646 */2007#line 2008 "chuck.tab.c" /* yacc.c:1646 */
2011 break;2008 break;
2012 2009
2013 case 33:2010 case 33:
2014#line 255 "chuck.y" /* yacc.c:1646 */2011#line 256 "chuck.y" /* yacc.c:1646 */
2015 { (yyval.ival) = ae_key_private; }2012 { (yyval.ival) = ae_key_private; }
2016#line 2017 "chuck.tab.c" /* yacc.c:1646 */2013#line 2014 "chuck.tab.c" /* yacc.c:1646 */
2017 break;2014 break;
2018 2015
2019 case 34:2016 case 34:
2020#line 259 "chuck.y" /* yacc.c:1646 */2017#line 260 "chuck.y" /* yacc.c:1646 */
2021 { (yyval.ival) = ae_key_func; }2018 { (yyval.ival) = ae_key_func; }
2022#line 2023 "chuck.tab.c" /* yacc.c:1646 */2019#line 2020 "chuck.tab.c" /* yacc.c:1646 */
2023 break;2020 break;
2024 2021
2025 case 35:2022 case 35:
2026#line 260 "chuck.y" /* yacc.c:1646 */2023#line 261 "chuck.y" /* yacc.c:1646 */
2027 { (yyval.ival) = ae_key_public; }2024 { (yyval.ival) = ae_key_public; }
2028#line 2029 "chuck.tab.c" /* yacc.c:1646 */2025#line 2026 "chuck.tab.c" /* yacc.c:1646 */
2029 break;2026 break;
2030 2027
2031 case 36:2028 case 36:
2032#line 261 "chuck.y" /* yacc.c:1646 */2029#line 262 "chuck.y" /* yacc.c:1646 */
2033 { (yyval.ival) = ae_key_protected; }2030 { (yyval.ival) = ae_key_protected; }
2034#line 2035 "chuck.tab.c" /* yacc.c:1646 */2031#line 2032 "chuck.tab.c" /* yacc.c:1646 */
2035 break;2032 break;
2036 2033
2037 case 37:2034 case 37:
2038#line 262 "chuck.y" /* yacc.c:1646 */2035#line 263 "chuck.y" /* yacc.c:1646 */
2039 { (yyval.ival) = ae_key_private; }2036 { (yyval.ival) = ae_key_private; }
2040#line 2041 "chuck.tab.c" /* yacc.c:1646 */2037#line 2038 "chuck.tab.c" /* yacc.c:1646 */
2041 break;2038 break;
2042 2039
2043 case 38:2040 case 38:
2044#line 266 "chuck.y" /* yacc.c:1646 */2041#line 267 "chuck.y" /* yacc.c:1646 */
2045 { (yyval.ival) = ae_key_static; }2042 { (yyval.ival) = ae_key_static; }
2046#line 2047 "chuck.tab.c" /* yacc.c:1646 */2043#line 2044 "chuck.tab.c" /* yacc.c:1646 */
2047 break;2044 break;
2048 2045
2049 case 39:2046 case 39:
2050#line 267 "chuck.y" /* yacc.c:1646 */2047#line 268 "chuck.y" /* yacc.c:1646 */
2051 { (yyval.ival) = ae_key_abstract; }2048 { (yyval.ival) = ae_key_abstract; }
2052#line 2053 "chuck.tab.c" /* yacc.c:1646 */2049#line 2050 "chuck.tab.c" /* yacc.c:1646 */
2053 break;2050 break;
2054 2051
2055 case 40:2052 case 40:
2056#line 268 "chuck.y" /* yacc.c:1646 */2053#line 269 "chuck.y" /* yacc.c:1646 */
2057 { (yyval.ival) = ae_key_instance; }2054 { (yyval.ival) = ae_key_instance; }
2058#line 2059 "chuck.tab.c" /* yacc.c:1646 */2055#line 2056 "chuck.tab.c" /* yacc.c:1646 */
2059 break;2056 break;
2060 2057
2061 case 41:2058 case 41:
2062#line 272 "chuck.y" /* yacc.c:1646 */2059#line 273 "chuck.y" /* yacc.c:1646 */
2063 { (yyval.type_decl) = new_type_decl( new_id_list( (yyvsp[0].sval), EM_lineNum ), 0, EM_lineNum ); }2060 { (yyval.type_decl) = new_type_decl( new_id_list( (yyvsp[0].sval), EM_lineNum ), 0, EM_lineNum ); }
2064#line 2065 "chuck.tab.c" /* yacc.c:1646 */2061#line 2062 "chuck.tab.c" /* yacc.c:1646 */
2065 break;2062 break;
2066 2063
2067 case 42:2064 case 42:
2068#line 273 "chuck.y" /* yacc.c:1646 */2065#line 274 "chuck.y" /* yacc.c:1646 */
2069 { (yyval.type_decl) = new_type_decl( new_id_list( (yyvsp[-1].sval), EM_lineNum ), 1, EM_lineNum ); }2066 { (yyval.type_decl) = new_type_decl( new_id_list( (yyvsp[-1].sval), EM_lineNum ), 1, EM_lineNum ); }
2070#line 2071 "chuck.tab.c" /* yacc.c:1646 */2067#line 2068 "chuck.tab.c" /* yacc.c:1646 */
2071 break;2068 break;
2072 2069
2073 case 43:2070 case 43:
2074#line 277 "chuck.y" /* yacc.c:1646 */2071#line 278 "chuck.y" /* yacc.c:1646 */
2075 { (yyval.type_decl) = new_type_decl( (yyvsp[-1].id_list), 0, EM_lineNum ); }2072 { (yyval.type_decl) = new_type_decl( (yyvsp[-1].id_list), 0, EM_lineNum ); }
2076#line 2077 "chuck.tab.c" /* yacc.c:1646 */2073#line 2074 "chuck.tab.c" /* yacc.c:1646 */
2077 break;2074 break;
2078 2075
2079 case 44:2076 case 44:
2080#line 278 "chuck.y" /* yacc.c:1646 */2077#line 279 "chuck.y" /* yacc.c:1646 */
2081 { (yyval.type_decl) = new_type_decl( (yyvsp[-2].id_list), 1, EM_lineNum ); }2078 { (yyval.type_decl) = new_type_decl( (yyvsp[-2].id_list), 1, EM_lineNum ); }
2082#line 2083 "chuck.tab.c" /* yacc.c:1646 */2079#line 2080 "chuck.tab.c" /* yacc.c:1646 */
2083 break;2080 break;
2084 2081
2085 case 45:2082 case 45:
2086#line 287 "chuck.y" /* yacc.c:1646 */2083#line 288 "chuck.y" /* yacc.c:1646 */
2087 { (yyval.type_decl) = (yyvsp[0].type_decl); }2084 { (yyval.type_decl) = (yyvsp[0].type_decl); }
2088#line 2089 "chuck.tab.c" /* yacc.c:1646 */2085#line 2086 "chuck.tab.c" /* yacc.c:1646 */
2089 break;2086 break;
2090 2087
2091 case 46:2088 case 46:
2092#line 288 "chuck.y" /* yacc.c:1646 */2089#line 289 "chuck.y" /* yacc.c:1646 */
2093 { (yyval.type_decl) = (yyvsp[0].type_decl); }2090 { (yyval.type_decl) = (yyvsp[0].type_decl); }
2094#line 2095 "chuck.tab.c" /* yacc.c:1646 */2091#line 2092 "chuck.tab.c" /* yacc.c:1646 */
2095 break;2092 break;
2096 2093
2097 case 47:2094 case 47:
2098#line 293 "chuck.y" /* yacc.c:1646 */2095#line 294 "chuck.y" /* yacc.c:1646 */
2099 { (yyval.type_decl) = (yyvsp[0].type_decl); }2096 { (yyval.type_decl) = (yyvsp[0].type_decl); }
2100#line 2101 "chuck.tab.c" /* yacc.c:1646 */2097#line 2098 "chuck.tab.c" /* yacc.c:1646 */
2101 break;2098 break;
2102 2099
2103 case 48:2100 case 48:
2104#line 294 "chuck.y" /* yacc.c:1646 */2101#line 295 "chuck.y" /* yacc.c:1646 */
2105 { (yyval.type_decl) = add_type_decl_array( (yyvsp[-1].type_decl), (yyvsp[0].array_sub), EM_lineNum ); }2102 { (yyval.type_decl) = add_type_decl_array( (yyvsp[-1].type_decl), (yyvsp[0].array_sub), EM_lineNum ); }
2106#line 2107 "chuck.tab.c" /* yacc.c:1646 */2103#line 2104 "chuck.tab.c" /* yacc.c:1646 */
2107 break;2104 break;
2108 2105
2109 case 49:2106 case 49:
2110#line 298 "chuck.y" /* yacc.c:1646 */2107#line 299 "chuck.y" /* yacc.c:1646 */
2111 { (yyval.arg_list) = new_arg_list( (yyvsp[-1].type_decl), (yyvsp[0].var_decl), EM_lineNum ); }2108 { (yyval.arg_list) = new_arg_list( (yyvsp[-1].type_decl), (yyvsp[0].var_decl), EM_lineNum ); }
2112#line 2113 "chuck.tab.c" /* yacc.c:1646 */2109#line 2110 "chuck.tab.c" /* yacc.c:1646 */
2113 break;2110 break;
2114 2111
2115 case 50:2112 case 50:
2116#line 299 "chuck.y" /* yacc.c:1646 */2113#line 300 "chuck.y" /* yacc.c:1646 */
2117 { (yyval.arg_list) = prepend_arg_list( (yyvsp[-3].type_decl), (yyvsp[-2].var_decl), (yyvsp[0].arg_list), EM_lineNum ); }2114 { (yyval.arg_list) = prepend_arg_list( (yyvsp[-3].type_decl), (yyvsp[-2].var_decl), (yyvsp[0].arg_list), EM_lineNum ); }
2118#line 2119 "chuck.tab.c" /* yacc.c:1646 */2115#line 2116 "chuck.tab.c" /* yacc.c:1646 */
2119 break;2116 break;
2120 2117
2121 case 51:2118 case 51:
2122#line 303 "chuck.y" /* yacc.c:1646 */2119#line 304 "chuck.y" /* yacc.c:1646 */
2123 { (yyval.stmt_list) = new_stmt_list( (yyvsp[0].stmt), EM_lineNum ); }2120 { (yyval.stmt_list) = new_stmt_list( (yyvsp[0].stmt), EM_lineNum ); }
2124#line 2125 "chuck.tab.c" /* yacc.c:1646 */2121#line 2122 "chuck.tab.c" /* yacc.c:1646 */
2125 break;2122 break;
2126 2123
2127 case 52:2124 case 52:
2128#line 304 "chuck.y" /* yacc.c:1646 */2125#line 305 "chuck.y" /* yacc.c:1646 */
2129 { (yyval.stmt_list) = prepend_stmt_list( (yyvsp[-1].stmt), (yyvsp[0].stmt_list), EM_lineNum ); }2126 { (yyval.stmt_list) = prepend_stmt_list( (yyvsp[-1].stmt), (yyvsp[0].stmt_list), EM_lineNum ); }
2130#line 2131 "chuck.tab.c" /* yacc.c:1646 */2127#line 2128 "chuck.tab.c" /* yacc.c:1646 */
2131 break;2128 break;
2132 2129
2133 case 53:2130 case 53:
2134#line 308 "chuck.y" /* yacc.c:1646 */
2135 { (yyval.stmt) = (yyvsp[0].stmt); }
2136#line 2137 "chuck.tab.c" /* yacc.c:1646 */
2137 break;
2138
2139 case 54:
2140#line 309 "chuck.y" /* yacc.c:1646 */2131#line 309 "chuck.y" /* yacc.c:1646 */
2141 { (yyval.stmt) = (yyvsp[0].stmt); }2132 { (yyval.stmt) = (yyvsp[0].stmt); }
2142#line 2143 "chuck.tab.c" /* yacc.c:1646 */2133#line 2134 "chuck.tab.c" /* yacc.c:1646 */
2143 break;2134 break;
2144 2135
2145 case 55:2136 case 54:
2146#line 310 "chuck.y" /* yacc.c:1646 */2137#line 310 "chuck.y" /* yacc.c:1646 */
2147 { (yyval.stmt) = (yyvsp[0].stmt); }2138 { (yyval.stmt) = (yyvsp[0].stmt); }
2148#line 2149 "chuck.tab.c" /* yacc.c:1646 */2139#line 2140 "chuck.tab.c" /* yacc.c:1646 */
2149 break;2140 break;
2150 2141
2151 case 56:2142 case 55:
2152#line 311 "chuck.y" /* yacc.c:1646 */2143#line 311 "chuck.y" /* yacc.c:1646 */
2153 { (yyval.stmt) = (yyvsp[0].stmt); }2144 { (yyval.stmt) = (yyvsp[0].stmt); }
2154#line 2155 "chuck.tab.c" /* yacc.c:1646 */2145#line 2146 "chuck.tab.c" /* yacc.c:1646 */
2155 break;2146 break;
2156 2147
2157 case 57:2148 case 56:
2158#line 313 "chuck.y" /* yacc.c:1646 */2149#line 312 "chuck.y" /* yacc.c:1646 */
2159 { (yyval.stmt) = (yyvsp[0].stmt); }2150 { (yyval.stmt) = (yyvsp[0].stmt); }
2160#line 2161 "chuck.tab.c" /* yacc.c:1646 */2151#line 2152 "chuck.tab.c" /* yacc.c:1646 */
2161 break;2152 break;
2162 2153
2163 case 58:2154 case 57:
2164#line 317 "chuck.y" /* yacc.c:1646 */2155#line 314 "chuck.y" /* yacc.c:1646 */
2165 { (yyval.stmt) = new_stmt_from_return( NULL, EM_lineNum ); }2156 { (yyval.stmt) = (yyvsp[0].stmt); }
2166#line 2167 "chuck.tab.c" /* yacc.c:1646 */2157#line 2158 "chuck.tab.c" /* yacc.c:1646 */
2167 break;2158 break;
2168 2159
2169 case 59:2160 case 58:
2170#line 318 "chuck.y" /* yacc.c:1646 */2161#line 318 "chuck.y" /* yacc.c:1646 */
2171 { (yyval.stmt) = new_stmt_from_return( (yyvsp[-1].exp), EM_lineNum ); }2162 { (yyval.stmt) = new_stmt_from_return( NULL, EM_lineNum ); }
2172#line 2173 "chuck.tab.c" /* yacc.c:1646 */2163#line 2164 "chuck.tab.c" /* yacc.c:1646 */
2173 break;2164 break;
2174 2165
2175 case 60:2166 case 59:
2176#line 319 "chuck.y" /* yacc.c:1646 */2167#line 319 "chuck.y" /* yacc.c:1646 */
2177 { (yyval.stmt) = new_stmt_from_break( EM_lineNum ); }2168 { (yyval.stmt) = new_stmt_from_return( (yyvsp[-1].exp), EM_lineNum ); }
2178#line 2179 "chuck.tab.c" /* yacc.c:1646 */2169#line 2170 "chuck.tab.c" /* yacc.c:1646 */
2179 break;2170 break;
2180 2171
2181 case 61:2172 case 60:
2182#line 320 "chuck.y" /* yacc.c:1646 */2173#line 320 "chuck.y" /* yacc.c:1646 */
2174 { (yyval.stmt) = new_stmt_from_break( EM_lineNum ); }
2175#line 2176 "chuck.tab.c" /* yacc.c:1646 */
2176 break;
2177
2178 case 61:
2179#line 321 "chuck.y" /* yacc.c:1646 */
2183 { (yyval.stmt) = new_stmt_from_continue( EM_lineNum ); }2180 { (yyval.stmt) = new_stmt_from_continue( EM_lineNum ); }
2184#line 2185 "chuck.tab.c" /* yacc.c:1646 */2181#line 2182 "chuck.tab.c" /* yacc.c:1646 */
2185 break;2182 break;
2186 2183
2187 case 62:2184 case 62:
2188#line 325 "chuck.y" /* yacc.c:1646 */2185#line 326 "chuck.y" /* yacc.c:1646 */
2189 { (yyval.stmt) = new_stmt_from_if( (yyvsp[-2].exp), (yyvsp[0].stmt), NULL, EM_lineNum ); }2186 { (yyval.stmt) = new_stmt_from_if( (yyvsp[-2].exp), (yyvsp[0].stmt), NULL, EM_lineNum ); }
2190#line 2191 "chuck.tab.c" /* yacc.c:1646 */2187#line 2188 "chuck.tab.c" /* yacc.c:1646 */
2191 break;2188 break;
2192 2189
2193 case 63:2190 case 63:
2194#line 327 "chuck.y" /* yacc.c:1646 */2191#line 328 "chuck.y" /* yacc.c:1646 */
2195 { (yyval.stmt) = new_stmt_from_if( (yyvsp[-4].exp), (yyvsp[-2].stmt), (yyvsp[0].stmt), EM_lineNum ); }2192 { (yyval.stmt) = new_stmt_from_if( (yyvsp[-4].exp), (yyvsp[-2].stmt), (yyvsp[0].stmt), EM_lineNum ); }
2196#line 2197 "chuck.tab.c" /* yacc.c:1646 */2193#line 2194 "chuck.tab.c" /* yacc.c:1646 */
2197 break;2194 break;
2198 2195
2199 case 64:2196 case 64:
2200#line 332 "chuck.y" /* yacc.c:1646 */2197#line 333 "chuck.y" /* yacc.c:1646 */
2201 { (yyval.stmt) = new_stmt_from_while( (yyvsp[-2].exp), (yyvsp[0].stmt), EM_lineNum ); }2198 { (yyval.stmt) = new_stmt_from_while( (yyvsp[-2].exp), (yyvsp[0].stmt), EM_lineNum ); }
2202#line 2203 "chuck.tab.c" /* yacc.c:1646 */2199#line 2200 "chuck.tab.c" /* yacc.c:1646 */
2203 break;2200 break;
2204 2201
2205 case 65:2202 case 65:
2206#line 334 "chuck.y" /* yacc.c:1646 */2203#line 335 "chuck.y" /* yacc.c:1646 */
2207 { (yyval.stmt) = new_stmt_from_do_while( (yyvsp[-2].exp), (yyvsp[-5].stmt), EM_lineNum ); }2204 { (yyval.stmt) = new_stmt_from_do_while( (yyvsp[-2].exp), (yyvsp[-5].stmt), EM_lineNum ); }
2208#line 2209 "chuck.tab.c" /* yacc.c:1646 */2205#line 2206 "chuck.tab.c" /* yacc.c:1646 */
2209 break;2206 break;
2210 2207
2211 case 66:2208 case 66:
2212#line 336 "chuck.y" /* yacc.c:1646 */2209#line 337 "chuck.y" /* yacc.c:1646 */
2213 { (yyval.stmt) = new_stmt_from_for( (yyvsp[-3].stmt), (yyvsp[-2].stmt), NULL, (yyvsp[0].stmt), EM_lineNum ); }2210 { (yyval.stmt) = new_stmt_from_for( (yyvsp[-3].stmt), (yyvsp[-2].stmt), NULL, (yyvsp[0].stmt), EM_lineNum ); }
2214#line 2215 "chuck.tab.c" /* yacc.c:1646 */2211#line 2212 "chuck.tab.c" /* yacc.c:1646 */
2215 break;2212 break;
2216 2213
2217 case 67:2214 case 67:
2218#line 338 "chuck.y" /* yacc.c:1646 */2215#line 339 "chuck.y" /* yacc.c:1646 */
2219 { (yyval.stmt) = new_stmt_from_for( (yyvsp[-4].stmt), (yyvsp[-3].stmt), (yyvsp[-2].exp), (yyvsp[0].stmt), EM_lineNum ); }2216 { (yyval.stmt) = new_stmt_from_for( (yyvsp[-4].stmt), (yyvsp[-3].stmt), (yyvsp[-2].exp), (yyvsp[0].stmt), EM_lineNum ); }
2220#line 2221 "chuck.tab.c" /* yacc.c:1646 */2217#line 2218 "chuck.tab.c" /* yacc.c:1646 */
2221 break;2218 break;
2222 2219
2223 case 68:2220 case 68:
2224#line 340 "chuck.y" /* yacc.c:1646 */2221#line 341 "chuck.y" /* yacc.c:1646 */
2225 { (yyval.stmt) = new_stmt_from_until( (yyvsp[-2].exp), (yyvsp[0].stmt), EM_lineNum ); }2222 { (yyval.stmt) = new_stmt_from_until( (yyvsp[-2].exp), (yyvsp[0].stmt), EM_lineNum ); }
2226#line 2227 "chuck.tab.c" /* yacc.c:1646 */2223#line 2224 "chuck.tab.c" /* yacc.c:1646 */
2227 break;2224 break;
2228 2225
2229 case 69:2226 case 69:
2230#line 342 "chuck.y" /* yacc.c:1646 */2227#line 343 "chuck.y" /* yacc.c:1646 */
2231 { (yyval.stmt) = new_stmt_from_do_until( (yyvsp[-2].exp), (yyvsp[-5].stmt), EM_lineNum ); }2228 { (yyval.stmt) = new_stmt_from_do_until( (yyvsp[-2].exp), (yyvsp[-5].stmt), EM_lineNum ); }
2232#line 2233 "chuck.tab.c" /* yacc.c:1646 */2229#line 2230 "chuck.tab.c" /* yacc.c:1646 */
2233 break;2230 break;
2234 2231
2235 case 70:2232 case 70:
2236#line 344 "chuck.y" /* yacc.c:1646 */2233#line 345 "chuck.y" /* yacc.c:1646 */
2237 { (yyval.stmt) = new_stmt_from_loop( (yyvsp[-2].exp), (yyvsp[0].stmt), EM_lineNum ); }2234 { (yyval.stmt) = new_stmt_from_loop( (yyvsp[-2].exp), (yyvsp[0].stmt), EM_lineNum ); }
2238#line 2239 "chuck.tab.c" /* yacc.c:1646 */2235#line 2236 "chuck.tab.c" /* yacc.c:1646 */
2239 break;2236 break;
2240 2237
2241 case 71:2238 case 71:
2242#line 348 "chuck.y" /* yacc.c:1646 */2239#line 349 "chuck.y" /* yacc.c:1646 */
2243 { (yyval.stmt) = new_stmt_from_code( NULL, EM_lineNum ); }2240 { (yyval.stmt) = new_stmt_from_code( NULL, EM_lineNum ); }
2244#line 2245 "chuck.tab.c" /* yacc.c:1646 */2241#line 2242 "chuck.tab.c" /* yacc.c:1646 */
2245 break;2242 break;
2246 2243
2247 case 72:2244 case 72:
2248#line 349 "chuck.y" /* yacc.c:1646 */2245#line 350 "chuck.y" /* yacc.c:1646 */
2249 { (yyval.stmt) = new_stmt_from_code( (yyvsp[-1].stmt_list), EM_lineNum ); }2246 { (yyval.stmt) = new_stmt_from_code( (yyvsp[-1].stmt_list), EM_lineNum ); }
2250#line 2251 "chuck.tab.c" /* yacc.c:1646 */2247#line 2248 "chuck.tab.c" /* yacc.c:1646 */
2251 break;2248 break;
2252 2249
2253 case 73:2250 case 73:
2254#line 353 "chuck.y" /* yacc.c:1646 */2251#line 354 "chuck.y" /* yacc.c:1646 */
2255 { (yyval.stmt) = NULL; }2252 { (yyval.stmt) = NULL; }
2256#line 2257 "chuck.tab.c" /* yacc.c:1646 */2253#line 2254 "chuck.tab.c" /* yacc.c:1646 */
2257 break;2254 break;
2258 2255
2259 case 74:2256 case 74:
2260#line 354 "chuck.y" /* yacc.c:1646 */2257#line 355 "chuck.y" /* yacc.c:1646 */
2261 { (yyval.stmt) = new_stmt_from_expression( (yyvsp[-1].exp), EM_lineNum ); }2258 { (yyval.stmt) = new_stmt_from_expression( (yyvsp[-1].exp), EM_lineNum ); }
2262#line 2263 "chuck.tab.c" /* yacc.c:1646 */2259#line 2260 "chuck.tab.c" /* yacc.c:1646 */
2263 break;2260 break;
2264 2261
2265 case 75:2262 case 75:
2266#line 358 "chuck.y" /* yacc.c:1646 */2263#line 359 "chuck.y" /* yacc.c:1646 */
2267 { (yyval.exp) = (yyvsp[0].exp); }2264 { (yyval.exp) = (yyvsp[0].exp); }
2268#line 2269 "chuck.tab.c" /* yacc.c:1646 */2265#line 2266 "chuck.tab.c" /* yacc.c:1646 */
2269 break;2266 break;
2270 2267
2271 case 76:2268 case 76:
2272#line 359 "chuck.y" /* yacc.c:1646 */2269#line 360 "chuck.y" /* yacc.c:1646 */
2273 { (yyval.exp) = prepend_expression( (yyvsp[-2].exp), (yyvsp[0].exp), EM_lineNum ); }2270 { (yyval.exp) = prepend_expression( (yyvsp[-2].exp), (yyvsp[0].exp), EM_lineNum ); }
2274#line 2275 "chuck.tab.c" /* yacc.c:1646 */2271#line 2272 "chuck.tab.c" /* yacc.c:1646 */
2275 break;2272 break;
2276 2273
2277 case 77:2274 case 77:
2278#line 363 "chuck.y" /* yacc.c:1646 */2275#line 364 "chuck.y" /* yacc.c:1646 */
2279 { (yyval.exp) = (yyvsp[0].exp); }2276 { (yyval.exp) = (yyvsp[0].exp); }
2280#line 2281 "chuck.tab.c" /* yacc.c:1646 */2277#line 2278 "chuck.tab.c" /* yacc.c:1646 */
2281 break;2278 break;
2282 2279
2283 case 78:2280 case 78:
2284#line 365 "chuck.y" /* yacc.c:1646 */2281#line 366 "chuck.y" /* yacc.c:1646 */
2285 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), (yyvsp[-1].ival), (yyvsp[0].exp), EM_lineNum ); }2282 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), (yyvsp[-1].ival), (yyvsp[0].exp), EM_lineNum ); }
2286#line 2287 "chuck.tab.c" /* yacc.c:1646 */2283#line 2284 "chuck.tab.c" /* yacc.c:1646 */
2287 break;2284 break;
2288 2285
2289 case 79:2286 case 79:
2290#line 369 "chuck.y" /* yacc.c:1646 */2287#line 370 "chuck.y" /* yacc.c:1646 */
2291 { (yyval.exp) = (yyvsp[0].exp); }2288 { (yyval.exp) = (yyvsp[0].exp); }
2292#line 2293 "chuck.tab.c" /* yacc.c:1646 */2289#line 2290 "chuck.tab.c" /* yacc.c:1646 */
2293 break;2290 break;
2294 2291
2295 case 80:2292 case 80:
2296#line 371 "chuck.y" /* yacc.c:1646 */2293#line 372 "chuck.y" /* yacc.c:1646 */
2297 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), (yyvsp[-1].ival), (yyvsp[0].exp), EM_lineNum ); }2294 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), (yyvsp[-1].ival), (yyvsp[0].exp), EM_lineNum ); }
2298#line 2299 "chuck.tab.c" /* yacc.c:1646 */2295#line 2296 "chuck.tab.c" /* yacc.c:1646 */
2299 break;2296 break;
2300 2297
2301 case 81:2298 case 81:
2302#line 375 "chuck.y" /* yacc.c:1646 */2299#line 376 "chuck.y" /* yacc.c:1646 */
2303 { (yyval.array_sub) = new_array_sub( (yyvsp[-1].exp), EM_lineNum ); }2300 { (yyval.array_sub) = new_array_sub( (yyvsp[-1].exp), EM_lineNum ); }
2304#line 2305 "chuck.tab.c" /* yacc.c:1646 */2301#line 2302 "chuck.tab.c" /* yacc.c:1646 */
2305 break;2302 break;
2306 2303
2307 case 82:2304 case 82:
2308#line 377 "chuck.y" /* yacc.c:1646 */2305#line 378 "chuck.y" /* yacc.c:1646 */
2309 { (yyval.array_sub) = prepend_array_sub( (yyvsp[0].array_sub), (yyvsp[-2].exp), EM_lineNum ); }2306 { (yyval.array_sub) = prepend_array_sub( (yyvsp[0].array_sub), (yyvsp[-2].exp), EM_lineNum ); }
2310#line 2311 "chuck.tab.c" /* yacc.c:1646 */2307#line 2308 "chuck.tab.c" /* yacc.c:1646 */
2311 break;2308 break;
2312 2309
2313 case 83:2310 case 83:
2314#line 381 "chuck.y" /* yacc.c:1646 */2311#line 382 "chuck.y" /* yacc.c:1646 */
2315 { (yyval.array_sub) = new_array_sub( NULL, EM_lineNum ); }2312 { (yyval.array_sub) = new_array_sub( NULL, EM_lineNum ); }
2316#line 2317 "chuck.tab.c" /* yacc.c:1646 */2313#line 2314 "chuck.tab.c" /* yacc.c:1646 */
2317 break;2314 break;
2318 2315
2319 case 84:2316 case 84:
2320#line 382 "chuck.y" /* yacc.c:1646 */2317#line 383 "chuck.y" /* yacc.c:1646 */
2321 { (yyval.array_sub) = prepend_array_sub( (yyvsp[-2].array_sub), NULL, EM_lineNum ); }2318 { (yyval.array_sub) = prepend_array_sub( (yyvsp[-2].array_sub), NULL, EM_lineNum ); }
2322#line 2323 "chuck.tab.c" /* yacc.c:1646 */2319#line 2320 "chuck.tab.c" /* yacc.c:1646 */
2323 break;2320 break;
2324 2321
2325 case 85:2322 case 85:
2326#line 386 "chuck.y" /* yacc.c:1646 */2323#line 387 "chuck.y" /* yacc.c:1646 */
2327 { (yyval.exp) = (yyvsp[0].exp); }2324 { (yyval.exp) = (yyvsp[0].exp); }
2328#line 2329 "chuck.tab.c" /* yacc.c:1646 */2325#line 2326 "chuck.tab.c" /* yacc.c:1646 */
2329 break;2326 break;
2330 2327
2331 case 86:2328 case 86:
2332#line 387 "chuck.y" /* yacc.c:1646 */2329#line 388 "chuck.y" /* yacc.c:1646 */
2333 { (yyval.exp) = new_exp_decl( (yyvsp[-1].type_decl), (yyvsp[0].var_decl_list), 0, EM_lineNum ); }2330 { (yyval.exp) = new_exp_decl( (yyvsp[-1].type_decl), (yyvsp[0].var_decl_list), 0, EM_lineNum ); }
2334#line 2335 "chuck.tab.c" /* yacc.c:1646 */2331#line 2332 "chuck.tab.c" /* yacc.c:1646 */
2335 break;2332 break;
2336 2333
2337 case 87:2334 case 87:
2338#line 388 "chuck.y" /* yacc.c:1646 */2335#line 389 "chuck.y" /* yacc.c:1646 */
2339 { (yyval.exp) = new_exp_decl_external( (yyvsp[-1].type_decl), (yyvsp[0].var_decl_list), 0, EM_lineNum ); }2336 { (yyval.exp) = new_exp_decl_external( (yyvsp[-1].type_decl), (yyvsp[0].var_decl_list), 0, EM_lineNum ); }
2340#line 2341 "chuck.tab.c" /* yacc.c:1646 */2337#line 2338 "chuck.tab.c" /* yacc.c:1646 */
2341 break;2338 break;
2342 2339
2343 case 88:2340 case 88:
2344#line 389 "chuck.y" /* yacc.c:1646 */2341#line 390 "chuck.y" /* yacc.c:1646 */
2342 { (yyval.exp) = new_exp_decl_global( (yyvsp[-1].type_decl), (yyvsp[0].var_decl_list), 0, EM_lineNum ); }
2343#line 2344 "chuck.tab.c" /* yacc.c:1646 */
2344 break;
2345
2346 case 89:
2347#line 391 "chuck.y" /* yacc.c:1646 */
2345 { (yyval.exp) = new_exp_decl( (yyvsp[-1].type_decl), (yyvsp[0].var_decl_list), 1, EM_lineNum ); }2348 { (yyval.exp) = new_exp_decl( (yyvsp[-1].type_decl), (yyvsp[0].var_decl_list), 1, EM_lineNum ); }
2346#line 2347 "chuck.tab.c" /* yacc.c:1646 */2349#line 2350 "chuck.tab.c" /* yacc.c:1646 */
2347 break;2350 break;
2348 2351
2349 case 89:2352 case 90:
2350#line 390 "chuck.y" /* yacc.c:1646 */2353#line 392 "chuck.y" /* yacc.c:1646 */
2351 { (yyval.exp) = new_exp_decl( NULL, (yyvsp[0].var_decl_list), 0, EM_lineNum ); }2354 { (yyval.exp) = new_exp_decl( NULL, (yyvsp[0].var_decl_list), 0, EM_lineNum ); }
2352#line 2353 "chuck.tab.c" /* yacc.c:1646 */2355#line 2356 "chuck.tab.c" /* yacc.c:1646 */
2353 break;2356 break;
2354 2357
2355 case 90:2358 case 91:
2356#line 391 "chuck.y" /* yacc.c:1646 */2359#line 393 "chuck.y" /* yacc.c:1646 */
2357 { (yyval.exp) = new_exp_decl( NULL, (yyvsp[0].var_decl_list), 1, EM_lineNum ); }2360 { (yyval.exp) = new_exp_decl( NULL, (yyvsp[0].var_decl_list), 1, EM_lineNum ); }
2358#line 2359 "chuck.tab.c" /* yacc.c:1646 */2361#line 2362 "chuck.tab.c" /* yacc.c:1646 */
2359 break;2362 break;
2360 2363
2361 case 91:2364 case 92:
2362#line 395 "chuck.y" /* yacc.c:1646 */2365#line 397 "chuck.y" /* yacc.c:1646 */
2363 { (yyval.var_decl_list) = new_var_decl_list( (yyvsp[0].var_decl), EM_lineNum ); }2366 { (yyval.var_decl_list) = new_var_decl_list( (yyvsp[0].var_decl), EM_lineNum ); }
2364#line 2365 "chuck.tab.c" /* yacc.c:1646 */2367#line 2368 "chuck.tab.c" /* yacc.c:1646 */
2365 break;2368 break;
2366 2369
2367 case 92:2370 case 93:
2368#line 396 "chuck.y" /* yacc.c:1646 */2371#line 398 "chuck.y" /* yacc.c:1646 */
2369 { (yyval.var_decl_list) = prepend_var_decl_list( (yyvsp[-2].var_decl), (yyvsp[0].var_decl_list), EM_lineNum ); }2372 { (yyval.var_decl_list) = prepend_var_decl_list( (yyvsp[-2].var_decl), (yyvsp[0].var_decl_list), EM_lineNum ); }
2370#line 2371 "chuck.tab.c" /* yacc.c:1646 */2373#line 2374 "chuck.tab.c" /* yacc.c:1646 */
2371 break;2374 break;
2372 2375
2373 case 93:2376 case 94:
2374#line 400 "chuck.y" /* yacc.c:1646 */2377#line 402 "chuck.y" /* yacc.c:1646 */
2375 { (yyval.var_decl) = new_var_decl( (yyvsp[0].sval), NULL, EM_lineNum ); }2378 { (yyval.var_decl) = new_var_decl( (yyvsp[0].sval), NULL, EM_lineNum ); }
2376#line 2377 "chuck.tab.c" /* yacc.c:1646 */2379#line 2380 "chuck.tab.c" /* yacc.c:1646 */
2377 break;2380 break;
2378 2381
2379 case 94:2382 case 95:
2380#line 401 "chuck.y" /* yacc.c:1646 */2383#line 403 "chuck.y" /* yacc.c:1646 */
2381 { (yyval.var_decl) = new_var_decl( (yyvsp[-1].sval), (yyvsp[0].array_sub), EM_lineNum ); }2384 { (yyval.var_decl) = new_var_decl( (yyvsp[-1].sval), (yyvsp[0].array_sub), EM_lineNum ); }
2382#line 2383 "chuck.tab.c" /* yacc.c:1646 */2385#line 2386 "chuck.tab.c" /* yacc.c:1646 */
2383 break;2386 break;
2384 2387
2385 case 95:2388 case 96:
2386#line 402 "chuck.y" /* yacc.c:1646 */2389#line 404 "chuck.y" /* yacc.c:1646 */
2387 { (yyval.var_decl) = new_var_decl( (yyvsp[-1].sval), (yyvsp[0].array_sub), EM_lineNum ); }2390 { (yyval.var_decl) = new_var_decl( (yyvsp[-1].sval), (yyvsp[0].array_sub), EM_lineNum ); }
2388#line 2389 "chuck.tab.c" /* yacc.c:1646 */2391#line 2392 "chuck.tab.c" /* yacc.c:1646 */
2389 break;2392 break;
2390 2393
2391 case 96:2394 case 97:
2392#line 407 "chuck.y" /* yacc.c:1646 */2395#line 409 "chuck.y" /* yacc.c:1646 */
2393 { (yyval.complex_exp) = new_complex( (yyvsp[-1].exp), EM_lineNum ); }2396 { (yyval.complex_exp) = new_complex( (yyvsp[-1].exp), EM_lineNum ); }
2394#line 2395 "chuck.tab.c" /* yacc.c:1646 */2397#line 2398 "chuck.tab.c" /* yacc.c:1646 */
2395 break;2398 break;
2396 2399
2397 case 97:2400 case 98:
2398#line 412 "chuck.y" /* yacc.c:1646 */2401#line 414 "chuck.y" /* yacc.c:1646 */
2399 { (yyval.polar_exp) = new_polar( (yyvsp[-1].exp), EM_lineNum ); }2402 { (yyval.polar_exp) = new_polar( (yyvsp[-1].exp), EM_lineNum ); }
2400#line 2401 "chuck.tab.c" /* yacc.c:1646 */2403#line 2404 "chuck.tab.c" /* yacc.c:1646 */
2401 break;2404 break;
2402 2405
2403 case 98:2406 case 99:
2404#line 417 "chuck.y" /* yacc.c:1646 */2407#line 419 "chuck.y" /* yacc.c:1646 */
2405 { (yyval.vec_exp) = new_vec( (yyvsp[-1].exp), EM_lineNum ); }2408 { (yyval.vec_exp) = new_vec( (yyvsp[-1].exp), EM_lineNum ); }
2406#line 2407 "chuck.tab.c" /* yacc.c:1646 */2409#line 2410 "chuck.tab.c" /* yacc.c:1646 */
2407 break;2410 break;
2408 2411
2409 case 99:2412 case 100:
2410#line 421 "chuck.y" /* yacc.c:1646 */2413#line 423 "chuck.y" /* yacc.c:1646 */
2411 { (yyval.ival) = ae_op_chuck; }2414 { (yyval.ival) = ae_op_chuck; }
2412#line 2413 "chuck.tab.c" /* yacc.c:1646 */2415#line 2416 "chuck.tab.c" /* yacc.c:1646 */
2413 break;2416 break;
2414 2417
2415 case 100:2418 case 101:
2416#line 422 "chuck.y" /* yacc.c:1646 */2419#line 424 "chuck.y" /* yacc.c:1646 */
2417 { (yyval.ival) = ae_op_at_chuck; }2420 { (yyval.ival) = ae_op_at_chuck; }
2418#line 2419 "chuck.tab.c" /* yacc.c:1646 */2421#line 2422 "chuck.tab.c" /* yacc.c:1646 */
2419 break;2422 break;
2420 2423
2421 case 101:2424 case 102:
2422#line 423 "chuck.y" /* yacc.c:1646 */2425#line 425 "chuck.y" /* yacc.c:1646 */
2423 { (yyval.ival) = ae_op_plus_chuck; }2426 { (yyval.ival) = ae_op_plus_chuck; }
2424#line 2425 "chuck.tab.c" /* yacc.c:1646 */2427#line 2428 "chuck.tab.c" /* yacc.c:1646 */
2425 break;2428 break;
2426 2429
2427 case 102:2430 case 103:
2428#line 424 "chuck.y" /* yacc.c:1646 */2431#line 426 "chuck.y" /* yacc.c:1646 */
2429 { (yyval.ival) = ae_op_minus_chuck; }2432 { (yyval.ival) = ae_op_minus_chuck; }
2430#line 2431 "chuck.tab.c" /* yacc.c:1646 */2433#line 2434 "chuck.tab.c" /* yacc.c:1646 */
2431 break;2434 break;
2432 2435
2433 case 103:2436 case 104:
2434#line 425 "chuck.y" /* yacc.c:1646 */2437#line 427 "chuck.y" /* yacc.c:1646 */
2435 { (yyval.ival) = ae_op_times_chuck; }2438 { (yyval.ival) = ae_op_times_chuck; }
2436#line 2437 "chuck.tab.c" /* yacc.c:1646 */2439#line 2440 "chuck.tab.c" /* yacc.c:1646 */
2437 break;2440 break;
2438 2441
2439 case 104:2442 case 105:
2440#line 426 "chuck.y" /* yacc.c:1646 */2443#line 428 "chuck.y" /* yacc.c:1646 */
2441 { (yyval.ival) = ae_op_divide_chuck; }2444 { (yyval.ival) = ae_op_divide_chuck; }
2442#line 2443 "chuck.tab.c" /* yacc.c:1646 */2445#line 2446 "chuck.tab.c" /* yacc.c:1646 */
2443 break;2446 break;
2444 2447
2445 case 105:2448 case 106:
2446#line 427 "chuck.y" /* yacc.c:1646 */2449#line 429 "chuck.y" /* yacc.c:1646 */
2447 { (yyval.ival) = ae_op_shift_right_chuck; }2450 { (yyval.ival) = ae_op_shift_right_chuck; }
2448#line 2449 "chuck.tab.c" /* yacc.c:1646 */2451#line 2452 "chuck.tab.c" /* yacc.c:1646 */
2449 break;2452 break;
2450 2453
2451 case 106:2454 case 107:
2452#line 428 "chuck.y" /* yacc.c:1646 */2455#line 430 "chuck.y" /* yacc.c:1646 */
2453 { (yyval.ival) = ae_op_shift_left_chuck; }2456 { (yyval.ival) = ae_op_shift_left_chuck; }
2454#line 2455 "chuck.tab.c" /* yacc.c:1646 */2457#line 2458 "chuck.tab.c" /* yacc.c:1646 */
2455 break;2458 break;
2456 2459
2457 case 107:2460 case 108:
2458#line 429 "chuck.y" /* yacc.c:1646 */2461#line 431 "chuck.y" /* yacc.c:1646 */
2459 { (yyval.ival) = ae_op_percent_chuck; }2462 { (yyval.ival) = ae_op_percent_chuck; }
2460#line 2461 "chuck.tab.c" /* yacc.c:1646 */2463#line 2464 "chuck.tab.c" /* yacc.c:1646 */
2461 break;2464 break;
2462 2465
2463 case 108:2466 case 109:
2464#line 430 "chuck.y" /* yacc.c:1646 */2467#line 432 "chuck.y" /* yacc.c:1646 */
2465 { (yyval.ival) = ae_op_unchuck; }2468 { (yyval.ival) = ae_op_unchuck; }
2466#line 2467 "chuck.tab.c" /* yacc.c:1646 */2469#line 2470 "chuck.tab.c" /* yacc.c:1646 */
2467 break;2470 break;
2468 2471
2469 case 109:2472 case 110:
2470#line 431 "chuck.y" /* yacc.c:1646 */2473#line 433 "chuck.y" /* yacc.c:1646 */
2471 { (yyval.ival) = ae_op_upchuck; }2474 { (yyval.ival) = ae_op_upchuck; }
2472#line 2473 "chuck.tab.c" /* yacc.c:1646 */2475#line 2476 "chuck.tab.c" /* yacc.c:1646 */
2473 break;2476 break;
2474 2477
2475 case 110:2478 case 111:
2476#line 432 "chuck.y" /* yacc.c:1646 */2479#line 434 "chuck.y" /* yacc.c:1646 */
2477 { (yyval.ival) = ae_op_s_and_chuck; }2480 { (yyval.ival) = ae_op_s_and_chuck; }
2478#line 2479 "chuck.tab.c" /* yacc.c:1646 */2481#line 2482 "chuck.tab.c" /* yacc.c:1646 */
2479 break;2482 break;
2480 2483
2481 case 111:2484 case 112:
2482#line 433 "chuck.y" /* yacc.c:1646 */2485#line 435 "chuck.y" /* yacc.c:1646 */
2483 { (yyval.ival) = ae_op_s_or_chuck; }2486 { (yyval.ival) = ae_op_s_or_chuck; }
2484#line 2485 "chuck.tab.c" /* yacc.c:1646 */2487#line 2488 "chuck.tab.c" /* yacc.c:1646 */
2485 break;2488 break;
2486 2489
2487 case 112:2490 case 113:
2488#line 434 "chuck.y" /* yacc.c:1646 */2491#line 436 "chuck.y" /* yacc.c:1646 */
2489 { (yyval.ival) = ae_op_s_xor_chuck; }2492 { (yyval.ival) = ae_op_s_xor_chuck; }
2490#line 2491 "chuck.tab.c" /* yacc.c:1646 */2493#line 2494 "chuck.tab.c" /* yacc.c:1646 */
2491 break;2494 break;
2492 2495
2493 case 113:2496 case 114:
2494#line 438 "chuck.y" /* yacc.c:1646 */2497#line 440 "chuck.y" /* yacc.c:1646 */
2495 { (yyval.ival) = ae_op_arrow_left; }2498 { (yyval.ival) = ae_op_arrow_left; }
2496#line 2497 "chuck.tab.c" /* yacc.c:1646 */2499#line 2500 "chuck.tab.c" /* yacc.c:1646 */
2497 break;2500 break;
2498 2501
2499 case 114:2502 case 115:
2500#line 439 "chuck.y" /* yacc.c:1646 */2503#line 441 "chuck.y" /* yacc.c:1646 */
2501 { (yyval.ival) = ae_op_arrow_right; }2504 { (yyval.ival) = ae_op_arrow_right; }
2502#line 2503 "chuck.tab.c" /* yacc.c:1646 */2505#line 2506 "chuck.tab.c" /* yacc.c:1646 */
2503 break;2506 break;
2504 2507
2505 case 115:2508 case 116:
2506#line 443 "chuck.y" /* yacc.c:1646 */2509#line 445 "chuck.y" /* yacc.c:1646 */
2507 { (yyval.exp) = (yyvsp[0].exp); }2510 { (yyval.exp) = (yyvsp[0].exp); }
2508#line 2509 "chuck.tab.c" /* yacc.c:1646 */2511#line 2512 "chuck.tab.c" /* yacc.c:1646 */
2509 break;2512 break;
2510 2513
2511 case 116:2514 case 117:
2512#line 445 "chuck.y" /* yacc.c:1646 */2515#line 447 "chuck.y" /* yacc.c:1646 */
2513 { (yyval.exp) = new_exp_from_if( (yyvsp[-4].exp), (yyvsp[-2].exp), (yyvsp[0].exp), EM_lineNum ); }2516 { (yyval.exp) = new_exp_from_if( (yyvsp[-4].exp), (yyvsp[-2].exp), (yyvsp[0].exp), EM_lineNum ); }
2514#line 2515 "chuck.tab.c" /* yacc.c:1646 */2517#line 2518 "chuck.tab.c" /* yacc.c:1646 */
2515 break;2518 break;
2516 2519
2517 case 117:2520 case 118:
2518#line 449 "chuck.y" /* yacc.c:1646 */2521#line 451 "chuck.y" /* yacc.c:1646 */
2519 { (yyval.exp) = (yyvsp[0].exp); }2522 { (yyval.exp) = (yyvsp[0].exp); }
2520#line 2521 "chuck.tab.c" /* yacc.c:1646 */2523#line 2524 "chuck.tab.c" /* yacc.c:1646 */
2521 break;2524 break;
2522 2525
2523 case 118:2526 case 119:
2524#line 451 "chuck.y" /* yacc.c:1646 */2527#line 453 "chuck.y" /* yacc.c:1646 */
2525 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_or, (yyvsp[0].exp), EM_lineNum ); }2528 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_or, (yyvsp[0].exp), EM_lineNum ); }
2526#line 2527 "chuck.tab.c" /* yacc.c:1646 */2529#line 2530 "chuck.tab.c" /* yacc.c:1646 */
2527 break;2530 break;
2528 2531
2529 case 119:2532 case 120:
2530#line 455 "chuck.y" /* yacc.c:1646 */2533#line 457 "chuck.y" /* yacc.c:1646 */
2531 { (yyval.exp) = (yyvsp[0].exp); }2534 { (yyval.exp) = (yyvsp[0].exp); }
2532#line 2533 "chuck.tab.c" /* yacc.c:1646 */2535#line 2536 "chuck.tab.c" /* yacc.c:1646 */
2533 break;2536 break;
2534 2537
2535 case 120:2538 case 121:
2536#line 457 "chuck.y" /* yacc.c:1646 */2539#line 459 "chuck.y" /* yacc.c:1646 */
2537 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_and, (yyvsp[0].exp), EM_lineNum ); }2540 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_and, (yyvsp[0].exp), EM_lineNum ); }
2538#line 2539 "chuck.tab.c" /* yacc.c:1646 */2541#line 2542 "chuck.tab.c" /* yacc.c:1646 */
2539 break;2542 break;
2540 2543
2541 case 121:2544 case 122:
2542#line 461 "chuck.y" /* yacc.c:1646 */2545#line 463 "chuck.y" /* yacc.c:1646 */
2543 { (yyval.exp) = (yyvsp[0].exp); }2546 { (yyval.exp) = (yyvsp[0].exp); }
2544#line 2545 "chuck.tab.c" /* yacc.c:1646 */2547#line 2548 "chuck.tab.c" /* yacc.c:1646 */
2545 break;2548 break;
2546 2549
2547 case 122:2550 case 123:
2548#line 463 "chuck.y" /* yacc.c:1646 */2551#line 465 "chuck.y" /* yacc.c:1646 */
2549 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_s_or, (yyvsp[0].exp), EM_lineNum ); }2552 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_s_or, (yyvsp[0].exp), EM_lineNum ); }
2550#line 2551 "chuck.tab.c" /* yacc.c:1646 */2553#line 2554 "chuck.tab.c" /* yacc.c:1646 */
2551 break;2554 break;
2552 2555
2553 case 123:2556 case 124:
2554#line 467 "chuck.y" /* yacc.c:1646 */2557#line 469 "chuck.y" /* yacc.c:1646 */
2555 { (yyval.exp) = (yyvsp[0].exp); }2558 { (yyval.exp) = (yyvsp[0].exp); }
2556#line 2557 "chuck.tab.c" /* yacc.c:1646 */2559#line 2560 "chuck.tab.c" /* yacc.c:1646 */
2557 break;2560 break;
2558 2561
2559 case 124:2562 case 125:
2560#line 469 "chuck.y" /* yacc.c:1646 */2563#line 471 "chuck.y" /* yacc.c:1646 */
2561 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_s_xor, (yyvsp[0].exp), EM_lineNum ); }2564 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_s_xor, (yyvsp[0].exp), EM_lineNum ); }
2562#line 2563 "chuck.tab.c" /* yacc.c:1646 */2565#line 2566 "chuck.tab.c" /* yacc.c:1646 */
2563 break;2566 break;
2564 2567
2565 case 125:2568 case 126:
2566#line 473 "chuck.y" /* yacc.c:1646 */2569#line 475 "chuck.y" /* yacc.c:1646 */
2567 { (yyval.exp) = (yyvsp[0].exp); }2570 { (yyval.exp) = (yyvsp[0].exp); }
2568#line 2569 "chuck.tab.c" /* yacc.c:1646 */2571#line 2572 "chuck.tab.c" /* yacc.c:1646 */
2569 break;2572 break;
2570 2573
2571 case 126:2574 case 127:
2572#line 475 "chuck.y" /* yacc.c:1646 */2575#line 477 "chuck.y" /* yacc.c:1646 */
2573 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_s_and, (yyvsp[0].exp), EM_lineNum ); }2576 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_s_and, (yyvsp[0].exp), EM_lineNum ); }
2574#line 2575 "chuck.tab.c" /* yacc.c:1646 */2577#line 2578 "chuck.tab.c" /* yacc.c:1646 */
2575 break;2578 break;
2576 2579
2577 case 127:2580 case 128:
2578#line 479 "chuck.y" /* yacc.c:1646 */2581#line 481 "chuck.y" /* yacc.c:1646 */
2579 { (yyval.exp) = (yyvsp[0].exp); }2582 { (yyval.exp) = (yyvsp[0].exp); }
2580#line 2581 "chuck.tab.c" /* yacc.c:1646 */2583#line 2584 "chuck.tab.c" /* yacc.c:1646 */
2581 break;2584 break;
2582 2585
2583 case 128:2586 case 129:
2584#line 481 "chuck.y" /* yacc.c:1646 */2587#line 483 "chuck.y" /* yacc.c:1646 */
2585 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_eq, (yyvsp[0].exp), EM_lineNum ); }2588 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_eq, (yyvsp[0].exp), EM_lineNum ); }
2586#line 2587 "chuck.tab.c" /* yacc.c:1646 */2589#line 2590 "chuck.tab.c" /* yacc.c:1646 */
2587 break;2590 break;
2588 2591
2589 case 129:2592 case 130:
2590#line 483 "chuck.y" /* yacc.c:1646 */2593#line 485 "chuck.y" /* yacc.c:1646 */
2591 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_neq, (yyvsp[0].exp), EM_lineNum ); }2594 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_neq, (yyvsp[0].exp), EM_lineNum ); }
2592#line 2593 "chuck.tab.c" /* yacc.c:1646 */2595#line 2596 "chuck.tab.c" /* yacc.c:1646 */
2593 break;2596 break;
2594 2597
2595 case 130:2598 case 131:
2596#line 487 "chuck.y" /* yacc.c:1646 */2599#line 489 "chuck.y" /* yacc.c:1646 */
2597 { (yyval.exp) = (yyvsp[0].exp); }2600 { (yyval.exp) = (yyvsp[0].exp); }
2598#line 2599 "chuck.tab.c" /* yacc.c:1646 */2601#line 2602 "chuck.tab.c" /* yacc.c:1646 */
2599 break;2602 break;
2600 2603
2601 case 131:2604 case 132:
2602#line 489 "chuck.y" /* yacc.c:1646 */2605#line 491 "chuck.y" /* yacc.c:1646 */
2603 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_lt, (yyvsp[0].exp), EM_lineNum ); }2606 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_lt, (yyvsp[0].exp), EM_lineNum ); }
2604#line 2605 "chuck.tab.c" /* yacc.c:1646 */2607#line 2608 "chuck.tab.c" /* yacc.c:1646 */
2605 break;2608 break;
2606 2609
2607 case 132:2610 case 133:
2608#line 491 "chuck.y" /* yacc.c:1646 */2611#line 493 "chuck.y" /* yacc.c:1646 */
2609 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_gt, (yyvsp[0].exp), EM_lineNum ); }2612 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_gt, (yyvsp[0].exp), EM_lineNum ); }
2610#line 2611 "chuck.tab.c" /* yacc.c:1646 */2613#line 2614 "chuck.tab.c" /* yacc.c:1646 */
2611 break;2614 break;
2612 2615
2613 case 133:2616 case 134:
2614#line 493 "chuck.y" /* yacc.c:1646 */2617#line 495 "chuck.y" /* yacc.c:1646 */
2615 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_le, (yyvsp[0].exp), EM_lineNum ); }2618 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_le, (yyvsp[0].exp), EM_lineNum ); }
2616#line 2617 "chuck.tab.c" /* yacc.c:1646 */2619#line 2620 "chuck.tab.c" /* yacc.c:1646 */
2617 break;2620 break;
2618 2621
2619 case 134:2622 case 135:
2620#line 495 "chuck.y" /* yacc.c:1646 */2623#line 497 "chuck.y" /* yacc.c:1646 */
2621 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_ge, (yyvsp[0].exp), EM_lineNum ); }2624 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_ge, (yyvsp[0].exp), EM_lineNum ); }
2622#line 2623 "chuck.tab.c" /* yacc.c:1646 */2625#line 2626 "chuck.tab.c" /* yacc.c:1646 */
2623 break;2626 break;
2624 2627
2625 case 135:2628 case 136:
2626#line 499 "chuck.y" /* yacc.c:1646 */2629#line 501 "chuck.y" /* yacc.c:1646 */
2627 { (yyval.exp) = (yyvsp[0].exp); }2630 { (yyval.exp) = (yyvsp[0].exp); }
2628#line 2629 "chuck.tab.c" /* yacc.c:1646 */2631#line 2632 "chuck.tab.c" /* yacc.c:1646 */
2629 break;2632 break;
2630 2633
2631 case 136:2634 case 137:
2632#line 501 "chuck.y" /* yacc.c:1646 */2635#line 503 "chuck.y" /* yacc.c:1646 */
2633 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_shift_left, (yyvsp[0].exp), EM_lineNum ); }2636 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_shift_left, (yyvsp[0].exp), EM_lineNum ); }
2634#line 2635 "chuck.tab.c" /* yacc.c:1646 */2637#line 2638 "chuck.tab.c" /* yacc.c:1646 */
2635 break;2638 break;
2636 2639
2637 case 137:2640 case 138:
2638#line 503 "chuck.y" /* yacc.c:1646 */2641#line 505 "chuck.y" /* yacc.c:1646 */
2639 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_shift_right, (yyvsp[0].exp), EM_lineNum ); }2642 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_shift_right, (yyvsp[0].exp), EM_lineNum ); }
2640#line 2641 "chuck.tab.c" /* yacc.c:1646 */2643#line 2644 "chuck.tab.c" /* yacc.c:1646 */
2641 break;2644 break;
2642 2645
2643 case 138:2646 case 139:
2644#line 507 "chuck.y" /* yacc.c:1646 */2647#line 509 "chuck.y" /* yacc.c:1646 */
2645 { (yyval.exp) = (yyvsp[0].exp); }2648 { (yyval.exp) = (yyvsp[0].exp); }
2646#line 2647 "chuck.tab.c" /* yacc.c:1646 */2649#line 2650 "chuck.tab.c" /* yacc.c:1646 */
2647 break;2650 break;
2648 2651
2649 case 139:2652 case 140:
2650#line 509 "chuck.y" /* yacc.c:1646 */2653#line 511 "chuck.y" /* yacc.c:1646 */
2651 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_plus, (yyvsp[0].exp), EM_lineNum ); }2654 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_plus, (yyvsp[0].exp), EM_lineNum ); }
2652#line 2653 "chuck.tab.c" /* yacc.c:1646 */2655#line 2656 "chuck.tab.c" /* yacc.c:1646 */
2653 break;2656 break;
2654 2657
2655 case 140:2658 case 141:
2656#line 511 "chuck.y" /* yacc.c:1646 */2659#line 513 "chuck.y" /* yacc.c:1646 */
2657 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_minus, (yyvsp[0].exp), EM_lineNum ); }2660 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_minus, (yyvsp[0].exp), EM_lineNum ); }
2658#line 2659 "chuck.tab.c" /* yacc.c:1646 */2661#line 2662 "chuck.tab.c" /* yacc.c:1646 */
2659 break;2662 break;
2660 2663
2661 case 141:2664 case 142:
2662#line 515 "chuck.y" /* yacc.c:1646 */2665#line 517 "chuck.y" /* yacc.c:1646 */
2663 { (yyval.exp) = (yyvsp[0].exp); }2666 { (yyval.exp) = (yyvsp[0].exp); }
2664#line 2665 "chuck.tab.c" /* yacc.c:1646 */2667#line 2668 "chuck.tab.c" /* yacc.c:1646 */
2665 break;2668 break;
2666 2669
2667 case 142:2670 case 143:
2668#line 517 "chuck.y" /* yacc.c:1646 */2671#line 519 "chuck.y" /* yacc.c:1646 */
2669 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_times, (yyvsp[0].exp), EM_lineNum ); }2672 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_times, (yyvsp[0].exp), EM_lineNum ); }
2670#line 2671 "chuck.tab.c" /* yacc.c:1646 */2673#line 2674 "chuck.tab.c" /* yacc.c:1646 */
2671 break;2674 break;
2672 2675
2673 case 143:2676 case 144:
2674#line 519 "chuck.y" /* yacc.c:1646 */2677#line 521 "chuck.y" /* yacc.c:1646 */
2675 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_divide, (yyvsp[0].exp), EM_lineNum ); }2678 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_divide, (yyvsp[0].exp), EM_lineNum ); }
2676#line 2677 "chuck.tab.c" /* yacc.c:1646 */2679#line 2680 "chuck.tab.c" /* yacc.c:1646 */
2677 break;2680 break;
2678 2681
2679 case 144:2682 case 145:
2680#line 521 "chuck.y" /* yacc.c:1646 */2683#line 523 "chuck.y" /* yacc.c:1646 */
2681 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_percent, (yyvsp[0].exp), EM_lineNum ); }2684 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_percent, (yyvsp[0].exp), EM_lineNum ); }
2682#line 2683 "chuck.tab.c" /* yacc.c:1646 */2685#line 2686 "chuck.tab.c" /* yacc.c:1646 */
2683 break;2686 break;
2684 2687
2685 case 145:2688 case 146:
2686#line 525 "chuck.y" /* yacc.c:1646 */2689#line 527 "chuck.y" /* yacc.c:1646 */
2687 { (yyval.exp) = (yyvsp[0].exp); }2690 { (yyval.exp) = (yyvsp[0].exp); }
2688#line 2689 "chuck.tab.c" /* yacc.c:1646 */2691#line 2692 "chuck.tab.c" /* yacc.c:1646 */
2689 break;2692 break;
2690 2693
2691 case 146:2694 case 147:
2692#line 527 "chuck.y" /* yacc.c:1646 */2695#line 529 "chuck.y" /* yacc.c:1646 */
2693 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_tilda, (yyvsp[0].exp), EM_lineNum ); }2696 { (yyval.exp) = new_exp_from_binary( (yyvsp[-2].exp), ae_op_tilda, (yyvsp[0].exp), EM_lineNum ); }
2694#line 2695 "chuck.tab.c" /* yacc.c:1646 */2697#line 2698 "chuck.tab.c" /* yacc.c:1646 */
2695 break;2698 break;
2696 2699
2697 case 147:2700 case 148:
2698#line 531 "chuck.y" /* yacc.c:1646 */2701#line 533 "chuck.y" /* yacc.c:1646 */
2699 { (yyval.exp) = (yyvsp[0].exp); }2702 { (yyval.exp) = (yyvsp[0].exp); }
2700#line 2701 "chuck.tab.c" /* yacc.c:1646 */2703#line 2704 "chuck.tab.c" /* yacc.c:1646 */
2701 break;2704 break;
2702 2705
2703 case 148:2706 case 149:
2704#line 533 "chuck.y" /* yacc.c:1646 */2707#line 535 "chuck.y" /* yacc.c:1646 */
2705 { (yyval.exp) = new_exp_from_cast( (yyvsp[0].type_decl), (yyvsp[-2].exp), EM_lineNum ); }2708 { (yyval.exp) = new_exp_from_cast( (yyvsp[0].type_decl), (yyvsp[-2].exp), EM_lineNum ); }
2706#line 2707 "chuck.tab.c" /* yacc.c:1646 */2709#line 2710 "chuck.tab.c" /* yacc.c:1646 */
2707 break;2710 break;
2708 2711
2709 case 149:2712 case 150:
2710#line 537 "chuck.y" /* yacc.c:1646 */2713#line 539 "chuck.y" /* yacc.c:1646 */
2711 { (yyval.exp) = (yyvsp[0].exp); }2714 { (yyval.exp) = (yyvsp[0].exp); }
2712#line 2713 "chuck.tab.c" /* yacc.c:1646 */2715#line 2716 "chuck.tab.c" /* yacc.c:1646 */
2713 break;2716 break;
2714 2717
2715 case 150:2718 case 151:
2716#line 539 "chuck.y" /* yacc.c:1646 */2719#line 541 "chuck.y" /* yacc.c:1646 */
2717 { (yyval.exp) = new_exp_from_unary( ae_op_plusplus, (yyvsp[0].exp), EM_lineNum ); }2720 { (yyval.exp) = new_exp_from_unary( ae_op_plusplus, (yyvsp[0].exp), EM_lineNum ); }
2718#line 2719 "chuck.tab.c" /* yacc.c:1646 */2721#line 2722 "chuck.tab.c" /* yacc.c:1646 */
2719 break;2722 break;
2720 2723
2721 case 151:2724 case 152:
2722#line 541 "chuck.y" /* yacc.c:1646 */2725#line 543 "chuck.y" /* yacc.c:1646 */
2723 { (yyval.exp) = new_exp_from_unary( ae_op_minusminus, (yyvsp[0].exp), EM_lineNum ); }2726 { (yyval.exp) = new_exp_from_unary( ae_op_minusminus, (yyvsp[0].exp), EM_lineNum ); }
2724#line 2725 "chuck.tab.c" /* yacc.c:1646 */2727#line 2728 "chuck.tab.c" /* yacc.c:1646 */
2725 break;2728 break;
2726 2729
2727 case 152:2730 case 153:
2728#line 543 "chuck.y" /* yacc.c:1646 */2731#line 545 "chuck.y" /* yacc.c:1646 */
2729 { (yyval.exp) = new_exp_from_unary( (yyvsp[-1].ival), (yyvsp[0].exp), EM_lineNum ); }2732 { (yyval.exp) = new_exp_from_unary( (yyvsp[-1].ival), (yyvsp[0].exp), EM_lineNum ); }
2730#line 2731 "chuck.tab.c" /* yacc.c:1646 */2733#line 2734 "chuck.tab.c" /* yacc.c:1646 */
2731 break;2734 break;
2732 2735
2733 case 153:2736 case 154:
2734#line 545 "chuck.y" /* yacc.c:1646 */2737#line 547 "chuck.y" /* yacc.c:1646 */
2735 { (yyval.exp) = new_exp_from_unary( ae_op_typeof, (yyvsp[0].exp), EM_lineNum ); }2738 { (yyval.exp) = new_exp_from_unary( ae_op_typeof, (yyvsp[0].exp), EM_lineNum ); }
2736#line 2737 "chuck.tab.c" /* yacc.c:1646 */2739#line 2740 "chuck.tab.c" /* yacc.c:1646 */
2737 break;2740 break;
2738 2741
2739 case 154:2742 case 155:
2740#line 547 "chuck.y" /* yacc.c:1646 */2743#line 549 "chuck.y" /* yacc.c:1646 */
2741 { (yyval.exp) = new_exp_from_unary( ae_op_sizeof, (yyvsp[0].exp), EM_lineNum ); }2744 { (yyval.exp) = new_exp_from_unary( ae_op_sizeof, (yyvsp[0].exp), EM_lineNum ); }
2742#line 2743 "chuck.tab.c" /* yacc.c:1646 */2745#line 2746 "chuck.tab.c" /* yacc.c:1646 */
2743 break;2746 break;
2744 2747
2745 case 155:2748 case 156:
2746#line 549 "chuck.y" /* yacc.c:1646 */2749#line 551 "chuck.y" /* yacc.c:1646 */
2747 { (yyval.exp) = new_exp_from_unary2( ae_op_new, (yyvsp[0].type_decl), NULL, EM_lineNum ); }2750 { (yyval.exp) = new_exp_from_unary2( ae_op_new, (yyvsp[0].type_decl), NULL, EM_lineNum ); }
2748#line 2749 "chuck.tab.c" /* yacc.c:1646 */2751#line 2752 "chuck.tab.c" /* yacc.c:1646 */
2749 break;2752 break;
2750 2753
2751 case 156:2754 case 157:
2752#line 551 "chuck.y" /* yacc.c:1646 */2755#line 553 "chuck.y" /* yacc.c:1646 */
2753 { (yyval.exp) = new_exp_from_unary2( ae_op_new, (yyvsp[-1].type_decl), (yyvsp[0].array_sub), EM_lineNum ); }2756 { (yyval.exp) = new_exp_from_unary2( ae_op_new, (yyvsp[-1].type_decl), (yyvsp[0].array_sub), EM_lineNum ); }
2754#line 2755 "chuck.tab.c" /* yacc.c:1646 */2757#line 2758 "chuck.tab.c" /* yacc.c:1646 */
2755 break;2758 break;
2756 2759
2757 case 157:2760 case 158:
2758#line 557 "chuck.y" /* yacc.c:1646 */2761#line 559 "chuck.y" /* yacc.c:1646 */
2759 { (yyval.ival) = ae_op_plus; }2762 { (yyval.ival) = ae_op_plus; }
2760#line 2761 "chuck.tab.c" /* yacc.c:1646 */2763#line 2764 "chuck.tab.c" /* yacc.c:1646 */
2761 break;2764 break;
2762 2765
2763 case 158:2766 case 159:
2764#line 558 "chuck.y" /* yacc.c:1646 */2767#line 560 "chuck.y" /* yacc.c:1646 */
2765 { (yyval.ival) = ae_op_minus; }2768 { (yyval.ival) = ae_op_minus; }
2766#line 2767 "chuck.tab.c" /* yacc.c:1646 */2769#line 2770 "chuck.tab.c" /* yacc.c:1646 */
2767 break;2770 break;
2768 2771
2769 case 159:2772 case 160:
2770#line 559 "chuck.y" /* yacc.c:1646 */2773#line 561 "chuck.y" /* yacc.c:1646 */
2771 { (yyval.ival) = ae_op_tilda; }2774 { (yyval.ival) = ae_op_tilda; }
2772#line 2773 "chuck.tab.c" /* yacc.c:1646 */2775#line 2776 "chuck.tab.c" /* yacc.c:1646 */
2773 break;2776 break;
2774 2777
2775 case 160:2778 case 161:
2776#line 560 "chuck.y" /* yacc.c:1646 */2779#line 562 "chuck.y" /* yacc.c:1646 */
2777 { (yyval.ival) = ae_op_exclamation; }2780 { (yyval.ival) = ae_op_exclamation; }
2778#line 2779 "chuck.tab.c" /* yacc.c:1646 */2781#line 2782 "chuck.tab.c" /* yacc.c:1646 */
2779 break;2782 break;
2780 2783
2781 case 161:2784 case 162:
2782#line 561 "chuck.y" /* yacc.c:1646 */2785#line 563 "chuck.y" /* yacc.c:1646 */
2783 { (yyval.ival) = ae_op_times; }2786 { (yyval.ival) = ae_op_times; }
2784#line 2785 "chuck.tab.c" /* yacc.c:1646 */2787#line 2788 "chuck.tab.c" /* yacc.c:1646 */
2785 break;2788 break;
2786 2789
2787 case 162:2790 case 163:
2788#line 562 "chuck.y" /* yacc.c:1646 */2791#line 564 "chuck.y" /* yacc.c:1646 */
2789 { (yyval.ival) = ae_op_spork; }2792 { (yyval.ival) = ae_op_spork; }
2790#line 2791 "chuck.tab.c" /* yacc.c:1646 */2793#line 2794 "chuck.tab.c" /* yacc.c:1646 */
2791 break;2794 break;
2792 2795
2793 case 164:2796 case 165:
2794#line 569 "chuck.y" /* yacc.c:1646 */2797#line 571 "chuck.y" /* yacc.c:1646 */
2795 { (yyval.exp) = new_exp_from_dur( (yyvsp[-2].exp), (yyvsp[0].exp), EM_lineNum ); }2798 { (yyval.exp) = new_exp_from_dur( (yyvsp[-2].exp), (yyvsp[0].exp), EM_lineNum ); }
2796#line 2797 "chuck.tab.c" /* yacc.c:1646 */2799#line 2800 "chuck.tab.c" /* yacc.c:1646 */
2797 break;2800 break;
2798 2801
2799 case 165:2802 case 166:
2800#line 573 "chuck.y" /* yacc.c:1646 */2803#line 575 "chuck.y" /* yacc.c:1646 */
2801 { (yyval.exp) = (yyvsp[0].exp); }2804 { (yyval.exp) = (yyvsp[0].exp); }
2802#line 2803 "chuck.tab.c" /* yacc.c:1646 */2805#line 2806 "chuck.tab.c" /* yacc.c:1646 */
2803 break;2806 break;
2804 2807
2805 case 166:2808 case 167:
2806#line 575 "chuck.y" /* yacc.c:1646 */2809#line 577 "chuck.y" /* yacc.c:1646 */
2807 { (yyval.exp) = new_exp_from_array( (yyvsp[-1].exp), (yyvsp[0].array_sub), EM_lineNum ); }2810 { (yyval.exp) = new_exp_from_array( (yyvsp[-1].exp), (yyvsp[0].array_sub), EM_lineNum ); }
2808#line 2809 "chuck.tab.c" /* yacc.c:1646 */2811#line 2812 "chuck.tab.c" /* yacc.c:1646 */
2809 break;2812 break;
2810 2813
2811 case 167:2814 case 168:
2812#line 577 "chuck.y" /* yacc.c:1646 */2815#line 579 "chuck.y" /* yacc.c:1646 */
2813 { (yyval.exp) = new_exp_from_func_call( (yyvsp[-2].exp), NULL, EM_lineNum ); }2816 { (yyval.exp) = new_exp_from_func_call( (yyvsp[-2].exp), NULL, EM_lineNum ); }
2814#line 2815 "chuck.tab.c" /* yacc.c:1646 */2817#line 2818 "chuck.tab.c" /* yacc.c:1646 */
2815 break;2818 break;
2816 2819
2817 case 168:2820 case 169:
2818#line 579 "chuck.y" /* yacc.c:1646 */2821#line 581 "chuck.y" /* yacc.c:1646 */
2819 { (yyval.exp) = new_exp_from_func_call( (yyvsp[-3].exp), (yyvsp[-1].exp), EM_lineNum ); }2822 { (yyval.exp) = new_exp_from_func_call( (yyvsp[-3].exp), (yyvsp[-1].exp), EM_lineNum ); }
2820#line 2821 "chuck.tab.c" /* yacc.c:1646 */2823#line 2824 "chuck.tab.c" /* yacc.c:1646 */
2821 break;2824 break;
2822 2825
2823 case 169:2826 case 170:
2824#line 581 "chuck.y" /* yacc.c:1646 */2827#line 583 "chuck.y" /* yacc.c:1646 */
2825 { (yyval.exp) = new_exp_from_member_dot( (yyvsp[-2].exp), (yyvsp[0].sval), EM_lineNum ); }2828 { (yyval.exp) = new_exp_from_member_dot( (yyvsp[-2].exp), (yyvsp[0].sval), EM_lineNum ); }
2826#line 2827 "chuck.tab.c" /* yacc.c:1646 */2829#line 2830 "chuck.tab.c" /* yacc.c:1646 */
2827 break;2830 break;
2828 2831
2829 case 170:2832 case 171:
2830#line 583 "chuck.y" /* yacc.c:1646 */2833#line 585 "chuck.y" /* yacc.c:1646 */
2831 { (yyval.exp) = new_exp_from_postfix( (yyvsp[-1].exp), ae_op_plusplus, EM_lineNum ); }2834 { (yyval.exp) = new_exp_from_postfix( (yyvsp[-1].exp), ae_op_plusplus, EM_lineNum ); }
2832#line 2833 "chuck.tab.c" /* yacc.c:1646 */2835#line 2836 "chuck.tab.c" /* yacc.c:1646 */
2833 break;2836 break;
2834 2837
2835 case 171:2838 case 172:
2836#line 585 "chuck.y" /* yacc.c:1646 */2839#line 587 "chuck.y" /* yacc.c:1646 */
2837 { (yyval.exp) = new_exp_from_postfix( (yyvsp[-1].exp), ae_op_minusminus, EM_lineNum ); }2840 { (yyval.exp) = new_exp_from_postfix( (yyvsp[-1].exp), ae_op_minusminus, EM_lineNum ); }
2838#line 2839 "chuck.tab.c" /* yacc.c:1646 */2841#line 2842 "chuck.tab.c" /* yacc.c:1646 */
2839 break;2842 break;
2840 2843
2841 case 172:2844 case 173:
2842#line 590 "chuck.y" /* yacc.c:1646 */2845#line 592 "chuck.y" /* yacc.c:1646 */
2843 { (yyval.exp) = new_exp_from_id( (yyvsp[0].sval), EM_lineNum ); }2846 { (yyval.exp) = new_exp_from_id( (yyvsp[0].sval), EM_lineNum ); }
2844#line 2845 "chuck.tab.c" /* yacc.c:1646 */2847#line 2848 "chuck.tab.c" /* yacc.c:1646 */
2845 break;2848 break;
2846 2849
2847 case 173:2850 case 174:
2848#line 591 "chuck.y" /* yacc.c:1646 */2851#line 593 "chuck.y" /* yacc.c:1646 */
2849 { (yyval.exp) = new_exp_from_int( (yyvsp[0].ival), EM_lineNum ); }2852 { (yyval.exp) = new_exp_from_int( (yyvsp[0].ival), EM_lineNum ); }
2850#line 2851 "chuck.tab.c" /* yacc.c:1646 */2853#line 2854 "chuck.tab.c" /* yacc.c:1646 */
2851 break;2854 break;
2852 2855
2853 case 174:2856 case 175:
2854#line 592 "chuck.y" /* yacc.c:1646 */2857#line 594 "chuck.y" /* yacc.c:1646 */
2855 { (yyval.exp) = new_exp_from_float( (yyvsp[0].fval), EM_lineNum ); }2858 { (yyval.exp) = new_exp_from_float( (yyvsp[0].fval), EM_lineNum ); }
2856#line 2857 "chuck.tab.c" /* yacc.c:1646 */2859#line 2860 "chuck.tab.c" /* yacc.c:1646 */
2857 break;2860 break;
2858 2861
2859 case 175:2862 case 176:
2860#line 593 "chuck.y" /* yacc.c:1646 */2863#line 595 "chuck.y" /* yacc.c:1646 */
2861 { (yyval.exp) = new_exp_from_str( (yyvsp[0].sval), EM_lineNum ); }2864 { (yyval.exp) = new_exp_from_str( (yyvsp[0].sval), EM_lineNum ); }
2862#line 2863 "chuck.tab.c" /* yacc.c:1646 */2865#line 2866 "chuck.tab.c" /* yacc.c:1646 */
2863 break;2866 break;
2864 2867
2865 case 176:2868 case 177:
2866#line 594 "chuck.y" /* yacc.c:1646 */2869#line 596 "chuck.y" /* yacc.c:1646 */
2867 { (yyval.exp) = new_exp_from_char( (yyvsp[0].sval), EM_lineNum ); }2870 { (yyval.exp) = new_exp_from_char( (yyvsp[0].sval), EM_lineNum ); }
2868#line 2869 "chuck.tab.c" /* yacc.c:1646 */2871#line 2872 "chuck.tab.c" /* yacc.c:1646 */
2869 break;2872 break;
2870 2873
2871 case 177:2874 case 178:
2872#line 595 "chuck.y" /* yacc.c:1646 */2875#line 597 "chuck.y" /* yacc.c:1646 */
2873 { (yyval.exp) = new_exp_from_array_lit( (yyvsp[0].array_sub), EM_lineNum ); }2876 { (yyval.exp) = new_exp_from_array_lit( (yyvsp[0].array_sub), EM_lineNum ); }
2874#line 2875 "chuck.tab.c" /* yacc.c:1646 */2877#line 2878 "chuck.tab.c" /* yacc.c:1646 */
2875 break;2878 break;
2876 2879
2877 case 178:2880 case 179:
2878#line 596 "chuck.y" /* yacc.c:1646 */2881#line 598 "chuck.y" /* yacc.c:1646 */
2879 { (yyval.exp) = new_exp_from_complex( (yyvsp[0].complex_exp), EM_lineNum ); }2882 { (yyval.exp) = new_exp_from_complex( (yyvsp[0].complex_exp), EM_lineNum ); }
2880#line 2881 "chuck.tab.c" /* yacc.c:1646 */2883#line 2884 "chuck.tab.c" /* yacc.c:1646 */
2881 break;2884 break;
2882 2885
2883 case 179:2886 case 180:
2884#line 597 "chuck.y" /* yacc.c:1646 */2887#line 599 "chuck.y" /* yacc.c:1646 */
2885 { (yyval.exp) = new_exp_from_polar( (yyvsp[0].polar_exp), EM_lineNum ); }2888 { (yyval.exp) = new_exp_from_polar( (yyvsp[0].polar_exp), EM_lineNum ); }
2886#line 2887 "chuck.tab.c" /* yacc.c:1646 */2889#line 2890 "chuck.tab.c" /* yacc.c:1646 */
2887 break;2890 break;
2888 2891
2889 case 180:2892 case 181:
2890#line 598 "chuck.y" /* yacc.c:1646 */2893#line 600 "chuck.y" /* yacc.c:1646 */
2891 { (yyval.exp) = new_exp_from_vec( (yyvsp[0].vec_exp), EM_lineNum ); }2894 { (yyval.exp) = new_exp_from_vec( (yyvsp[0].vec_exp), EM_lineNum ); }
2892#line 2893 "chuck.tab.c" /* yacc.c:1646 */2895#line 2896 "chuck.tab.c" /* yacc.c:1646 */
2893 break;2896 break;
2894 2897
2895 case 181:2898 case 182:
2896#line 599 "chuck.y" /* yacc.c:1646 */2899#line 601 "chuck.y" /* yacc.c:1646 */
2897 { (yyval.exp) = new_exp_from_hack( (yyvsp[-1].exp), EM_lineNum ); }2900 { (yyval.exp) = new_exp_from_hack( (yyvsp[-1].exp), EM_lineNum ); }
2898#line 2899 "chuck.tab.c" /* yacc.c:1646 */2901#line 2902 "chuck.tab.c" /* yacc.c:1646 */
2899 break;2902 break;
2900 2903
2901 case 182:2904 case 183:
2902#line 600 "chuck.y" /* yacc.c:1646 */2905#line 602 "chuck.y" /* yacc.c:1646 */
2903 { (yyval.exp) = (yyvsp[-1].exp); }2906 { (yyval.exp) = (yyvsp[-1].exp); }
2904#line 2905 "chuck.tab.c" /* yacc.c:1646 */2907#line 2908 "chuck.tab.c" /* yacc.c:1646 */
2905 break;2908 break;
2906 2909
2907 case 183:2910 case 184:
2908#line 601 "chuck.y" /* yacc.c:1646 */2911#line 603 "chuck.y" /* yacc.c:1646 */
2909 { (yyval.exp) = new_exp_from_nil( EM_lineNum ); }2912 { (yyval.exp) = new_exp_from_nil( EM_lineNum ); }
2910#line 2911 "chuck.tab.c" /* yacc.c:1646 */2913#line 2914 "chuck.tab.c" /* yacc.c:1646 */
2911 break;2914 break;
2912 2915
2913 2916
2914#line 2915 "chuck.tab.c" /* yacc.c:1646 */2917#line 2918 "chuck.tab.c" /* yacc.c:1646 */
2915 default: break;2918 default: break;
2916 }2919 }
2917 /* User semantic actions sometimes alter yychar, and that requires2920 /* User semantic actions sometimes alter yychar, and that requires
2918 that yytoken be updated with the new translation. We take the2921 that yytoken be updated with the new translation. We take the
2919 approach of translating immediately before every use of yytoken.2922 approach of translating immediately before every use of yytoken.
2920 One alternative is translating here after every semantic action,2923 One alternative is translating here after every semantic action,
2921 but that translation would be missed if the semantic action invokes2924 but that translation would be missed if the semantic action invokes
2922 YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or2925 YYABORT, YYACCEPT, or YYERROR immediately after altering yychar or
2923 if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an2926 if it invokes YYBACKUP. In the case of YYABORT or YYACCEPT, an
2924 incorrect destructor might then be invoked immediately. In the2927 incorrect destructor might then be invoked immediately. In the
2925 case of YYERROR or YYBACKUP, subsequent parser actions might lead2928 case of YYERROR or YYBACKUP, subsequent parser actions might lead
2926 to an incorrect destructor call or verbose syntax error message2929 to an incorrect destructor call or verbose syntax error message
2927 before the lookahead is translated. */2930 before the lookahead is translated. */
2928 YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);2931 YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
2929 2932
2930 YYPOPSTACK (yylen);2933 YYPOPSTACK (yylen);
2931 yylen = 0;2934 yylen = 0;
2932 YY_STACK_PRINT (yyss, yyssp);2935 YY_STACK_PRINT (yyss, yyssp);
2933 2936
2934 *++yyvsp = yyval;2937 *++yyvsp = yyval;
2935 2938
2936 /* Now 'shift' the result of the reduction. Determine what state2939 /* Now 'shift' the result of the reduction. Determine what state
2937 that goes to, based on the state we popped back to and the rule2940 that goes to, based on the state we popped back to and the rule
2938 number reduced by. */2941 number reduced by. */
2939 2942
2940 yyn = yyr1[yyn];2943 yyn = yyr1[yyn];
2941 2944
2942 yystate = yypgoto[yyn - YYNTOKENS] + *yyssp;2945 yystate = yypgoto[yyn - YYNTOKENS] + *yyssp;
2943 if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp)2946 if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp)
2944 yystate = yytable[yystate];2947 yystate = yytable[yystate];
2945 else2948 else
2946 yystate = yydefgoto[yyn - YYNTOKENS];2949 yystate = yydefgoto[yyn - YYNTOKENS];
2947 2950
2948 goto yynewstate;2951 goto yynewstate;
2949 2952
2950 2953
2951 /*--------------------------------------.2954/*--------------------------------------.
2952 | yyerrlab -- here on detecting error. |2955| yyerrlab -- here on detecting error. |
2953 `--------------------------------------*/2956`--------------------------------------*/
2954yyerrlab:2957yyerrlab:
2955 /* Make sure we have latest lookahead translation. See comments at2958 /* Make sure we have latest lookahead translation. See comments at
2956 user semantic actions for why this is necessary. */2959 user semantic actions for why this is necessary. */
2957 yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar);2960 yytoken = yychar == YYEMPTY ? YYEMPTY : YYTRANSLATE (yychar);
2958 2961
2959 /* If not already recovering from an error, report this error. */2962 /* If not already recovering from an error, report this error. */
2960 if (!yyerrstatus)2963 if (!yyerrstatus)
2961 {2964 {
2962 ++yynerrs;2965 ++yynerrs;
2963#if ! YYERROR_VERBOSE2966#if ! YYERROR_VERBOSE
2964 yyerror (YY_("syntax error"));2967 yyerror (YY_("syntax error"));
2965#else2968#else
2966# define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \2969# define YYSYNTAX_ERROR yysyntax_error (&yymsg_alloc, &yymsg, \
2967 yyssp, yytoken)2970 yyssp, yytoken)
2968 {2971 {
2969 char const *yymsgp = YY_("syntax error");2972 char const *yymsgp = YY_("syntax error");
2970 int yysyntax_error_status;2973 int yysyntax_error_status;
2971 yysyntax_error_status = YYSYNTAX_ERROR;2974 yysyntax_error_status = YYSYNTAX_ERROR;
2972 if (yysyntax_error_status == 0)2975 if (yysyntax_error_status == 0)
2976 yymsgp = yymsg;
2977 else if (yysyntax_error_status == 1)
2978 {
2979 if (yymsg != yymsgbuf)
2980 YYSTACK_FREE (yymsg);
2981 yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc);
2982 if (!yymsg)
2983 {
2984 yymsg = yymsgbuf;
2985 yymsg_alloc = sizeof yymsgbuf;
2986 yysyntax_error_status = 2;
2987 }
2988 else
2989 {
2990 yysyntax_error_status = YYSYNTAX_ERROR;
2973 yymsgp = yymsg;2991 yymsgp = yymsg;
2974 else if (yysyntax_error_status == 1)2992 }
2975 {2993 }
2976 if (yymsg != yymsgbuf)2994 yyerror (yymsgp);
2977 YYSTACK_FREE (yymsg);2995 if (yysyntax_error_status == 2)
2978 yymsg = (char *) YYSTACK_ALLOC (yymsg_alloc);2996 goto yyexhaustedlab;
2979 if (!yymsg)2997 }
2980 {
2981 yymsg = yymsgbuf;
2982 yymsg_alloc = sizeof yymsgbuf;
2983 yysyntax_error_status = 2;
2984 }
2985 else
2986 {
2987 yysyntax_error_status = YYSYNTAX_ERROR;
2988 yymsgp = yymsg;
2989 }
2990 }
2991 yyerror (yymsgp);
2992 if (yysyntax_error_status == 2)
2993 goto yyexhaustedlab;
2994 }
2995# undef YYSYNTAX_ERROR2998# undef YYSYNTAX_ERROR
2996#endif2999#endif
2997 }3000 }
2998 3001
2999 3002
3000 3003
3001 if (yyerrstatus == 3)3004 if (yyerrstatus == 3)
3002 {3005 {
3003 /* If just tried and failed to reuse lookahead token after an3006 /* If just tried and failed to reuse lookahead token after an
3004 error, discard it. */3007 error, discard it. */
3005 3008
3006 if (yychar <= YYEOF)3009 if (yychar <= YYEOF)
3007 {3010 {
3008 /* Return failure if at end of input. */3011 /* Return failure if at end of input. */
3009 if (yychar == YYEOF)3012 if (yychar == YYEOF)
3010 YYABORT;3013 YYABORT;
3011 }3014 }
3012 else3015 else
3013 {3016 {
3014 yydestruct ("Error: discarding",3017 yydestruct ("Error: discarding",
3015 yytoken, &yylval);3018 yytoken, &yylval);
3016 yychar = YYEMPTY;3019 yychar = YYEMPTY;
3017 }3020 }
3018 }3021 }
3019 3022
3020 /* Else will try to reuse lookahead token after shifting the error3023 /* Else will try to reuse lookahead token after shifting the error
3021 token. */3024 token. */
3022 goto yyerrlab1;3025 goto yyerrlab1;
3023 3026
3024 3027
3025 /*---------------------------------------------------.3028/*---------------------------------------------------.
3026 | yyerrorlab -- error raised explicitly by YYERROR. |3029| yyerrorlab -- error raised explicitly by YYERROR. |
3027 `---------------------------------------------------*/3030`---------------------------------------------------*/
3028yyerrorlab:3031yyerrorlab:
3029 3032
3030 /* Pacify compilers like GCC when the user code never invokes3033 /* Pacify compilers like GCC when the user code never invokes
3031 YYERROR and the label yyerrorlab therefore never appears in user3034 YYERROR and the label yyerrorlab therefore never appears in user
3032 code. */3035 code. */
3033 if (/*CONSTCOND*/ 0)3036 if (/*CONSTCOND*/ 0)
3034 goto yyerrorlab;3037 goto yyerrorlab;
3035 3038
3036 /* Do not reclaim the symbols of the rule whose action triggered3039 /* Do not reclaim the symbols of the rule whose action triggered
3037 this YYERROR. */3040 this YYERROR. */
3038 YYPOPSTACK (yylen);3041 YYPOPSTACK (yylen);
3039 yylen = 0;3042 yylen = 0;
3040 YY_STACK_PRINT (yyss, yyssp);3043 YY_STACK_PRINT (yyss, yyssp);
3041 yystate = *yyssp;3044 yystate = *yyssp;
3042 goto yyerrlab1;3045 goto yyerrlab1;
3043 3046
3044 3047
3045 /*-------------------------------------------------------------.3048/*-------------------------------------------------------------.
3046 | yyerrlab1 -- common code for both syntax error and YYERROR. |3049| yyerrlab1 -- common code for both syntax error and YYERROR. |
3047 `-------------------------------------------------------------*/3050`-------------------------------------------------------------*/
3048yyerrlab1:3051yyerrlab1:
3049 yyerrstatus = 3; /* Each real token shifted decrements this. */3052 yyerrstatus = 3; /* Each real token shifted decrements this. */
3050 3053
3051 for (;;)3054 for (;;)
3052 {3055 {
3053 yyn = yypact[yystate];3056 yyn = yypact[yystate];
3054 if (!yypact_value_is_default (yyn))3057 if (!yypact_value_is_default (yyn))
3055 {3058 {
3056 yyn += YYTERROR;3059 yyn += YYTERROR;
3057 if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)3060 if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
3058 {3061 {
3059 yyn = yytable[yyn];3062 yyn = yytable[yyn];
3060 if (0 < yyn)3063 if (0 < yyn)
3061 break;3064 break;
3062 }3065 }
3063 }3066 }
3064 3067
3065 /* Pop the current state because it cannot handle the error token. */3068 /* Pop the current state because it cannot handle the error token. */
3066 if (yyssp == yyss)3069 if (yyssp == yyss)
3067 YYABORT;3070 YYABORT;
3068 3071
3069 3072
3070 yydestruct ("Error: popping",3073 yydestruct ("Error: popping",
3071 yystos[yystate], yyvsp);3074 yystos[yystate], yyvsp);
3072 YYPOPSTACK (1);3075 YYPOPSTACK (1);
3073 yystate = *yyssp;3076 yystate = *yyssp;
3074 YY_STACK_PRINT (yyss, yyssp);3077 YY_STACK_PRINT (yyss, yyssp);
3075 }3078 }
3076 3079
3077 YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN3080 YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN
3078 *++yyvsp = yylval;3081 *++yyvsp = yylval;
3079 YY_IGNORE_MAYBE_UNINITIALIZED_END3082 YY_IGNORE_MAYBE_UNINITIALIZED_END
3080 3083
3081 3084
3082 /* Shift the error token. */3085 /* Shift the error token. */
3083 YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp);3086 YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp);
3084 3087
3085 yystate = yyn;3088 yystate = yyn;
3086 goto yynewstate;3089 goto yynewstate;
3087 3090
3088 3091
3089 /*-------------------------------------.3092/*-------------------------------------.
3090 | yyacceptlab -- YYACCEPT comes here. |3093| yyacceptlab -- YYACCEPT comes here. |
3091 `-------------------------------------*/3094`-------------------------------------*/
3092yyacceptlab:3095yyacceptlab:
3093 yyresult = 0;3096 yyresult = 0;
3094 goto yyreturn;3097 goto yyreturn;
3095 3098
3096 /*-----------------------------------.3099/*-----------------------------------.
3097 | yyabortlab -- YYABORT comes here. |3100| yyabortlab -- YYABORT comes here. |
3098 `-----------------------------------*/3101`-----------------------------------*/
3099yyabortlab:3102yyabortlab:
3100 yyresult = 1;3103 yyresult = 1;
3101 goto yyreturn;3104 goto yyreturn;
3102 3105
3103#if !defined yyoverflow || YYERROR_VERBOSE3106#if !defined yyoverflow || YYERROR_VERBOSE
3104 /*-------------------------------------------------.3107/*-------------------------------------------------.
3105 | yyexhaustedlab -- memory exhaustion comes here. |3108| yyexhaustedlab -- memory exhaustion comes here. |
3106 `-------------------------------------------------*/3109`-------------------------------------------------*/
3107 yyexhaustedlab:3110yyexhaustedlab:
3108 yyerror (YY_("memory exhausted"));3111 yyerror (YY_("memory exhausted"));
3109 yyresult = 2;3112 yyresult = 2;
3110 /* Fall through. */3113 /* Fall through. */
3111#endif3114#endif
3112 3115
3113 yyreturn:3116yyreturn:
3114 if (yychar != YYEMPTY)3117 if (yychar != YYEMPTY)
3115 {3118 {
3116 /* Make sure we have latest lookahead translation. See comments at3119 /* Make sure we have latest lookahead translation. See comments at
3117 user semantic actions for why this is necessary. */3120 user semantic actions for why this is necessary. */
3118 yytoken = YYTRANSLATE (yychar);3121 yytoken = YYTRANSLATE (yychar);
3119 yydestruct ("Cleanup: discarding lookahead",3122 yydestruct ("Cleanup: discarding lookahead",
3120 yytoken, &yylval);3123 yytoken, &yylval);
3121 }3124 }
3122 /* Do not reclaim the symbols of the rule whose action triggered3125 /* Do not reclaim the symbols of the rule whose action triggered
3123 this YYABORT or YYACCEPT. */3126 this YYABORT or YYACCEPT. */
3124 YYPOPSTACK (yylen);3127 YYPOPSTACK (yylen);
3125 YY_STACK_PRINT (yyss, yyssp);3128 YY_STACK_PRINT (yyss, yyssp);
3126 while (yyssp != yyss)3129 while (yyssp != yyss)
3127 {3130 {
3128 yydestruct ("Cleanup: popping",3131 yydestruct ("Cleanup: popping",
3129 yystos[*yyssp], yyvsp);3132 yystos[*yyssp], yyvsp);
3130 YYPOPSTACK (1);3133 YYPOPSTACK (1);
3131 }3134 }
3132#ifndef yyoverflow3135#ifndef yyoverflow
3133 if (yyss != yyssa)3136 if (yyss != yyssa)
3134 YYSTACK_FREE (yyss);3137 YYSTACK_FREE (yyss);
3135#endif3138#endif
3136#if YYERROR_VERBOSE3139#if YYERROR_VERBOSE
3137 if (yymsg != yymsgbuf)3140 if (yymsg != yymsgbuf)
3138 YYSTACK_FREE (yymsg);3141 YYSTACK_FREE (yymsg);
3139#endif3142#endif
3140 return yyresult;3143 return yyresult;
3141}3144}
3142#line 2 "chuck.yy.c"3145#line 1 "core/chuck.yy.c"
3143 3146
3144#line 4 "chuck.yy.c"3147#line 3 "core/chuck.yy.c"
3145 3148
3146#define YY_INT_ALIGNED short int3149#define YY_INT_ALIGNED short int
3147 3150
@@ -3150,7 +3153,7 @@ yyabortlab: · 2 unmodified lines
3150#define FLEX_SCANNER3153#define FLEX_SCANNER
3151#define YY_FLEX_MAJOR_VERSION 23154#define YY_FLEX_MAJOR_VERSION 2
3152#define YY_FLEX_MINOR_VERSION 63155#define YY_FLEX_MINOR_VERSION 6
3153#define YY_FLEX_SUBMINOR_VERSION 03156#define YY_FLEX_SUBMINOR_VERSION 4
3154#if YY_FLEX_SUBMINOR_VERSION > 03157#if YY_FLEX_SUBMINOR_VERSION > 0
3155#define FLEX_BETA3158#define FLEX_BETA
3156#endif3159#endif
@@ -3175,8 +3178,8 @@ yyabortlab: · 18 unmodified lines
3175#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L3178#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
3176 3179
3177/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,3180/* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
3178* if you want the limit (max/min) macros for int types. 3181 * if you want the limit (max/min) macros for int types.
3179*/3182 */
3180#ifndef __STDC_LIMIT_MACROS3183#ifndef __STDC_LIMIT_MACROS
3181#define __STDC_LIMIT_MACROS 13184#define __STDC_LIMIT_MACROS 1
3182#endif3185#endif
@@ -3225,69 +3228,57 @@ typedef unsigned int flex_uint32_t; · 42 unmodified lines
3225#define UINT32_MAX (4294967295U)3228#define UINT32_MAX (4294967295U)
3226#endif3229#endif
3227 3230
3231#ifndef SIZE_MAX
3232#define SIZE_MAX (~(size_t)0)
3233#endif
3234
3228#endif /* ! C99 */3235#endif /* ! C99 */
3229 3236
3230#endif /* ! FLEXINT_H */3237#endif /* ! FLEXINT_H */
3231 3238
3232#ifdef __cplusplus3239/* begin standard C++ headers. */
3233
3234/* The "const" storage-class-modifier is valid. */
3235#define YY_USE_CONST
3236
3237#else /* ! __cplusplus */
3238
3239/* C99 requires __STDC__ to be defined as 1. */
3240#if defined (__STDC__)
3241 3240
3242#define YY_USE_CONST3241/* TODO: this is always defined, so inline it */
3243
3244#endif /* defined (__STDC__) */
3245#endif /* ! __cplusplus */
3246
3247#ifdef YY_USE_CONST
3248#define yyconst const3242#define yyconst const
3243
3244#if defined(__GNUC__) && __GNUC__ >= 3
3245#define yynoreturn __attribute__((__noreturn__))
3249#else3246#else
3250#define yyconst3247#define yynoreturn
3251#endif3248#endif
3252 3249
3253/* Returned upon end-of-file. */3250/* Returned upon end-of-file. */
3254#define YY_NULL 03251#define YY_NULL 0
3255 3252
3256/* Promotes a possibly negative, possibly signed char to an unsigned3253/* Promotes a possibly negative, possibly signed char to an
3257* integer for use as an array index. If the signed char is negative,3254 * integer in range [0..255] for use as an array index.
3258* we want to instead treat it as an 8-bit unsigned char, hence the3255 */
3259* double cast.3256#define YY_SC_TO_UI(c) ((YY_CHAR) (c))
3260*/
3261#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
3262 3257
3263/* Enter a start condition. This macro really ought to take a parameter,3258/* Enter a start condition. This macro really ought to take a parameter,
3264* but we do it the disgusting crufty way forced on us by the ()-less3259 * but we do it the disgusting crufty way forced on us by the ()-less
3265* definition of BEGIN.3260 * definition of BEGIN.
3266*/3261 */
3267#define BEGIN (yy_start) = 1 + 2 *3262#define BEGIN (yy_start) = 1 + 2 *
3268
3269/* Translate the current start state into a value that can be later handed3263/* Translate the current start state into a value that can be later handed
3270* to BEGIN to return to the state. The YYSTATE alias is for lex3264 * to BEGIN to return to the state. The YYSTATE alias is for lex
3271* compatibility.3265 * compatibility.
3272*/3266 */
3273#define YY_START (((yy_start) - 1) / 2)3267#define YY_START (((yy_start) - 1) / 2)
3274#define YYSTATE YY_START3268#define YYSTATE YY_START
3275
3276/* Action number for EOF rule of a given start state. */3269/* Action number for EOF rule of a given start state. */
3277#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)3270#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
3278
3279/* Special action meaning "start processing a new file". */3271/* Special action meaning "start processing a new file". */
3280#define YY_NEW_FILE yyrestart(yyin )3272#define YY_NEW_FILE yyrestart( yyin )
3281
3282#define YY_END_OF_BUFFER_CHAR 03273#define YY_END_OF_BUFFER_CHAR 0
3283 3274
3284/* Size of default input buffer. */3275/* Size of default input buffer. */
3285#ifndef YY_BUF_SIZE3276#ifndef YY_BUF_SIZE
3286#ifdef __ia64__3277#ifdef __ia64__
3287/* On IA-64, the buffer size is 16k, not 8k.3278/* On IA-64, the buffer size is 16k, not 8k.
3288* Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.3279 * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
3289* Ditto for the __ia64__ case accordingly.3280 * Ditto for the __ia64__ case accordingly.
3290*/3281 */
3291#define YY_BUF_SIZE 327683282#define YY_BUF_SIZE 32768
3292#else3283#else
3293#define YY_BUF_SIZE 163843284#define YY_BUF_SIZE 16384
@@ -3295,7 +3286,7 @@ typedef unsigned int flex_uint32_t; · 1 unmodified line
3295#endif3286#endif
3296 3287
3297/* The state buf must be large enough to hold one state per character in the main buffer.3288/* The state buf must be large enough to hold one state per character in the main buffer.
3298*/3289 */
3299#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))3290#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
3300 3291
3301#ifndef YY_TYPEDEF_YY_BUFFER_STATE3292#ifndef YY_TYPEDEF_YY_BUFFER_STATE
@@ -3308,17 +3299,17 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE; · 6 unmodified lines
3308typedef size_t yy_size_t;3299typedef size_t yy_size_t;
3309#endif3300#endif
3310 3301
3311extern yy_size_t yyleng;3302extern int yyleng;
3312 3303
3313extern FILE *yyin, *yyout;3304extern FILE *yyin, *yyout;
3314 3305
3315#define EOB_ACT_CONTINUE_SCAN 03306#define EOB_ACT_CONTINUE_SCAN 0
3316#define EOB_ACT_END_OF_FILE 13307#define EOB_ACT_END_OF_FILE 1
3317#define EOB_ACT_LAST_MATCH 23308#define EOB_ACT_LAST_MATCH 2
3318 3309
3319#define YY_LESS_LINENO(n)3310 #define YY_LESS_LINENO(n)
3320#define YY_LINENO_REWIND_TO(ptr)3311 #define YY_LINENO_REWIND_TO(ptr)
3321 3312
3322/* Return all but the first "n" matched characters back to the input stream. */3313/* Return all but the first "n" matched characters back to the input stream. */
3323#define yyless(n) \3314#define yyless(n) \
3324 do \3315 do \
@@ -3332,165 +3323,157 @@ extern FILE *yyin, *yyout; · 7 unmodified lines
3332 YY_DO_BEFORE_ACTION; /* set up yytext again */ \3323 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
3333 } \3324 } \
3334 while ( 0 )3325 while ( 0 )
3335
3336#define unput(c) yyunput( c, (yytext_ptr) )3326#define unput(c) yyunput( c, (yytext_ptr) )
3337 3327
3338#ifndef YY_STRUCT_YY_BUFFER_STATE3328#ifndef YY_STRUCT_YY_BUFFER_STATE
3339#define YY_STRUCT_YY_BUFFER_STATE3329#define YY_STRUCT_YY_BUFFER_STATE
3340struct yy_buffer_state3330struct yy_buffer_state
3341{3331 {
3342 FILE *yy_input_file;3332 FILE *yy_input_file;
3343 3333
3344 char *yy_ch_buf; /* input buffer */3334 char *yy_ch_buf; /* input buffer */
3345 char *yy_buf_pos; /* current position in input buffer */3335 char *yy_buf_pos; /* current position in input buffer */
3346 3336
3347 /* Size of input buffer in bytes, not including room for EOB3337 /* Size of input buffer in bytes, not including room for EOB
3348 * characters.3338 * characters.
3349 */3339 */
3350 yy_size_t yy_buf_size;3340 int yy_buf_size;
3351 3341
3352 /* Number of characters read into yy_ch_buf, not including EOB3342 /* Number of characters read into yy_ch_buf, not including EOB
3353 * characters.3343 * characters.
3354 */3344 */
3355 yy_size_t yy_n_chars;3345 int yy_n_chars;
3356 3346
3357 /* Whether we "own" the buffer - i.e., we know we created it,3347 /* Whether we "own" the buffer - i.e., we know we created it,
3358 * and can realloc() it to grow it, and should free() it to3348 * and can realloc() it to grow it, and should free() it to
3359 * delete it.3349 * delete it.
3360 */3350 */
3361 int yy_is_our_buffer;3351 int yy_is_our_buffer;
3362 3352
3363 /* Whether this is an "interactive" input source; if so, and3353 /* Whether this is an "interactive" input source; if so, and
3364 * if we're using stdio for input, then we want to use getc()3354 * if we're using stdio for input, then we want to use getc()
3365 * instead of fread(), to make sure we stop fetching input after3355 * instead of fread(), to make sure we stop fetching input after
3366 * each newline.3356 * each newline.
3367 */3357 */
3368 int yy_is_interactive;3358 int yy_is_interactive;
3369 3359
3370 /* Whether we're considered to be at the beginning of a line.3360 /* Whether we're considered to be at the beginning of a line.
3371 * If so, '^' rules will be active on the next match, otherwise3361 * If so, '^' rules will be active on the next match, otherwise
3372 * not.3362 * not.
3373 */3363 */
3374 int yy_at_bol;3364 int yy_at_bol;
3375 3365
3376 int yy_bs_lineno; /**< The line count. */3366 int yy_bs_lineno; /**< The line count. */
3377 int yy_bs_column; /**< The column count. */3367 int yy_bs_column; /**< The column count. */
3378 3368
3379 /* Whether to try to fill the input buffer when we reach the3369 /* Whether to try to fill the input buffer when we reach the
3380 * end of it.3370 * end of it.
3381 */3371 */
3382 int yy_fill_buffer;3372 int yy_fill_buffer;
3383 3373
3384 int yy_buffer_status;3374 int yy_buffer_status;
3385 3375
3386#define YY_BUFFER_NEW 03376#define YY_BUFFER_NEW 0
3387#define YY_BUFFER_NORMAL 13377#define YY_BUFFER_NORMAL 1
3388 /* When an EOF's been seen but there's still some text to process3378 /* When an EOF's been seen but there's still some text to process
3389 * then we mark the buffer as YY_EOF_PENDING, to indicate that we3379 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
3390 * shouldn't try reading from the input source any more. We might3380 * shouldn't try reading from the input source any more. We might
3391 * still have a bunch of tokens to match, though, because of3381 * still have a bunch of tokens to match, though, because of
3392 * possible backing-up.3382 * possible backing-up.
3393 *3383 *
3394 * When we actually see the EOF, we change the status to "new"3384 * When we actually see the EOF, we change the status to "new"
3395 * (via yyrestart()), so that the user can continue scanning by3385 * (via yyrestart()), so that the user can continue scanning by
3396 * just pointing yyin at a new input file.3386 * just pointing yyin at a new input file.
3397 */3387 */
3398#define YY_BUFFER_EOF_PENDING 23388#define YY_BUFFER_EOF_PENDING 2
3399 3389
3400};3390 };
3401#endif /* !YY_STRUCT_YY_BUFFER_STATE */3391#endif /* !YY_STRUCT_YY_BUFFER_STATE */
3402 3392
3403/* Stack of input buffers. */3393/* Stack of input buffers. */
3404static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */3394static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */
3405static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */3395static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */
3406static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */3396static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */
3407 3397
3408 /* We provide macros for accessing buffer states in case in the3398/* We provide macros for accessing buffer states in case in the
3409 * future we want to put the buffer states in a more general3399 * future we want to put the buffer states in a more general
3410 * "scanner state".3400 * "scanner state".
3411 *3401 *
3412 * Returns the top of the stack, or NULL.3402 * Returns the top of the stack, or NULL.
3413 */3403 */
3414#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \3404#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
3415 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \3405 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
3416 : NULL)3406 : NULL)
3417 3407/* Same as previous macro, but useful when we know that the buffer stack is not
3418 /* Same as previous macro, but useful when we know that the buffer stack is not3408 * NULL or when we need an lvalue. For internal use only.
3419 * NULL or when we need an lvalue. For internal use only.3409 */
3420 */
3421#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]3410#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
3422 3411
3423 /* yy_hold_char holds the character lost when yytext is formed. */3412/* yy_hold_char holds the character lost when yytext is formed. */
3424static char yy_hold_char;3413static char yy_hold_char;
3425static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */3414static int yy_n_chars; /* number of characters read into yy_ch_buf */
3426yy_size_t yyleng;3415int yyleng;
3427 3416
3428/* Points to current character in buffer. */3417/* Points to current character in buffer. */
3429static char *yy_c_buf_p = (char *) 0;3418static char *yy_c_buf_p = NULL;
3430static int yy_init = 0; /* whether we need to initialize */3419static int yy_init = 0; /* whether we need to initialize */
3431static int yy_start = 0; /* start state number */3420static int yy_start = 0; /* start state number */
3432 3421
3433 /* Flag which is used to allow yywrap()'s to do buffer switches3422/* Flag which is used to allow yywrap()'s to do buffer switches
3434 * instead of setting up a fresh yyin. A bit of a hack ...3423 * instead of setting up a fresh yyin. A bit of a hack ...
3435 */3424 */
3436static int yy_did_buffer_switch_on_eof;3425static int yy_did_buffer_switch_on_eof;
3437 3426
3438void yyrestart (FILE *input_file );3427void yyrestart ( FILE *input_file );
3439void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer );3428void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer );
3440YY_BUFFER_STATE yy_create_buffer (FILE *file,int size );3429YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size );
3441void yy_delete_buffer (YY_BUFFER_STATE b );3430void yy_delete_buffer ( YY_BUFFER_STATE b );
3442void yy_flush_buffer (YY_BUFFER_STATE b );3431void yy_flush_buffer ( YY_BUFFER_STATE b );
3443void yypush_buffer_state (YY_BUFFER_STATE new_buffer );3432void yypush_buffer_state ( YY_BUFFER_STATE new_buffer );
3444void yypop_buffer_state (void );3433void yypop_buffer_state ( void );
3445 3434
3446static void yyensure_buffer_stack (void );3435static void yyensure_buffer_stack ( void );
3447static void yy_load_buffer_state (void );3436static void yy_load_buffer_state ( void );
3448static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file );3437static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file );
3438#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER )
3449 3439
3450#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )3440YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size );
3441YY_BUFFER_STATE yy_scan_string ( const char *yy_str );
3442YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len );
3451 3443
3452YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size );3444void *yyalloc ( yy_size_t );
3453YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str );3445void *yyrealloc ( void *, yy_size_t );
3454YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len );3446void yyfree ( void * );
3455
3456void *yyalloc (yy_size_t );
3457void *yyrealloc (void *,yy_size_t );
3458void yyfree (void * );
3459 3447
3460#define yy_new_buffer yy_create_buffer3448#define yy_new_buffer yy_create_buffer
3461
3462#define yy_set_interactive(is_interactive) \3449#define yy_set_interactive(is_interactive) \
3463 { \3450 { \
3464 if ( ! YY_CURRENT_BUFFER ){ \3451 if ( ! YY_CURRENT_BUFFER ){ \
3465 yyensure_buffer_stack (); \3452 yyensure_buffer_stack (); \
3466 YY_CURRENT_BUFFER_LVALUE = \3453 YY_CURRENT_BUFFER_LVALUE = \
3467 yy_create_buffer(yyin,YY_BUF_SIZE ); \3454 yy_create_buffer( yyin, YY_BUF_SIZE ); \
3468 } \3455 } \
3469 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \3456 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
3470 }3457 }
3471
3472#define yy_set_bol(at_bol) \3458#define yy_set_bol(at_bol) \
3473 { \3459 { \
3474 if ( ! YY_CURRENT_BUFFER ){\3460 if ( ! YY_CURRENT_BUFFER ){\
3475 yyensure_buffer_stack (); \3461 yyensure_buffer_stack (); \
3476 YY_CURRENT_BUFFER_LVALUE = \3462 YY_CURRENT_BUFFER_LVALUE = \
3477 yy_create_buffer(yyin,YY_BUF_SIZE ); \3463 yy_create_buffer( yyin, YY_BUF_SIZE ); \
3478 } \3464 } \
3479 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \3465 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
3480 }3466 }
3481
3482#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)3467#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
3483 3468
3484/* Begin user sect3 */3469/* Begin user sect3 */
3470typedef flex_uint8_t YY_CHAR;
3485 3471
3486typedef unsigned char YY_CHAR;3472FILE *yyin = NULL, *yyout = NULL;
3487
3488FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
3489 3473
3490typedef int yy_state_type;3474typedef int yy_state_type;
3491 3475
3492extern int yylineno;3476extern int yylineno;
3493
3494int yylineno = 1;3477int yylineno = 1;
3495 3478
3496extern char *yytext;3479extern char *yytext;
@@ -3499,259 +3482,260 @@ extern char *yytext; · 2 unmodified lines
3499#endif3482#endif
3500#define yytext_ptr yytext3483#define yytext_ptr yytext
3501 3484
3502static yy_state_type yy_get_previous_state (void );3485static yy_state_type yy_get_previous_state ( void );
3503static yy_state_type yy_try_NUL_trans (yy_state_type current_state );3486static yy_state_type yy_try_NUL_trans ( yy_state_type current_state );
3504static int yy_get_next_buffer (void );3487static int yy_get_next_buffer ( void );
3505#if defined(__GNUC__) && __GNUC__ >= 33488static void yynoreturn yy_fatal_error ( const char* msg );
3506__attribute__((__noreturn__))
3507#endif
3508static void yy_fatal_error (yyconst char msg[] );
3509 3489
3510/* Done after the current pattern has been matched and before the3490/* Done after the current pattern has been matched and before the
3511* corresponding action - sets up yytext.3491 * corresponding action - sets up yytext.
3512*/3492 */
3513#define YY_DO_BEFORE_ACTION \3493#define YY_DO_BEFORE_ACTION \
3514 (yytext_ptr) = yy_bp; \3494 (yytext_ptr) = yy_bp; \
3515 yyleng = (size_t) (yy_cp - yy_bp); \3495 yyleng = (int) (yy_cp - yy_bp); \
3516 (yy_hold_char) = *yy_cp; \3496 (yy_hold_char) = *yy_cp; \
3517 *yy_cp = '\0'; \3497 *yy_cp = '\0'; \
3518 (yy_c_buf_p) = yy_cp;3498 (yy_c_buf_p) = yy_cp;
3519 3499#define YY_NUM_RULES 105
3520#define YY_NUM_RULES 1043500#define YY_END_OF_BUFFER 106
3521#define YY_END_OF_BUFFER 105
3522/* This struct is not used in this scanner,3501/* This struct is not used in this scanner,
3523but its presence is necessary. */3502 but its presence is necessary. */
3524struct yy_trans_info3503struct yy_trans_info
3525{
3526 flex_int32_t yy_verify;
3527 flex_int32_t yy_nxt;
3528};
3529static yyconst flex_int16_t yy_accept[237] =
3530{ 0,
35310, 0, 105, 103, 5, 7, 103, 4, 46, 103,
353221, 22, 20, 32, 103, 38, 39, 18, 16, 13,
353317, 15, 19, 97, 97, 14, 44, 26, 37, 27,
353445, 91, 99, 40, 41, 34, 103, 99, 99, 99,
353599, 99, 99, 99, 99, 99, 99, 99, 99, 99,
353642, 33, 43, 47, 6, 25, 0, 100, 0, 10,
353711, 0, 30, 0, 0, 0, 0, 8, 0, 9,
35380, 93, 98, 3, 1, 0, 98, 97, 0, 97,
35390, 23, 94, 36, 28, 77, 24, 76, 79, 29,
354035, 12, 0, 92, 99, 0, 0, 0, 101, 99,
3541
354299, 99, 56, 99, 99, 99, 99, 54, 99, 99,
354399, 99, 99, 99, 99, 99, 99, 99, 99, 0,
354431, 78, 90, 85, 102, 83, 81, 82, 84, 98,
354596, 95, 2, 57, 0, 0, 58, 80, 87, 99,
354699, 99, 99, 99, 48, 61, 99, 99, 62, 99,
354799, 99, 99, 99, 99, 99, 99, 99, 99, 99,
354886, 96, 95, 89, 88, 99, 99, 99, 99, 55,
354999, 99, 99, 99, 99, 99, 99, 71, 99, 99,
355099, 99, 99, 99, 99, 53, 63, 72, 99, 99,
355199, 99, 99, 99, 99, 99, 99, 99, 99, 73,
3552
355399, 99, 50, 49, 99, 99, 99, 99, 99, 99,
355499, 99, 67, 51, 59, 70, 74, 99, 65, 99,
355599, 99, 99, 69, 99, 52, 75, 60, 99, 99,
355699, 99, 64, 68, 66, 0
3557} ;
3558
3559static yyconst YY_CHAR yy_ec[256] =
3560{ 0,
35611, 1, 1, 1, 1, 1, 1, 1, 2, 3,
35621, 1, 4, 1, 1, 1, 1, 1, 1, 1,
35631, 1, 1, 1, 1, 1, 1, 1, 1, 1,
35641, 5, 6, 7, 8, 9, 10, 11, 12, 13,
356514, 15, 16, 17, 18, 19, 20, 21, 22, 22,
356622, 22, 22, 22, 22, 23, 23, 24, 25, 26,
356727, 28, 29, 30, 31, 31, 32, 31, 31, 31,
356833, 33, 33, 33, 33, 34, 33, 33, 33, 33,
356933, 33, 33, 33, 35, 33, 33, 36, 33, 33,
357037, 38, 39, 40, 33, 41, 42, 43, 44, 45,
3571
357246, 47, 33, 48, 49, 33, 50, 51, 52, 53,
357354, 55, 33, 56, 57, 58, 59, 60, 61, 62,
357463, 33, 64, 65, 66, 67, 1, 1, 1, 1,
35751, 1, 1, 1, 1, 1, 1, 1, 1, 1,
35761, 1, 1, 1, 1, 1, 1, 1, 1, 1,
35771, 1, 1, 1, 1, 1, 1, 1, 1, 1,
35781, 1, 1, 1, 1, 1, 1, 1, 1, 1,
35791, 1, 1, 1, 1, 1, 1, 1, 1, 1,
35801, 1, 1, 1, 1, 1, 1, 1, 1, 1,
35811, 1, 1, 1, 1, 1, 1, 1, 1, 1,
3582
35831, 1, 1, 1, 1, 1, 1, 1, 1, 1,
35841, 1, 1, 1, 1, 1, 1, 1, 1, 1,
35851, 1, 1, 1, 1, 1, 1, 1, 1, 1,
35861, 1, 1, 1, 1, 1, 1, 1, 1, 1,
35871, 1, 1, 1, 1, 1, 1, 1, 1, 1,
35881, 1, 1, 1, 1
3589} ;
3590
3591static yyconst YY_CHAR yy_meta[68] =
3592{ 0,
35931, 1, 1, 1, 1, 1, 1, 1, 1, 1,
35941, 2, 1, 1, 1, 1, 1, 1, 1, 1,
35953, 3, 3, 1, 1, 1, 1, 1, 1, 1,
35963, 3, 4, 4, 4, 4, 1, 1, 1, 1,
35971, 3, 3, 3, 3, 3, 3, 4, 4, 4,
35984, 4, 4, 4, 4, 4, 4, 4, 4, 4,
35994, 4, 4, 1, 1, 1, 1
3600} ;
3601
3602static yyconst flex_uint16_t yy_base[242] =
3603{ 0,
36040, 0, 320, 321, 321, 321, 316, 321, 291, 61,
3605304, 321, 56, 59, 278, 321, 321, 288, 55, 321,
360657, 51, 61, 81, 71, 290, 321, 69, 51, 70,
3607321, 94, 0, 321, 321, 286, 70, 256, 58, 257,
360867, 60, 81, 264, 64, 263, 80, 245, 254, 258,
3609321, 62, 321, 321, 321, 277, 103, 321, 301, 321,
3610321, 275, 321, 274, 289, 133, 272, 321, 271, 321,
3611270, 321, 125, 321, 321, 269, 128, 133, 136, 126,
36120, 321, 278, 136, 321, 321, 321, 321, 321, 321,
3613137, 321, 267, 321, 0, 266, 101, 290, 321, 246,
3614
3615249, 237, 0, 232, 230, 231, 233, 0, 230, 226,
3616222, 77, 110, 114, 228, 239, 225, 221, 229, 249,
3617321, 321, 321, 321, 321, 321, 321, 321, 321, 152,
3618159, 136, 321, 321, 248, 247, 321, 321, 321, 232,
3619216, 121, 226, 225, 0, 226, 218, 222, 0, 207,
3620208, 214, 218, 217, 203, 205, 202, 213, 209, 206,
3621321, 148, 154, 321, 321, 206, 198, 196, 204, 0,
3622144, 194, 205, 194, 207, 202, 198, 0, 204, 189,
3623194, 194, 188, 190, 194, 0, 0, 0, 186, 193,
3624184, 187, 183, 187, 175, 180, 173, 158, 162, 0,
3625
3626170, 165, 0, 0, 152, 152, 166, 152, 158, 161,
3627156, 143, 0, 0, 0, 0, 0, 152, 0, 145,
3628138, 137, 142, 0, 130, 0, 0, 0, 101, 98,
362992, 44, 0, 0, 0, 321, 218, 222, 224, 228,
363077
3631} ;
3632
3633static yyconst flex_int16_t yy_def[242] =
3634{ 0,
3635236, 1, 236, 236, 236, 236, 236, 236, 236, 237,
3636236, 236, 236, 236, 238, 236, 236, 236, 236, 236,
3637236, 236, 236, 236, 236, 236, 236, 236, 236, 236,
3638236, 236, 239, 236, 236, 236, 240, 239, 239, 239,
3639239, 239, 239, 239, 239, 239, 239, 239, 239, 239,
3640236, 236, 236, 236, 236, 236, 237, 236, 237, 236,
3641236, 236, 236, 236, 236, 238, 236, 236, 236, 236,
3642236, 236, 236, 236, 236, 236, 236, 236, 236, 236,
3643241, 236, 236, 236, 236, 236, 236, 236, 236, 236,
3644236, 236, 236, 236, 239, 236, 240, 240, 236, 239,
3645
3646239, 239, 239, 239, 239, 239, 239, 239, 239, 239,
3647239, 239, 239, 239, 239, 239, 239, 239, 239, 236,
3648236, 236, 236, 236, 236, 236, 236, 236, 236, 236,
3649236, 241, 236, 236, 236, 236, 236, 236, 236, 239,
3650239, 239, 239, 239, 239, 239, 239, 239, 239, 239,
3651239, 239, 239, 239, 239, 239, 239, 239, 239, 239,
3652236, 236, 236, 236, 236, 239, 239, 239, 239, 239,
3653239, 239, 239, 239, 239, 239, 239, 239, 239, 239,
3654239, 239, 239, 239, 239, 239, 239, 239, 239, 239,
3655239, 239, 239, 239, 239, 239, 239, 239, 239, 239,
3656
3657239, 239, 239, 239, 239, 239, 239, 239, 239, 239,
3658239, 239, 239, 239, 239, 239, 239, 239, 239, 239,
3659239, 239, 239, 239, 239, 239, 239, 239, 239, 239,
3660239, 239, 239, 239, 239, 0, 236, 236, 236, 236,
3661236
3662} ;
3663
3664static yyconst flex_uint16_t yy_nxt[389] =
3665{ 0,
36664, 5, 6, 7, 8, 9, 10, 11, 12, 13,
366714, 15, 16, 17, 18, 19, 20, 21, 22, 23,
366824, 25, 25, 26, 27, 28, 29, 30, 31, 32,
366933, 33, 33, 33, 33, 33, 34, 4, 35, 36,
367037, 33, 38, 39, 40, 41, 42, 33, 43, 33,
367133, 33, 44, 33, 45, 46, 47, 48, 49, 33,
367250, 33, 33, 51, 52, 53, 54, 58, 61, 63,
367368, 73, 73, 73, 70, 74, 86, 87, 88, 132,
367475, 69, 62, 71, 72, 64, 83, 76, 120, 77,
367589, 78, 78, 78, 84, 85, 90, 91, 59, 77,
3676
3677235, 78, 78, 78, 80, 80, 92, 98, 101, 58,
367899, 102, 79, 106, 80, 80, 81, 104, 107, 112,
367993, 80, 113, 94, 79, 150, 121, 108, 105, 80,
3680151, 80, 109, 110, 115, 236, 234, 116, 98, 80,
368159, 99, 81, 233, 65, 73, 73, 73, 130, 130,
3682130, 77, 152, 78, 78, 78, 131, 131, 232, 80,
368380, 134, 135, 136, 137, 153, 80, 80, 154, 163,
3684163, 155, 130, 130, 130, 231, 80, 168, 169, 131,
3685131, 162, 162, 80, 80, 230, 163, 163, 163, 229,
3686228, 80, 162, 162, 163, 227, 190, 226, 162, 191,
3687
3688225, 224, 223, 222, 163, 221, 162, 220, 219, 162,
3689218, 217, 163, 216, 215, 214, 213, 162, 57, 57,
369057, 57, 65, 212, 65, 65, 95, 95, 97, 97,
369197, 97, 211, 210, 209, 208, 207, 206, 205, 204,
3692203, 202, 201, 200, 199, 198, 197, 196, 195, 194,
3693193, 192, 189, 188, 187, 186, 185, 184, 183, 182,
3694181, 180, 179, 178, 177, 176, 175, 174, 173, 172,
3695171, 170, 167, 166, 165, 164, 161, 160, 159, 158,
3696157, 156, 149, 148, 147, 146, 145, 144, 143, 142,
3697141, 140, 236, 139, 138, 133, 129, 128, 127, 126,
3698
3699125, 124, 123, 236, 122, 119, 118, 117, 114, 111,
3700103, 100, 96, 82, 67, 66, 60, 56, 55, 236,
37013, 236, 236, 236, 236, 236, 236, 236, 236, 236,

3621 more lines aren’t shown here.

src/core/chuck_win32.h+47−46
@@ -108,51 +108,52 @@ extern int yydebug; · 107 unmodified lines
108 NEXT = 318,108 NEXT = 318,
109 UNTIL = 319,109 UNTIL = 319,
110 EXTERNAL = 320,110 EXTERNAL = 320,
111 EVERY = 321,111 GLOBAL = 321,
112 BEFORE = 322,112 EVERY = 322,
113 AFTER = 323,113 BEFORE = 323,
114 AT = 324,114 AFTER = 324,
115 AT_SYM = 325,115 AT = 325,
116 ATAT_SYM = 326,116 AT_SYM = 326,
117 NEW = 327,117 ATAT_SYM = 327,
118 SIZEOF = 328,118 NEW = 328,
119 TYPEOF = 329,119 SIZEOF = 329,
120 SAME = 330,120 TYPEOF = 330,
121 PLUS_CHUCK = 331,121 SAME = 331,
122 MINUS_CHUCK = 332,122 PLUS_CHUCK = 332,
123 TIMES_CHUCK = 333,123 MINUS_CHUCK = 333,
124 DIVIDE_CHUCK = 334,124 TIMES_CHUCK = 334,
125 S_AND_CHUCK = 335,125 DIVIDE_CHUCK = 335,
126 S_OR_CHUCK = 336,126 S_AND_CHUCK = 336,
127 S_XOR_CHUCK = 337,127 S_OR_CHUCK = 337,
128 SHIFT_RIGHT_CHUCK = 338,128 S_XOR_CHUCK = 338,
129 SHIFT_LEFT_CHUCK = 339,129 SHIFT_RIGHT_CHUCK = 339,
130 PERCENT_CHUCK = 340,130 SHIFT_LEFT_CHUCK = 340,
131 SHIFT_RIGHT = 341,131 PERCENT_CHUCK = 341,
132 SHIFT_LEFT = 342,132 SHIFT_RIGHT = 342,
133 TILDA = 343,133 SHIFT_LEFT = 343,
134 CHUCK = 344,134 TILDA = 344,
135 COLONCOLON = 345,135 CHUCK = 345,
136 S_CHUCK = 346,136 COLONCOLON = 346,
137 AT_CHUCK = 347,137 S_CHUCK = 347,
138 LEFT_S_CHUCK = 348,138 AT_CHUCK = 348,
139 UNCHUCK = 349,139 LEFT_S_CHUCK = 349,
140 UPCHUCK = 350,140 UNCHUCK = 350,
141 CLASS = 351,141 UPCHUCK = 351,
142 INTERFACE = 352,142 CLASS = 352,
143 EXTENDS = 353,143 INTERFACE = 353,
144 IMPLEMENTS = 354,144 EXTENDS = 354,
145 PUBLIC = 355,145 IMPLEMENTS = 355,
146 PROTECTED = 356,146 PUBLIC = 356,
147 PRIVATE = 357,147 PROTECTED = 357,
148 STATIC = 358,148 PRIVATE = 358,
149 ABSTRACT = 359,149 STATIC = 359,
150 CONST = 360,150 ABSTRACT = 360,
151 SPORK = 361,151 CONST = 361,
152 ARROW_RIGHT = 362,152 SPORK = 362,
153 ARROW_LEFT = 363,153 ARROW_RIGHT = 363,
154 L_HACK = 364,154 ARROW_LEFT = 364,
155 R_HACK = 365155 L_HACK = 365,
156 R_HACK = 366
156 };157 };
157#endif158#endif
158 159
@@ -187,7 +188,7 @@ union YYSTYPE · 28 unmodified lines
187 a_Polar polar_exp;188 a_Polar polar_exp;
188 a_Vec vec_exp; // ge: added 1.3.5.3189 a_Vec vec_exp; // ge: added 1.3.5.3
189 190
190#line 191 "chuck.tab.h" /* yacc.c:1909 */191#line 192 "chuck.tab.h" /* yacc.c:1909 */
191};192};
192 193
193typedef union YYSTYPE YYSTYPE;194typedef union YYSTYPE YYSTYPE;
src/makefile+17−0
@@ -166,6 +166,23 @@ chuck-core: · 165 unmodified lines
166chuck: chuck-core $(COBJS_HOST) $(CXXOBJS_HOST)166chuck: chuck-core $(COBJS_HOST) $(CXXOBJS_HOST)
167 $(LD) -o chuck $(OBJS) $(LDFLAGS) $(ARCHOPTS)167 $(LD) -o chuck $(OBJS) $(LDFLAGS) $(ARCHOPTS)
168 168
169
170######### subsection for generating the parser for windows #########
171core/chuck.tab.c core/chuck.tab.h: core/chuck.y
172 $(YACC) -dv -b chuck core/chuck.y
173
174core/chuck.yy.c: core/chuck.lex
175 $(LEX) -ocore/chuck.yy.c core/chuck.lex
176
177core/chuck_win32.c: core/chuck.yy.c
178 $(LEX) --nounistd -ocore/chuck.yy.c core/chuck.lex
179 cat core/chuck.tab.c core/chuck.yy.c > $@
180
181core/chuck_win32.h: core/chuck.tab.h
182 cat core/chuck.tab.h > $@
183######## end subsection ###########
184
185
169$(COBJS_HOST): %.o: %.c186$(COBJS_HOST): %.o: %.c
170 $(CC) $(CFLAGS) $(ARCHOPTS) -c $< -o $@187 $(CC) $(CFLAGS) $(ARCHOPTS) -c $< -o $@
171 @$(CC) -MM -MQ "$@" $(CFLAGSDEPEND) $< > $*.d188 @$(CC) -MM -MQ "$@" $(CFLAGSDEPEND) $< > $*.d

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t