From 4f0647740a3353781eab29a34ab1e0c16a0551ca Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 27 Jun 2024 19:23:37 +0300 Subject: allow assembling massive files --- tasm/gen/gen_parser.c | 8 ++++---- tasm/scripts/makefile | 2 +- tasm/src/parser.y | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'tasm') diff --git a/tasm/gen/gen_parser.c b/tasm/gen/gen_parser.c index ea9289c..b6fbfd3 100644 --- a/tasm/gen/gen_parser.c +++ b/tasm/gen/gen_parser.c @@ -1004,7 +1004,7 @@ static const yytype_int16 yypact[] = 31, 31, 31, 31, 31, 31, 31, 31, 31, 27, 27, -64, -64, -64, -64, 31, 31, 31, -64, 31, 31, 31, 31, 31, 31, -64, 27, 31, -64, 35, - 35, 35, -64, -64, -64, -64, -64, -64, 240, -64, + 35, 35, -64, -64, -64, -64, -64, -64, -64, 240, 29, 121, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, -64, @@ -1082,7 +1082,7 @@ static const yytype_uint8 yydefact[] = static const yytype_int8 yypgoto[] = { -64, -6, -63, -5, -64, -64, -64, -64, -25, -64, - -64, -64, 70, -64 + -64, 69, -64, -64 }; /* YYDEFGOTO[NTERM-NUM]. */ @@ -1152,7 +1152,7 @@ static const yytype_int16 yycheck[] = 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, - 89, 90, 91, 92, 3, 7, 7, 7, 58, 7, + 89, 90, 91, 92, 3, 7, 7, 7, 59, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 219, 220, 7, 7, @@ -1203,7 +1203,7 @@ static const yytype_uint8 yystos[] = 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 6, 143, 143, 145, 145, 145, 145, 145, 145, 145, 145, - 145, 143, 145, 6, 150, 150, 150, 154, 0, 3, + 145, 143, 145, 6, 150, 150, 150, 153, 0, 3, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 145, 145, 7, 7, 7, diff --git a/tasm/scripts/makefile b/tasm/scripts/makefile index cb7108f..367c03e 100644 --- a/tasm/scripts/makefile +++ b/tasm/scripts/makefile @@ -1,7 +1,7 @@ # this could be done better RELEASE ?= 0 OPTFLAGS != [ "$(RELEASE)" != "0" ] \ - && echo "-O3 -flto" \ + && echo "-O2 -flto=auto" \ || echo "-O0" DEBUG ?= 1 diff --git a/tasm/src/parser.y b/tasm/src/parser.y index bb3090f..a473154 100644 --- a/tasm/src/parser.y +++ b/tasm/src/parser.y @@ -415,7 +415,7 @@ top unit : top - | top unit + | unit top input : unit -- cgit v1.3