49 #define YYBISON_VERSION "2.4.1"
52 #define YYSKELETON_NAME "yacc.c"
64 #define YYLSP_NEEDED 0
67 #define yyparse zvr_parse
69 #define yyerror zvr_error
70 #define yylval zvr_lval
71 #define yychar zvr_char
72 #define yydebug zvr_debug
73 #define yynerrs zvr_nerrs
114 #define YYERROR_VERBOSE 42
116 #define YYMAXDEPTH 1000000
118 #define __NOEXTENSIONS__ 1
128 #line 129 "parse_zvr.cpp"
136 #ifdef YYERROR_VERBOSE
137 # undef YYERROR_VERBOSE
138 # define YYERROR_VERBOSE 1
140 # define YYERROR_VERBOSE 0
144 #ifndef YYTOKEN_TABLE
145 # define YYTOKEN_TABLE 0
169 #define Identifier 260
175 #define InvalidCharacter 266
180 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
185 #line 60 "parse_zvr.y"
197 #line 198 "parse_zvr.cpp"
199 # define YYSTYPE_IS_TRIVIAL 1
200 # define yystype YYSTYPE
201 # define YYSTYPE_IS_DECLARED 1
209 #line 210 "parse_zvr.cpp"
223 #elif (defined __STDC__ || defined __C99__FUNC__ \
224 || defined __cplusplus || defined _MSC_VER)
243 # ifdef __SIZE_TYPE__
244 # define YYSIZE_T __SIZE_TYPE__
245 # elif defined size_t
246 # define YYSIZE_T size_t
247 # elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
248 || defined __cplusplus || defined _MSC_VER)
250 # define YYSIZE_T size_t
252 # define YYSIZE_T unsigned int
256 #define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
261 # include <libintl.h>
262 # define YY_(msgid) dgettext ("bison-runtime", msgid)
266 # define YY_(msgid) msgid
271 #if ! defined lint || defined __GNUC__
272 # define YYUSE(e) ((void) (e))
281 #if (defined __STDC__ || defined __C99__FUNC__ \
282 || defined __cplusplus || defined _MSC_VER)
295 #if ! defined yyoverflow || YYERROR_VERBOSE
299 # ifdef YYSTACK_USE_ALLOCA
300 # if YYSTACK_USE_ALLOCA
302 # define YYSTACK_ALLOC __builtin_alloca
303 # elif defined __BUILTIN_VA_ARG_INCR
306 # define YYSTACK_ALLOC __alloca
307 # elif defined _MSC_VER
309 # define alloca _alloca
311 # define YYSTACK_ALLOC alloca
312 # if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
313 || defined __cplusplus || defined _MSC_VER)
323 # ifdef YYSTACK_ALLOC
325 # define YYSTACK_FREE(Ptr) do { ; } while (YYID (0))
326 # ifndef YYSTACK_ALLOC_MAXIMUM
331 # define YYSTACK_ALLOC_MAXIMUM 4032
334 # define YYSTACK_ALLOC YYMALLOC
335 # define YYSTACK_FREE YYFREE
336 # ifndef YYSTACK_ALLOC_MAXIMUM
337 # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
339 # if (defined __cplusplus && ! defined _STDLIB_H \
340 && ! ((defined YYMALLOC || defined malloc) \
341 && (defined YYFREE || defined free)))
348 # define YYMALLOC malloc
349 # if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
350 || defined __cplusplus || defined _MSC_VER)
356 # if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
357 || defined __cplusplus || defined _MSC_VER)
365 #if (! defined yyoverflow \
366 && (! defined __cplusplus \
367 || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
377 # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
381 # define YYSTACK_BYTES(N) \
382 ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
383 + YYSTACK_GAP_MAXIMUM)
388 # if defined __GNUC__ && 1 < __GNUC__
389 # define YYCOPY(To, From, Count) \
390 __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
392 # define YYCOPY(To, From, Count) \
396 for (yyi = 0; yyi < (Count); yyi++) \
397 (To)[yyi] = (From)[yyi]; \
408 # define YYSTACK_RELOCATE(Stack_alloc, Stack) \
411 YYSIZE_T yynewbytes; \
412 YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
413 Stack = &yyptr->Stack_alloc; \
414 yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
415 yyptr += yynewbytes / sizeof (*yyptr); \
437 #define YYMAXUTOK 266
439 #define YYTRANSLATE(YYX) \
440 ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
445 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
446 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
447 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
448 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
449 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
450 2, 2, 2, 2, 2, 2, 2, 2, 2, 12,
451 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
452 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
453 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
454 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
455 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
456 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
457 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
458 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
459 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
460 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
461 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
462 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
463 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
464 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
465 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
466 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
467 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
468 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
469 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
470 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
471 5, 6, 7, 8, 9, 10, 11
479 0, 0, 3, 7, 10, 11, 14, 26, 30, 32,
480 34, 63, 67, 68, 71, 75, 81, 83, 85, 89
486 14, 0, -1, 15, 21, 16, -1, 3, 4, -1,
487 -1, 21, 16, -1, 5, 12, 5, 12, 5, 12,
488 5, 12, 5, 12, 5, -1, 5, 12, 5, -1,
489 5, -1, 7, -1, 17, 6, 12, 6, 12, 7,
490 12, 6, 12, 9, 12, 6, 17, 9, 12, 19,
491 12, 8, 12, 19, 12, 19, 12, 19, 18, 19,
492 12, 19, -1, 20, 25, 22, -1, -1, 23, 22,
493 -1, 6, 12, 6, -1, 6, 12, 6, 12, 6,
494 -1, 9, -1, 10, -1, 5, 12, 24, -1, 5,
501 0, 80, 80, 87, 90, 91, 102, 108, 113, 113,
502 117, 136, 144, 145, 156, 161, 170, 170, 174, 181
506 #if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
509 static const char *
const yytname[] =
511 "$end",
"error",
"$undefined",
"ZVR",
"Version",
"Identifier",
"Real",
512 "Unit",
"DataFMT",
"DataTYP",
"DataIDN",
"InvalidCharacter",
"';'",
513 "$accept",
"Input",
"Header",
"BodyList",
"ParaList6",
"ParaList2",
514 "Ident",
"BodyStart",
"Body",
"DataList",
"DataLine",
"DataIdent",
524 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
532 0, 13, 14, 15, 16, 16, 17, 18, 19, 19,
533 20, 21, 22, 22, 23, 23, 24, 24, 25, 25
539 0, 2, 3, 2, 0, 2, 11, 3, 1, 1,
540 28, 3, 0, 2, 3, 5, 1, 1, 3, 5
548 0, 0, 0, 0, 3, 1, 0, 0, 0, 4,
549 0, 0, 0, 12, 2, 4, 0, 0, 0, 0,
550 11, 12, 5, 0, 0, 16, 17, 18, 0, 13,
551 0, 0, 0, 14, 0, 0, 19, 0, 0, 0,
552 15, 0, 0, 0, 0, 0, 0, 6, 0, 0,
553 0, 0, 0, 8, 9, 0, 0, 0, 0, 0,
554 0, 0, 0, 0, 0, 0, 0, 0, 7, 0,
561 -1, 2, 3, 14, 7, 65, 55, 8, 15, 20,
567 #define YYPACT_NINF -59
570 2, 6, 12, 1, -59, -59, 3, 7, 9, 1,
571 11, 5, 8, 13, -59, 1, 10, 15, -1, 14,
572 -59, 13, -59, 18, 16, -59, -59, 17, 19, -59,
573 20, 23, -1, 21, 22, 24, -59, 25, 26, 28,
574 -59, 30, 27, 29, 31, 32, 33, -59, 36, 1,
575 34, 35, -4, -59, -59, 37, 38, 39, -4, 40,
576 -4, 41, -4, 43, 42, -4, 45, 44, -59, -4,
583 -59, -59, -59, 46, -31, -59, -58, -59, 52, 47,
591 #define YYTABLE_NINF -1
594 59, 53, 61, 54, 63, 1, 6, 67, 25, 26,
595 4, 70, 5, 11, 12, 10, 16, 17, 50, 19,
596 18, 24, 23, 30, 36, 33, 28, 38, 31, 32,
597 35, 40, 34, 37, 42, 43, 39, 47, 41, 44,
598 46, 45, 49, 51, 0, 48, 57, 52, 64, 56,
599 68, 58, 60, 62, 66, 9, 69, 0, 0, 0,
600 0, 22, 0, 0, 0, 0, 0, 0, 29
605 58, 5, 60, 7, 62, 3, 5, 65, 9, 10,
606 4, 69, 0, 6, 5, 12, 5, 12, 49, 6,
607 12, 6, 12, 5, 32, 6, 12, 5, 12, 12,
608 7, 6, 12, 12, 6, 5, 12, 5, 12, 12,
609 9, 12, 6, 9, -1, 12, 8, 12, 5, 12,
610 5, 12, 12, 12, 12, 3, 12, -1, -1, -1,
611 -1, 15, -1, -1, -1, -1, -1, -1, 21
618 0, 3, 14, 15, 4, 0, 5, 17, 20, 21,
619 12, 6, 5, 25, 16, 21, 5, 12, 12, 6,
620 22, 23, 16, 12, 6, 9, 10, 24, 12, 22,
621 5, 12, 12, 6, 12, 7, 24, 12, 5, 12,
622 6, 12, 6, 5, 12, 12, 9, 5, 12, 6,
623 17, 9, 12, 5, 7, 19, 12, 8, 12, 19,
624 12, 19, 12, 19, 5, 18, 12, 19, 5, 12,
628 #define yyerrok (yyerrstatus = 0)
629 #define yyclearin (yychar = YYEMPTY)
633 #define YYACCEPT goto yyacceptlab
634 #define YYABORT goto yyabortlab
635 #define YYERROR goto yyerrorlab
642 #define YYFAIL goto yyerrlab
644 #define YYRECOVERING() (!!yyerrstatus)
646 #define YYBACKUP(Token, Value) \
648 if (yychar == YYEMPTY && yylen == 1) \
652 yytoken = YYTRANSLATE (yychar); \
658 yyerror (YY_("syntax error: cannot back up")); \
665 #define YYERRCODE 256
672 #define YYRHSLOC(Rhs, K) ((Rhs)[K])
673 #ifndef YYLLOC_DEFAULT
674 # define YYLLOC_DEFAULT(Current, Rhs, N) \
678 (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
679 (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
680 (Current).last_line = YYRHSLOC (Rhs, N).last_line; \
681 (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
685 (Current).first_line = (Current).last_line = \
686 YYRHSLOC (Rhs, 0).last_line; \
687 (Current).first_column = (Current).last_column = \
688 YYRHSLOC (Rhs, 0).last_column; \
698 #ifndef YY_LOCATION_PRINT
699 # if YYLTYPE_IS_TRIVIAL
700 # define YY_LOCATION_PRINT(File, Loc) \
701 fprintf (File, "%d.%d-%d.%d", \
702 (Loc).first_line, (Loc).first_column, \
703 (Loc).last_line, (Loc).last_column)
705 # define YY_LOCATION_PRINT(File, Loc) ((void) 0)
713 # define YYLEX yylex (YYLEX_PARAM)
715 # define YYLEX yylex ()
723 # define YYFPRINTF fprintf
726 # define YYDPRINTF(Args) \
732 # define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
736 YYFPRINTF (stderr, "%s ", Title); \
737 yy_symbol_print (stderr, \
739 YYFPRINTF (stderr, "\n"); \
749 #if (defined __STDC__ || defined __C99__FUNC__ \
750 || defined __cplusplus || defined _MSC_VER)
755 yy_symbol_value_print (yyoutput, yytype, yyvaluep)
765 YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
781 #if (defined __STDC__ || defined __C99__FUNC__ \
782 || defined __cplusplus || defined _MSC_VER)
784 yy_symbol_print (FILE *yyoutput,
int yytype,
YYSTYPE const *
const yyvaluep)
787 yy_symbol_print (yyoutput, yytype, yyvaluep)
790 YYSTYPE const * const yyvaluep;
794 YYFPRINTF (yyoutput,
"token %s (", yytname[yytype]);
796 YYFPRINTF (yyoutput,
"nterm %s (", yytname[yytype]);
798 yy_symbol_value_print (yyoutput, yytype, yyvaluep);
807 #if (defined __STDC__ || defined __C99__FUNC__ \
808 || defined __cplusplus || defined _MSC_VER)
813 yy_stack_print (yybottom, yytop)
819 for (; yybottom <=
yytop; yybottom++)
821 int yybot = *yybottom;
827 # define YY_STACK_PRINT(Bottom, Top) \
830 yy_stack_print ((Bottom), (Top)); \
838 #if (defined __STDC__ || defined __C99__FUNC__ \
839 || defined __cplusplus || defined _MSC_VER)
844 yy_reduce_print (yyvsp, yyrule)
849 int yynrhs = yyr2[
yyrule];
852 YYFPRINTF (stderr,
"Reducing stack by rule %d (line %lu):\n",
855 for (yyi = 0; yyi < yynrhs; yyi++)
858 yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi],
859 &(yyvsp[(yyi + 1) - (yynrhs)])
865 # define YY_REDUCE_PRINT(Rule) \
868 yy_reduce_print (yyvsp, Rule); \
875 # define YYDPRINTF(Args)
876 # define YY_SYMBOL_PRINT(Title, Type, Value, Location)
877 # define YY_STACK_PRINT(Bottom, Top)
878 # define YY_REDUCE_PRINT(Rule)
884 # define YYINITDEPTH 200
895 # define YYMAXDEPTH 10000
903 # if defined __GLIBC__ && defined _STRING_H
904 # define yystrlen strlen
907 #if (defined __STDC__ || defined __C99__FUNC__ \
908 || defined __cplusplus || defined _MSC_VER)
910 yystrlen (
const char *yystr)
918 for (yylen = 0; yystr[
yylen]; yylen++)
926 # if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
927 # define yystpcpy stpcpy
931 #if (defined __STDC__ || defined __C99__FUNC__ \
932 || defined __cplusplus || defined _MSC_VER)
934 yystpcpy (
char *yydest,
const char *
yysrc)
937 yystpcpy (yydest, yysrc)
945 while ((*yyd++ = *yys++) !=
'\0')
962 yytnamerr (
char *yyres,
const char *yystr)
967 char const *yyp = yystr;
974 goto do_not_strip_quotes;
978 goto do_not_strip_quotes;
991 do_not_strip_quotes: ;
995 return yystrlen (yystr);
997 return yystpcpy (yyres, yystr) - yyres;
1009 yysyntax_error (
char *yyresult,
int yystate,
int yychar)
1011 int yyn = yypact[yystate];
1018 YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]);
1021 int yysize_overflow = 0;
1022 enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
1023 char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
1029 YY_(
"syntax error, unexpected %s");
1030 YY_(
"syntax error, unexpected %s, expecting %s");
1031 YY_(
"syntax error, unexpected %s, expecting %s or %s");
1032 YY_(
"syntax error, unexpected %s, expecting %s or %s or %s");
1033 YY_(
"syntax error, unexpected %s, expecting %s or %s or %s or %s");
1037 static char const yyunexpected[] =
"syntax error, unexpected %s";
1038 static char const yyexpecting[] =
", expecting %s";
1039 static char const yyor[] =
" or %s";
1040 char yyformat[
sizeof yyunexpected
1041 +
sizeof yyexpecting - 1
1042 + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2)
1043 * (
sizeof yyor - 1))];
1044 char const *yyprefix = yyexpecting;
1048 int yyxbegin = yyn < 0 ? -yyn : 0;
1051 int yychecklim =
YYLAST - yyn + 1;
1055 yyarg[0] = yytname[
yytype];
1056 yyfmt = yystpcpy (yyformat, yyunexpected);
1058 for (yyx = yyxbegin; yyx < yyxend; ++yyx)
1059 if (yycheck[yyx + yyn] == yyx && yyx !=
YYTERROR)
1061 if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
1065 yyformat[
sizeof yyunexpected - 1] =
'\0';
1068 yyarg[yycount++] = yytname[yyx];
1069 yysize1 = yysize + yytnamerr (0, yytname[yyx]);
1070 yysize_overflow |= (yysize1 < yysize);
1072 yyfmt = yystpcpy (yyfmt, yyprefix);
1076 yyf =
YY_(yyformat);
1077 yysize1 = yysize + yystrlen (yyf);
1078 yysize_overflow |= (yysize1 < yysize);
1081 if (yysize_overflow)
1089 char *yyp = yyresult;
1091 while ((*yyp = *yyf) !=
'\0')
1093 if (*yyp ==
'%' && yyf[1] ==
's' && yyi < yycount)
1095 yyp += yytnamerr (yyp, yyarg[yyi++]);
1116 #if (defined __STDC__ || defined __C99__FUNC__ \
1117 || defined __cplusplus || defined _MSC_VER)
1119 yydestruct (
const char *yymsg,
int yytype,
YYSTYPE *yyvaluep)
1122 yydestruct (yymsg, yytype, yyvaluep)
1143 #ifdef YYPARSE_PARAM
1144 #if defined __STDC__ || defined __cplusplus
1145 int yyparse (
void *YYPARSE_PARAM);
1150 #if defined __STDC__ || defined __cplusplus
1173 #ifdef YYPARSE_PARAM
1174 #if (defined __STDC__ || defined __C99__FUNC__ \
1175 || defined __cplusplus || defined _MSC_VER)
1181 void *YYPARSE_PARAM;
1184 #if (defined __STDC__ || defined __C99__FUNC__ \
1185 || defined __cplusplus || defined _MSC_VER)
1231 char *yymsg = yymsgbuf;
1232 YYSIZE_T yymsg_alloc =
sizeof yymsgbuf;
1235 #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N))
1246 YYDPRINTF ((stderr,
"Starting parse\n"));
1273 if (yyss + yystacksize - 1 <= yyssp)
1276 YYSIZE_T yysize = yyssp - yyss + 1;
1290 yyoverflow (
YY_(
"memory exhausted"),
1291 &yyss1, yysize *
sizeof (*yyssp),
1292 &yyvs1, yysize *
sizeof (*yyvsp),
1299 # ifndef YYSTACK_RELOCATE
1300 goto yyexhaustedlab;
1304 goto yyexhaustedlab;
1314 goto yyexhaustedlab;
1317 # undef YYSTACK_RELOCATE
1324 yyssp = yyss + yysize - 1;
1325 yyvsp = yyvs + yysize - 1;
1327 YYDPRINTF ((stderr,
"Stack size increased to %lu\n",
1328 (
unsigned long int) yystacksize));
1330 if (yyss + yystacksize - 1 <= yyssp)
1334 YYDPRINTF ((stderr,
"Entering state %d\n", yystate));
1350 yyn = yypact[yystate];
1359 YYDPRINTF ((stderr,
"Reading a token: "));
1363 if (yychar <=
YYEOF)
1365 yychar = yytoken =
YYEOF;
1366 YYDPRINTF ((stderr,
"Now at end of input.\n"));
1377 if (yyn < 0 ||
YYLAST < yyn || yycheck[yyn] != yytoken)
1409 yyn = yydefact[yystate];
1430 yyval = yyvsp[1-
yylen];
1439 #line 80 "parse_zvr.y"
1441 (yyvsp[(2) - (3)].
data)->next = (yyvsp[(3) - (3)].
data);
1449 #line 87 "parse_zvr.y"
1456 #line 90 "parse_zvr.y"
1457 { (yyval.
data) = NULL; }
1463 #line 91 "parse_zvr.y"
1465 if ((yyvsp[(1) - (2)].
data)) {
1466 (yyvsp[(1) - (2)].
data)->next = (yyvsp[(2) - (2)].
data);
1467 (yyval.
data) = (yyvsp[(1) - (2)].
data);
1469 (yyval.
data) = (yyvsp[(2) - (2)].
data);
1477 #line 103 "parse_zvr.y"
1485 #line 108 "parse_zvr.y"
1493 #line 122 "parse_zvr.y"
1496 (yyval.
head)->start = (yyvsp[(2) - (28)].f);
1497 (yyval.
head)->stop = (yyvsp[(4) - (28)].f);
1498 (yyval.
head)->funit = (yyvsp[(6) - (28)].ident);
1499 (yyval.
head)->points = (
int) (yyvsp[(8) - (28)].
f);
1500 (yyval.
head)->zref = (yyvsp[(12) - (28)].f);
1501 (yyval.
head)->d_TYP = (yyvsp[(10) - (28)].ident);
1502 (yyval.
head)->d_UNT = (yyvsp[(20) - (28)].ident);
1503 (yyval.
head)->d_FMT = (yyvsp[(18) - (28)].ident);
1510 #line 136 "parse_zvr.y"
1513 (yyval.
data)->h = (yyvsp[(1) - (3)].head);
1514 (yyval.
data)->v = (yyvsp[(2) - (3)].vec);
1515 (yyval.
data)->d = (yyvsp[(3) - (3)].line);
1522 #line 144 "parse_zvr.y"
1523 { (yyval.
line) = NULL; }
1529 #line 145 "parse_zvr.y"
1531 if ((yyvsp[(1) - (2)].line)) {
1532 (yyvsp[(1) - (2)].
line)->next = (yyvsp[(2) - (2)].line);
1533 (yyval.
line) = (yyvsp[(1) - (2)].line);
1535 (yyval.
line) = (yyvsp[(2) - (2)].line);
1543 #line 156 "parse_zvr.y"
1546 (yyval.
line)->d = (yyvsp[(1) - (3)].f);
1547 (yyval.
line)->r = (yyvsp[(3) - (3)].f);
1554 #line 161 "parse_zvr.y"
1557 (yyval.
line)->d = (yyvsp[(1) - (5)].f);
1558 (yyval.
line)->r = (yyvsp[(3) - (5)].f);
1559 (yyval.
line)->
i = (yyvsp[(5) - (5)].f);
1566 #line 174 "parse_zvr.y"
1569 (yyval.
vec)->nf = (yyvsp[(1) - (3)].ident);
1570 (yyval.
vec)->
n1 = (yyvsp[(3) - (3)].ident);
1579 #line 181 "parse_zvr.y"
1582 (yyval.
vec)->nf = (yyvsp[(1) - (5)].ident);
1583 (yyval.
vec)->
n1 = (yyvsp[(3) - (5)].ident);
1584 (yyval.
vec)->
n2 = (yyvsp[(5) - (5)].ident);
1593 #line 1594 "parse_zvr.cpp"
1610 yystate = yypgoto[yyn -
YYNTOKENS] + *yyssp;
1611 if (0 <= yystate && yystate <=
YYLAST && yycheck[yystate] == *yyssp)
1612 yystate = yytable[yystate];
1627 #if ! YYERROR_VERBOSE
1631 YYSIZE_T yysize = yysyntax_error (0, yystate, yychar);
1637 if (yymsg != yymsgbuf)
1645 yymsg_alloc =
sizeof yymsgbuf;
1649 if (0 < yysize && yysize <= yymsg_alloc)
1651 (void) yysyntax_error (yymsg, yystate, yychar);
1658 goto yyexhaustedlab;
1666 if (yyerrstatus == 3)
1671 if (yychar <=
YYEOF)
1674 if (yychar ==
YYEOF)
1679 yydestruct (
"Error: discarding",
1718 yyn = yypact[yystate];
1735 yydestruct (
"Error: popping",
1736 yystos[yystate], yyvsp);
1766 #if !defined(yyoverflow) || YYERROR_VERBOSE
1778 yydestruct (
"Cleanup: discarding lookahead",
1784 while (yyssp != yyss)
1786 yydestruct (
"Cleanup: popping",
1787 yystos[*yyssp], yyvsp);
1795 if (yymsg != yymsgbuf)
1799 return YYID (yyresult);
1805 #line 191 "parse_zvr.y"