diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-02-11 16:25:20 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-02-11 16:25:20 -0200 |
commit | 41dd32e18ecbb298437c124cbab60de1f90babbb (patch) | |
tree | 49aea12ef684b67ab4244cafaa3498c0d1dfd9b7 | |
parent | 5d3cc5def8d2566fdd1741732ad207d4beed1230 (diff) | |
download | lua-41dd32e18ecbb298437c124cbab60de1f90babbb.tar.gz lua-41dd32e18ecbb298437c124cbab60de1f90babbb.tar.bz2 lua-41dd32e18ecbb298437c124cbab60de1f90babbb.zip |
comment (should not use 'go trhough' when simply using multiple labels)
-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.28 2007/10/25 16:45:47 roberto Exp roberto $ | 2 | ** $Id: llex.c,v 2.29 2008/12/26 11:55:57 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 | */ |
@@ -286,7 +286,7 @@ static void read_string (LexState *ls, int del, SemInfo *seminfo) { | |||
286 | case 'r': c = '\r'; break; | 286 | case 'r': c = '\r'; break; |
287 | case 't': c = '\t'; break; | 287 | case 't': c = '\t'; break; |
288 | case 'v': c = '\v'; break; | 288 | case 'v': c = '\v'; break; |
289 | case '\n': /* go through */ | 289 | case '\n': |
290 | case '\r': save(ls, '\n'); inclinenumber(ls); continue; | 290 | case '\r': save(ls, '\n'); inclinenumber(ls); continue; |
291 | case EOZ: continue; /* will raise an error next loop */ | 291 | case EOZ: continue; /* will raise an error next loop */ |
292 | default: { | 292 | default: { |