diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2026-01-20 13:06:16 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2026-01-20 13:06:16 -0300 |
| commit | e992c6a95939c8e1fe357bfce481e0d0c762c3c6 (patch) | |
| tree | 5755e2d0ce6b8e7bbca0d7c1cebf6b51b0d7e607 /llex.c | |
| parent | f5d1e8639bf5df24c761602354218df21f796a30 (diff) | |
| download | lua-e992c6a95939c8e1fe357bfce481e0d0c762c3c6.tar.gz lua-e992c6a95939c8e1fe357bfce481e0d0c762c3c6.tar.bz2 lua-e992c6a95939c8e1fe357bfce481e0d0c762c3c6.zip | |
Some compilation options configurable from makefile
Compilation options LUA_COMPAT_GLOBAL, LUA_COMPAT_LOOPVAR, and
LUA_READLINELIB do not affect the API, so they can be changed
through the make file.
Diffstat (limited to 'llex.c')
| -rw-r--r-- | llex.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -188,7 +188,7 @@ void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source, | |||
| 188 | so they cannot be collected */ | 188 | so they cannot be collected */ |
| 189 | ls->envn = luaS_newliteral(L, LUA_ENV); /* get env string */ | 189 | ls->envn = luaS_newliteral(L, LUA_ENV); /* get env string */ |
| 190 | ls->brkn = luaS_newliteral(L, "break"); /* get "break" string */ | 190 | ls->brkn = luaS_newliteral(L, "break"); /* get "break" string */ |
| 191 | #if defined(LUA_COMPAT_GLOBAL) | 191 | #if LUA_COMPAT_GLOBAL |
| 192 | /* compatibility mode: "global" is not a reserved word */ | 192 | /* compatibility mode: "global" is not a reserved word */ |
| 193 | ls->glbn = luaS_newliteral(L, "global"); /* get "global" string */ | 193 | ls->glbn = luaS_newliteral(L, "global"); /* get "global" string */ |
| 194 | ls->glbn->extra = 0; /* mark it as not reserved */ | 194 | ls->glbn->extra = 0; /* mark it as not reserved */ |
