Lines Matching +full:loc +full:- +full:code

10 #define YYEMPTY        (-1)
14 #define YYENOMEM (-2)
130 typedef int Code; typedef
162 Code *code; member
205 #define YYERROR_DECL() yyerror(YYLTYPE *loc, const char *s)
212 #define YYDESTRUCT_DECL() yydestruct(const char *msg, int psymb, YYSTYPE *val, YYLTYPE *loc)
215 #define YYDESTRUCT_CALL(msg, psymb, val, loc) yydestruct(msg, psymb, val, loc) argument
235 static const YYINT demo_lhs[] = { -1,
283 0, 0, 0, -103, 0, 0, 0, 0, 0, 0,
284 0, -31, 0, 0, 0, -238, 0, 0, 0, 4,
285 -36, -103, 0, -133, 0, 0, 0, 0, 0, -94,
286 0, 0, 0, 0, -40, 0, -103, -33, 0, 0,
287 -40, -25, -40, 0, -31, 8, 15, 0, 0, 0,
288 -2, 0, -36, 0, -36, -36, 0, 0, -33, 0,
289 0, 0, 0, 0, 0, -92, -133, -103, 0, -33,
290 -33, -33, -33, -33, 0, -8, 0, 23, 23, 0,
291 0, 0, 11, 75, 0, 0, -94, 0, 0, 0,
292 -33, 96, -194, 0, -8, 0, 0, -8, 0,
295 0, 0, 1, -181, 0, 0, 0, 0, 0, 0,
297 -39, -181, 12, -34, 0, 0, 0, 0, 0, 0,
298 0, 0, 0, 0, -5, 0, -11, 0, 0, 0,
299 -17, 0, 28, 0, -41, 0, 47, 0, 0, 0,
300 0, 0, -13, 0, 18, 70, 0, 0, 0, 0,
301 0, 0, 0, 0, 0, -19, -27, -181, 0, 0,
302 0, 0, 0, 0, 0, -29, 0, 56, 64, 0,
304 0, 0, 0, 0, -29, -30, 0, -29, 0,
309 0, -22, 0, 0, 0, 0, 0, 0, 0, 0,
310 0, 0, -179, 0, 0, 0, 0, 0, 0, 0,
312 58, 0, 62, 0, -21, 0, 0, 0, 0, 0,
315 0, 0, 0, 0, 0, -146, 0, 0, 0, 0,
317 0, 0, 0, 0, -143, -147, 0, -134, 0,
373 68, 22, 36, 88, 57, -1, 93, 261, 262, 263,
374 264, 265, -1, -1, -1, 269, -1, -1, -1, -1,
375 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
376 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
377 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
378 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
379 -1, -1, -1, -1, -1, -1, -1, -1, 259, 261,
382 260, 261, 262, 263, 264, 265, 266, 259, -1, 269,
383 -1, 260, 261, 262, 263, 264, 265, 266, -1, 259,
384 269, 261, 262, 263, 264, 265, -1, -1, -1, 269,
385 259, -1, 261, 262, 263, 264, 265, 261, 262, 263,
386 264, 265, -1, -1, -1, 269,
390 28, -1, 19, 8, -1, 32, 4, -1, 49, 1,
391 -1, 97, 54, -1, -1, -1, -1, -1, -1, -1,
392 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
393 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
394 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
395 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
396 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
397 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
398 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
399 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
400 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
401 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
402 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
403 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
404 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
405 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
406 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
407 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
408 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
409 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
410 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
411 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
412 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
413 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
414 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
415 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
416 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
417 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
418 -1, -1, -1, -1, -1,
432 "'%'",0,0,"'('","')'","'*'","'+'","','","'-'","'.'","'/'",0,0,0,0,0,0,0,0,0,0,0,
444 "$$9","$$10","illegal-symbol",
489 "expr : expr '-' $$6 expr",
528 #define YYLLOC_DEFAULT(loc, rhs, n) \ argument
533 (loc).first_line = YYRHSLOC(rhs, 0).last_line; \
534 (loc).first_column = YYRHSLOC(rhs, 0).last_column; \
535 (loc).last_line = YYRHSLOC(rhs, 0).last_line; \
536 (loc).last_column = YYRHSLOC(rhs, 0).last_column; \
540 (loc).first_line = YYRHSLOC(rhs, 1).first_line; \
541 (loc).first_column = YYRHSLOC(rhs, 1).first_column; \
542 (loc).last_line = YYRHSLOC(rhs, n).last_line; \
543 (loc).last_column = YYRHSLOC(rhs, n).last_column; \
555 /* define the initial stack-sizes */
648 extern void finish_fn_def(Decl *fn_decl, Code *block);
663 extern Code * build_expr_code(Expr *expr);
664 extern Code * build_if(Expr *cond_expr, Code *then_stmt, Code *else_stmt);
665 extern Code * code_append(Code *stmt_list, Code *stmt);
679 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
680 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
688 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
689 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
697 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
698 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
706 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
707 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
715 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
716 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
724 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
725 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
733 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
734 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
742 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
743 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
751 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
752 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
760 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
761 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
769 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
770 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
778 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
779 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
787 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
788 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
796 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
797 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
805 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
806 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
814 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
815 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
823 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
824 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
832 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
833 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
841 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
842 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
850 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
851 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
859 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
860 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
868 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
869 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
877 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
878 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
886 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
887 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
895 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
896 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
904 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
905 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
913 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
914 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
922 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
923 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
931 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
932 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
940 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
941 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
950 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
951 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
952 free((*val).decl->scope); free((*val).decl->type); } in YYDESTRUCT_DECL()
959 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
960 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
968 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
969 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
977 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
978 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
979 free((*val).code); } in YYDESTRUCT_DECL()
986 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
987 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
988 free((*val).code); } in YYDESTRUCT_DECL()
995 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
996 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
997 free((*val).code); } in YYDESTRUCT_DECL()
1004 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
1005 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
1013 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
1014 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
1022 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
1023 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
1031 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
1032 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
1040 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
1041 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
1049 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
1050 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
1058 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
1059 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
1067 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
1068 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
1076 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
1077 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
1085 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
1086 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
1094 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
1095 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
1103 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
1104 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
1112 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
1113 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
1121 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
1122 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
1130 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
1131 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
1139 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
1140 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
1148 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
1149 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
1157 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
1158 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
1166 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
1167 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
1175 (*loc).first_line, (*loc).first_column, in YYDESTRUCT_DECL()
1176 (*loc).last_line, (*loc).last_column); in YYDESTRUCT_DECL()
1186 #define yydepth (int)(yystack.s_mark - yystack.s_base)
1188 #define yytrial (yyps->save)
1209 if ((newsize = data->stacksize) == 0) in yygrowstack()
1216 i = (int) (data->s_mark - data->s_base); in yygrowstack()
1217 newss = (YYINT *)realloc(data->s_base, newsize * sizeof(*newss)); in yygrowstack()
1221 data->s_base = newss; in yygrowstack()
1222 data->s_mark = newss + i; in yygrowstack()
1224 newvs = (YYSTYPE *)realloc(data->l_base, newsize * sizeof(*newvs)); in yygrowstack()
1228 data->l_base = newvs; in yygrowstack()
1229 data->l_mark = newvs + i; in yygrowstack()
1232 newps = (YYLTYPE *)realloc(data->p_base, newsize * sizeof(*newps)); in yygrowstack()
1236 data->p_base = newps; in yygrowstack()
1237 data->p_mark = newps + i; in yygrowstack()
1240 data->stacksize = newsize; in yygrowstack()
1241 data->s_last = data->s_base + newsize - 1; in yygrowstack()
1253 free(data->s_base); in yyfreestack()
1254 free(data->l_base); in yyfreestack()
1256 free(data->p_base); in yyfreestack()
1271 p->yystack.stacksize = size; in yyNewState()
1274 p->yystack.s_base = NULL; in yyNewState()
1275 p->yystack.l_base = NULL; in yyNewState()
1277 p->yystack.p_base = NULL; in yyNewState()
1281 p->yystack.s_base = (YYINT *) malloc(size * sizeof(YYINT)); in yyNewState()
1282 if (p->yystack.s_base == NULL) return NULL; in yyNewState()
1283 p->yystack.l_base = (YYSTYPE *) malloc(size * sizeof(YYSTYPE)); in yyNewState()
1284 if (p->yystack.l_base == NULL) return NULL; in yyNewState()
1285 memset(p->yystack.l_base, 0, size * sizeof(YYSTYPE)); in yyNewState()
1287 p->yystack.p_base = (YYLTYPE *) malloc(size * sizeof(YYLTYPE)); in yyNewState()
1288 if (p->yystack.p_base == NULL) return NULL; in yyNewState()
1289 memset(p->yystack.p_base, 0, size * sizeof(YYLTYPE)); in yyNewState()
1298 yyfreestack(&p->yystack); in yyFreeState()
1308 #define YYVALID do { if (yyps->save) goto yyvalid; } while(0)
1309 #define YYVALID_NESTED do { if (yyps->save && \
1310 yyps->save->save == 0) goto yyvalid; } while(0)
1331 yydebug = yyn - '0'; in YYPARSE_DECL()
1342 yyps->save = 0; in YYPARSE_DECL()
1372 /* we're currently re-reading tokens */ in YYPARSE_DECL()
1380 if (yyps->save) in YYPARSE_DECL()
1385 size_t p = (size_t) (yylvp - yylvals); in YYPARSE_DECL()
1386 size_t s = (size_t) (yylvlim - yylvals); in YYPARSE_DECL()
1453 yypath = save->save; in YYPARSE_DECL()
1454 save->save = NULL; in YYPARSE_DECL()
1455 ctry = save->ctry; in YYPARSE_DECL()
1456 if (save->state != yystate) YYABORT; in YYPARSE_DECL()
1463 /* Unresolved conflict - start/continue trial parse */ in YYPARSE_DECL()
1469 if (yyps->save) in YYPARSE_DECL()
1475 save = yyNewState((unsigned)(yystack.s_mark - yystack.s_base + 1)); in YYPARSE_DECL()
1477 save->save = yyps->save; in YYPARSE_DECL()
1478 save->state = yystate; in YYPARSE_DECL()
1479 save->errflag = yyerrflag; in YYPARSE_DECL()
1480 save->yystack.s_mark = save->yystack.s_base + (yystack.s_mark - yystack.s_base); in YYPARSE_DECL()
1481 …memcpy (save->yystack.s_base, yystack.s_base, (size_t) (yystack.s_mark - yystack.s_base + 1) * siz… in YYPARSE_DECL()
1482 save->yystack.l_mark = save->yystack.l_base + (yystack.l_mark - yystack.l_base); in YYPARSE_DECL()
1483 …memcpy (save->yystack.l_base, yystack.l_base, (size_t) (yystack.l_mark - yystack.l_base + 1) * siz… in YYPARSE_DECL()
1485 save->yystack.p_mark = save->yystack.p_base + (yystack.p_mark - yystack.p_base); in YYPARSE_DECL()
1486 …memcpy (save->yystack.p_base, yystack.p_base, (size_t) (yystack.p_mark - yystack.p_base + 1) * siz… in YYPARSE_DECL()
1489 if (yyctable[ctry] == -1) in YYPARSE_DECL()
1497 save->ctry = ctry; in YYPARSE_DECL()
1498 if (yyps->save == NULL) in YYPARSE_DECL()
1534 yylvp--; in YYPARSE_DECL()
1536 yylpp--; in YYPARSE_DECL()
1538 yylexp--; in YYPARSE_DECL()
1541 save->lexeme = (int) (yylvp - yylvals); in YYPARSE_DECL()
1542 yyps->save = save; in YYPARSE_DECL()
1568 if (yyerrflag > 0) --yyerrflag; in YYPARSE_DECL()
1576 } /* End of code dealing with conflicts */ in YYPARSE_DECL()
1594 if (yyerrflag > 0) --yyerrflag; in YYPARSE_DECL()
1611 /* explicit YYERROR from an action -- pop the rhs of the rule reduced in YYPARSE_DECL()
1613 yystack.s_mark -= yym; in YYPARSE_DECL()
1615 yystack.l_mark -= yym; in YYPARSE_DECL()
1617 yystack.p_mark -= yym; in YYPARSE_DECL()
1622 while (yyps->save) in YYPARSE_DECL()
1625 YYParseState *save = yyps->save; in YYPARSE_DECL()
1629 YYDEBUGSTR, yydepth, yystate, yyps->save->state, in YYPARSE_DECL()
1630 (int)(yylvp - yylvals - yyps->save->lexeme)); in YYPARSE_DECL()
1632 /* Memorize most forward-looking error state in case it's really an error. */ in YYPARSE_DECL()
1633 if (yyerrctx == NULL || yyerrctx->lexeme < yylvp - yylvals) in YYPARSE_DECL()
1638 yyerrctx = yyNewState((unsigned)(yystack.s_mark - yystack.s_base + 1)); in YYPARSE_DECL()
1640 yyerrctx->save = yyps->save; in YYPARSE_DECL()
1641 yyerrctx->state = yystate; in YYPARSE_DECL()
1642 yyerrctx->errflag = yyerrflag; in YYPARSE_DECL()
1643 yyerrctx->yystack.s_mark = yyerrctx->yystack.s_base + (yystack.s_mark - yystack.s_base); in YYPARSE_DECL()
1644 …memcpy (yyerrctx->yystack.s_base, yystack.s_base, (size_t) (yystack.s_mark - yystack.s_base + 1) *… in YYPARSE_DECL()
1645 yyerrctx->yystack.l_mark = yyerrctx->yystack.l_base + (yystack.l_mark - yystack.l_base); in YYPARSE_DECL()
1646 …memcpy (yyerrctx->yystack.l_base, yystack.l_base, (size_t) (yystack.l_mark - yystack.l_base + 1) *… in YYPARSE_DECL()
1648 yyerrctx->yystack.p_mark = yyerrctx->yystack.p_base + (yystack.p_mark - yystack.p_base); in YYPARSE_DECL()
1649 …memcpy (yyerrctx->yystack.p_base, yystack.p_base, (size_t) (yystack.p_mark - yystack.p_base + 1) *… in YYPARSE_DECL()
1651 yyerrctx->lexeme = (int) (yylvp - yylvals); in YYPARSE_DECL()
1653 yylvp = yylvals + save->lexeme; in YYPARSE_DECL()
1655 yylpp = yylpsns + save->lexeme; in YYPARSE_DECL()
1657 yylexp = yylexemes + save->lexeme; in YYPARSE_DECL()
1659 yystack.s_mark = yystack.s_base + (save->yystack.s_mark - save->yystack.s_base); in YYPARSE_DECL()
1660 …memcpy (yystack.s_base, save->yystack.s_base, (size_t) (yystack.s_mark - yystack.s_base + 1) * siz… in YYPARSE_DECL()
1661 yystack.l_mark = yystack.l_base + (save->yystack.l_mark - save->yystack.l_base); in YYPARSE_DECL()
1662 …memcpy (yystack.l_base, save->yystack.l_base, (size_t) (yystack.l_mark - yystack.l_base + 1) * siz… in YYPARSE_DECL()
1664 yystack.p_mark = yystack.p_base + (save->yystack.p_mark - save->yystack.p_base); in YYPARSE_DECL()
1665 …memcpy (yystack.p_base, save->yystack.p_base, (size_t) (yystack.p_mark - yystack.p_base + 1) * siz… in YYPARSE_DECL()
1667 ctry = ++save->ctry; in YYPARSE_DECL()
1668 yystate = save->state; in YYPARSE_DECL()
1671 yyps->save = save->save; in YYPARSE_DECL()
1672 save->save = NULL; in YYPARSE_DECL()
1675 /* Nothing left on the stack -- error */ in YYPARSE_DECL()
1676 if (!yyps->save) in YYPARSE_DECL()
1683 /* Restore state as it was in the most forward-advanced error */ in YYPARSE_DECL()
1684 yylvp = yylvals + yyerrctx->lexeme; in YYPARSE_DECL()
1686 yylpp = yylpsns + yyerrctx->lexeme; in YYPARSE_DECL()
1688 yylexp = yylexemes + yyerrctx->lexeme; in YYPARSE_DECL()
1689 yychar = yylexp[-1]; in YYPARSE_DECL()
1690 yylval = yylvp[-1]; in YYPARSE_DECL()
1692 yylloc = yylpp[-1]; in YYPARSE_DECL()
1694 yystack.s_mark = yystack.s_base + (yyerrctx->yystack.s_mark - yyerrctx->yystack.s_base); in YYPARSE_DECL()
1695 …memcpy (yystack.s_base, yyerrctx->yystack.s_base, (size_t) (yystack.s_mark - yystack.s_base + 1) *… in YYPARSE_DECL()
1696 yystack.l_mark = yystack.l_base + (yyerrctx->yystack.l_mark - yyerrctx->yystack.l_base); in YYPARSE_DECL()
1697 …memcpy (yystack.l_base, yyerrctx->yystack.l_base, (size_t) (yystack.l_mark - yystack.l_base + 1) *… in YYPARSE_DECL()
1699 yystack.p_mark = yystack.p_base + (yyerrctx->yystack.p_mark - yyerrctx->yystack.p_base); in YYPARSE_DECL()
1700 …memcpy (yystack.p_base, yyerrctx->yystack.p_base, (size_t) (yystack.p_mark - yystack.p_base + 1) *… in YYPARSE_DECL()
1702 yystate = yyerrctx->state; in YYPARSE_DECL()
1772 --yystack.s_mark; in YYPARSE_DECL()
1773 --yystack.l_mark; in YYPARSE_DECL()
1775 --yystack.p_mark; in YYPARSE_DECL()
1820 for (i = yym; i > 0; i--) in YYPARSE_DECL()
1823 fputs(YYSTYPE_TOSTRING(yystos[yystack.s_mark[1-i]], in YYPARSE_DECL()
1824 yystack.l_mark[1-i]), stderr); in YYPARSE_DECL()
1833 yyval = yystack.l_mark[1-yym]; in YYPARSE_DECL()
1844 YYLLOC_DEFAULT(yyloc, &yystack.p_mark[-yym], yym); in YYPARSE_DECL()
1847 yyerror_loc_range[1] = yystack.p_mark[1-yym]; in YYPARSE_DECL()
1865 { Decl *d = lookup(yystack.l_mark[-2].scope, yystack.l_mark[-1].id); in YYPARSE_DECL()
1866 if (!d || !d->scope) YYERROR; in YYPARSE_DECL()
1867 yyval.scope = d->scope; } in YYPARSE_DECL()
1872 { Decl *d = lookup(yystack.l_mark[-1].scope, yystack.l_mark[0].id); in YYPARSE_DECL()
1873 if (d == NULL || d->istype() == 0) YYERROR; in YYPARSE_DECL()
1874 yyval.type = d->type; } in YYPARSE_DECL()
1884 yyval.scope = yystack.l_mark[-1].scope; in YYPARSE_DECL()
1894 yyval.scope = start_fn_def(yystack.l_mark[-2].scope, yystack.l_mark[0].decl); in YYPARSE_DECL()
1902 yyloc.first_line = yystack.p_mark[-3].first_line; in YYPARSE_DECL()
1903 yyloc.first_column = yystack.p_mark[-3].first_column; in YYPARSE_DECL()
1906 finish_fn_def(yystack.l_mark[-2].decl, yystack.l_mark[0].code); } in YYPARSE_DECL()
1916 { yyval.type = type_combine(yystack.l_mark[-2].type, yystack.l_mark[0].type); } in YYPARSE_DECL()
1926 { yyval.type = type_combine(yystack.l_mark[-1].type, yystack.l_mark[0].type); } in YYPARSE_DECL()
1966 yyval.scope = yystack.l_mark[-3].scope; in YYPARSE_DECL()
1971 yyval.type = yystack.l_mark[-3].type; in YYPARSE_DECL()
1978 { yyval.decl = declare(yystack.l_mark[-1].scope, 0, yystack.l_mark[0].type); } in YYPARSE_DECL()
1984 { yyval.decl = declare(yystack.l_mark[-2].scope, yystack.l_mark[0].id, yystack.l_mark[-1].type); } in YYPARSE_DECL()
1989 yyval.scope = yystack.l_mark[-2].scope; in YYPARSE_DECL()
1994 yyval.type = yystack.l_mark[-2].type; in YYPARSE_DECL()
2000 { yyval.decl = yystack.l_mark[-1].decl; } in YYPARSE_DECL()
2006 { yyval.decl = make_pointer(yystack.l_mark[0].decl, yystack.l_mark[-3].type); } in YYPARSE_DECL()
2012 { yyval.decl = make_array(yystack.l_mark[-4].decl->type, yystack.l_mark[-1].expr); } in YYPARSE_DECL()
2018 …{ yyval.decl = build_function(yystack.l_mark[-5].decl, yystack.l_mark[-2].dlist, yystack.l_mark[0]… in YYPARSE_DECL()
2036 { yyval.dlist = append_dlist(yystack.l_mark[-3].dlist, yystack.l_mark[0].decl); } in YYPARSE_DECL()
2054 { yyval.expr = build_expr(yystack.l_mark[-3].expr, ADD, yystack.l_mark[0].expr); } in YYPARSE_DECL()
2060 { yyval.expr = build_expr(yystack.l_mark[-3].expr, SUB, yystack.l_mark[0].expr); } in YYPARSE_DECL()
2066 { yyval.expr = build_expr(yystack.l_mark[-3].expr, MUL, yystack.l_mark[0].expr); } in YYPARSE_DECL()
2072 { yyval.expr = build_expr(yystack.l_mark[-3].expr, MOD, yystack.l_mark[0].expr); } in YYPARSE_DECL()
2078 { yyval.expr = build_expr(yystack.l_mark[-3].expr, DIV, yystack.l_mark[0].expr); } in YYPARSE_DECL()
2090 { yyval.expr = var_expr(yystack.l_mark[-1].scope, yystack.l_mark[0].id); } in YYPARSE_DECL()
2102 { yyval.code = 0; } in YYPARSE_DECL()
2109 { yyval.code = build_expr_code(yystack.l_mark[-1].expr); } in YYPARSE_DECL()
2114 yyval.scope = yystack.l_mark[-6].scope; in YYPARSE_DECL()
2119 yyval.scope = yystack.l_mark[-9].scope; in YYPARSE_DECL()
2126 { yyval.code = build_if(yystack.l_mark[-7].expr, yystack.l_mark[-3].code, yystack.l_mark[0].code); } in YYPARSE_DECL()
2133 { yyval.code = build_if(yystack.l_mark[-4].expr, yystack.l_mark[0].code, 0); } in YYPARSE_DECL()
2145 { yyval.code = yystack.l_mark[0].code; } in YYPARSE_DECL()
2151 { yyval.code = 0; } in YYPARSE_DECL()
2157 { yyval.code = code_append(yystack.l_mark[-2].code, yystack.l_mark[0].code); } in YYPARSE_DECL()
2163 { yyval.code = yystack.l_mark[-1].code; } in YYPARSE_DECL()
2170 yystack.s_mark -= yym; in YYPARSE_DECL()
2172 yystack.l_mark -= yym; in YYPARSE_DECL()
2174 yystack.p_mark -= yym; in YYPARSE_DECL()
2204 /* we're currently re-reading tokens */ in YYPARSE_DECL()
2212 if (yyps->save) in YYPARSE_DECL()
2217 size_t p = (size_t) (yylvp - yylvals); in YYPARSE_DECL()
2218 size_t s = (size_t) (yylvlim - yylvals); in YYPARSE_DECL()
2296 while (yyps->save) in YYPARSE_DECL()
2298 YYParseState *save = yyps->save; in YYPARSE_DECL()
2299 yyps->save = save->save; in YYPARSE_DECL()
2300 save->save = yypath; in YYPARSE_DECL()
2306 … YYDEBUGSTR, yydepth, yystate, yypath->state, (int)(yylvp - yylvals - yypath->lexeme)); in YYPARSE_DECL()
2313 yylvp = yylvals + yypath->lexeme; in YYPARSE_DECL()
2315 yylpp = yylpsns + yypath->lexeme; in YYPARSE_DECL()
2317 yylexp = yylexemes + yypath->lexeme; in YYPARSE_DECL()
2319 yystack.s_mark = yystack.s_base + (yypath->yystack.s_mark - yypath->yystack.s_base); in YYPARSE_DECL()
2320 …memcpy (yystack.s_base, yypath->yystack.s_base, (size_t) (yystack.s_mark - yystack.s_base + 1) * s… in YYPARSE_DECL()
2321 yystack.l_mark = yystack.l_base + (yypath->yystack.l_mark - yypath->yystack.l_base); in YYPARSE_DECL()
2322 …memcpy (yystack.l_base, yypath->yystack.l_base, (size_t) (yystack.l_mark - yystack.l_base + 1) * s… in YYPARSE_DECL()
2324 yystack.p_mark = yystack.p_base + (yypath->yystack.p_mark - yypath->yystack.p_base); in YYPARSE_DECL()
2325 …memcpy (yystack.p_base, yypath->yystack.p_base, (size_t) (yystack.p_mark - yystack.p_base + 1) * s… in YYPARSE_DECL()
2327 yystate = yypath->state; in YYPARSE_DECL()
2348 if (yyps->save) goto yyvalid; in YYPARSE_DECL()
2368 yystos[*(yystack.s_base + (pv - yystack.l_base))], pv, pp); in YYPARSE_DECL()
2372 yystos[*(yystack.s_base + (pv - yystack.l_base))], pv); in YYPARSE_DECL()
2386 yyps = save->save; in YYPARSE_DECL()
2387 save->save = NULL; in YYPARSE_DECL()
2393 yypath = save->save; in YYPARSE_DECL()
2394 save->save = NULL; in YYPARSE_DECL()