diff options
| author | Lua Team <team@lua.org> | 2010-11-22 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 2010-11-22 12:00:00 +0000 |
| commit | fb0603dc21768ef06c36dfebe3e812010cbb759a (patch) | |
| tree | 9f2613bf0fdb20f9354032bd956f4e0ff1018adc /src/llex.c | |
| parent | 850a3d8f8d2ef75c2e7579f31e3b301a72c279cd (diff) | |
| download | lua-github-5.2.0-alpha-rc3.tar.gz | |
Lua 5.2.0-alpha-rc35.2.0-alpha-rc3
Diffstat (limited to 'src/llex.c')
| -rw-r--r-- | src/llex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* -** $Id: llex.c,v 2.40 2010/10/25 12:24:36 roberto Exp $ +** $Id: llex.c,v 2.41 2010/11/18 18:38:44 roberto Exp $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ @@ -471,10 +471,10 @@ static int llex (LexState *ls, SemInfo *seminfo) { } while (lislalnum(ls->current)); ts = luaX_newstring(ls, luaZ_buffer(ls->buff), luaZ_bufflen(ls->buff)); + seminfo->ts = ts; if (ts->tsv.reserved > 0) /* reserved word? */ return ts->tsv.reserved - 1 + FIRST_RESERVED; else { - seminfo->ts = ts; return TK_NAME; } } |
