diff options
| author | Lua Team <team@lua.org> | 2011-07-05 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 2011-07-05 12:00:00 +0000 |
| commit | 76e52968cfea8eccaffae99512879d664796e6a6 (patch) | |
| tree | 6105722d5a672f6bc2280bfd54f4e7b9531431cb /src/llex.c | |
| parent | cc3a4be74122bb2c002798696730bca68d36fcc9 (diff) | |
| download | lua-github-5.2.0-beta-rc6.tar.gz | |
Lua 5.2.0-beta-rc65.2.0-beta-rc6
Diffstat (limited to 'src/llex.c')
| -rw-r--r-- | src/llex.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ /* -** $Id: llex.c,v 2.49 2011/06/23 14:54:48 roberto Exp $ +** $Id: llex.c,v 2.50 2011/07/05 19:13:45 roberto Exp $ ** Lexical Analyzer ** See Copyright Notice in lua.h */ @@ -354,7 +354,7 @@ static void read_string (LexState *ls, int del, SemInfo *seminfo) { case '\n': case '\r': save(ls, '\n'); inclinenumber(ls); continue; case EOZ: continue; /* will raise an error next loop */ - case '*': { /* skip following span of spaces */ + case 'z': { /* zap following span of spaces */ next(ls); /* skip the '*' */ while (lisspace(ls->current)) { if (currIsNewline(ls)) inclinenumber(ls); @@ -364,7 +364,7 @@ static void read_string (LexState *ls, int del, SemInfo *seminfo) { } default: { if (!lisdigit(ls->current)) - c = ls->current; /* handles \\, \", \', and \? */ + c = ls->current; /* handles \\, \", and \' */ else /* digital escape \ddd */ c = readdecesc(ls); break; |
