aboutsummaryrefslogtreecommitdiff
path: root/tasm
diff options
context:
space:
mode:
Diffstat (limited to 'tasm')
-rw-r--r--tasm/gen/gen_parser.c8
-rw-r--r--tasm/scripts/makefile2
-rw-r--r--tasm/src/parser.y2
3 files changed, 6 insertions, 6 deletions
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