summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lex.c b/lex.c
index b4513919..eb92d6fc 100644
--- a/lex.c
+++ b/lex.c
@@ -1,4 +1,4 @@
1char *rcs_lex = "$Id: lex.c,v 2.38 1996/11/08 12:49:35 roberto Exp roberto $"; 1char *rcs_lex = "$Id: lex.c,v 2.39 1996/11/08 19:08:30 roberto Exp roberto $";
2 2
3 3
4#include <ctype.h> 4#include <ctype.h>
@@ -96,6 +96,7 @@ static int inclinenumber (int pragma_allowed)
96 else if (strcmp(buff, "nodebug") == 0) 96 else if (strcmp(buff, "nodebug") == 0)
97 lua_debug = 0; 97 lua_debug = 0;
98 else luaI_syntaxerror("invalid pragma"); 98 else luaI_syntaxerror("invalid pragma");
99 buff[1] = buff[2] = buff[3] = 0; /* (re)set for next token */
99 } 100 }
100 return lua_linenumber; 101 return lua_linenumber;
101} 102}