diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-07-06 13:45:14 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2011-07-06 13:45:14 -0300 |
commit | b5084fdafe972470a12454e11485a7dece9b2da8 (patch) | |
tree | 58eb5f97523e019d6d5ca3efe05362aa76c6815c | |
parent | d8200d5f3c65c371e28d75b6742ed2cb8fc9dba0 (diff) | |
download | lua-b5084fdafe972470a12454e11485a7dece9b2da8.tar.gz lua-b5084fdafe972470a12454e11485a7dece9b2da8.tar.bz2 lua-b5084fdafe972470a12454e11485a7dece9b2da8.zip |
detail (comment)
-rw-r--r-- | llex.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: llex.c,v 2.49 2011/06/23 14:54:48 roberto Exp roberto $ | 2 | ** $Id: llex.c,v 2.50 2011/07/05 19:13:45 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 | */ |
@@ -355,7 +355,7 @@ static void read_string (LexState *ls, int del, SemInfo *seminfo) { | |||
355 | case '\r': save(ls, '\n'); inclinenumber(ls); continue; | 355 | case '\r': save(ls, '\n'); inclinenumber(ls); continue; |
356 | case EOZ: continue; /* will raise an error next loop */ | 356 | case EOZ: continue; /* will raise an error next loop */ |
357 | case 'z': { /* zap following span of spaces */ | 357 | case 'z': { /* zap following span of spaces */ |
358 | next(ls); /* skip the '*' */ | 358 | next(ls); /* skip the 'z' */ |
359 | while (lisspace(ls->current)) { | 359 | while (lisspace(ls->current)) { |
360 | if (currIsNewline(ls)) inclinenumber(ls); | 360 | if (currIsNewline(ls)) inclinenumber(ls); |
361 | else next(ls); | 361 | else next(ls); |