diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-08 17:42:07 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-08-08 17:42:07 -0300 |
commit | 0802a9df9e9326c5e61f0d6b69685c2c253de5f2 (patch) | |
tree | c0f34b8fbf79694ea3d5f9d98f14680ba74a2b14 /llex.c | |
parent | f90bc248b3c3c18941a96038b2a7517ad571d8b1 (diff) | |
download | lua-0802a9df9e9326c5e61f0d6b69685c2c253de5f2.tar.gz lua-0802a9df9e9326c5e61f0d6b69685c2c253de5f2.tar.bz2 lua-0802a9df9e9326c5e61f0d6b69685c2c253de5f2.zip |
no more options for debug information: it is always on
Diffstat (limited to 'llex.c')
-rw-r--r-- | llex.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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); |