aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-02-11 16:25:20 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-02-11 16:25:20 -0200
commit41dd32e18ecbb298437c124cbab60de1f90babbb (patch)
tree49aea12ef684b67ab4244cafaa3498c0d1dfd9b7
parent5d3cc5def8d2566fdd1741732ad207d4beed1230 (diff)
downloadlua-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/llex.c b/llex.c
index f0633b63..015e3210 100644
--- a/llex.c
+++ b/llex.c
@@ -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: {