aboutsummaryrefslogtreecommitdiff
path: root/llex.c
diff options
context:
space:
mode:
Diffstat (limited to 'llex.c')
-rw-r--r--llex.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/llex.c b/llex.c
index 50ffc951..49824b24 100644
--- a/llex.c
+++ b/llex.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llex.c,v 1.64 2000/06/19 18:05:14 roberto Exp roberto $ 2** $Id: llex.c,v 1.65 2000/06/21 18:13:56 roberto Exp roberto $
3** Lexical Analyzer 3** Lexical Analyzer
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -120,10 +120,7 @@ static void checkpragma (lua_State *L, LexState *LS) {
120 if (LS->current == '$') { /* is a pragma? */ 120 if (LS->current == '$') { /* is a pragma? */
121 switch (luaL_findstring(readname(L, LS)+1, pragmas)) { 121 switch (luaL_findstring(readname(L, LS)+1, pragmas)) {
122 case 0: /* debug */ 122 case 0: /* debug */
123 L->debug = 1;
124 break;
125 case 1: /* nodebug */ 123 case 1: /* nodebug */
126 L->debug = 0;
127 break; 124 break;
128 default: 125 default:
129 luaX_error(LS, "unknown pragma", TK_STRING); 126 luaX_error(LS, "unknown pragma", TK_STRING);