aboutsummaryrefslogtreecommitdiff
path: root/lua.stx
diff options
context:
space:
mode:
Diffstat (limited to 'lua.stx')
-rw-r--r--lua.stx4
1 files changed, 1 insertions, 3 deletions
diff --git a/lua.stx b/lua.stx
index a2ee9d23..e495eb20 100644
--- a/lua.stx
+++ b/lua.stx
@@ -1,6 +1,6 @@
1%{ 1%{
2 2
3char *rcs_luastx = "$Id: lua.stx,v 3.23 1995/10/25 14:33:25 roberto Exp roberto $"; 3char *rcs_luastx = "$Id: lua.stx,v 3.24 1995/10/26 14:21:56 roberto Exp roberto $";
4 4
5#include <stdio.h> 5#include <stdio.h>
6#include <stdlib.h> 6#include <stdlib.h>
@@ -156,8 +156,6 @@ static void add_localvar (Word name)
156 156
157static void store_localvar (Word name, int n) 157static void store_localvar (Word name, int n)
158{ 158{
159 if (*initcode == basepc)
160 yyerror("local variable outside function body");
161 if (nlocalvar+n < MAXLOCALS) 159 if (nlocalvar+n < MAXLOCALS)
162 localvar[nlocalvar+n] = name; 160 localvar[nlocalvar+n] = name;
163 else 161 else