mirror of
https://github.com/lua/lua
synced 2026-09-27 00:28:25 +03:00
comment (should not use 'go trhough' when simply using multiple labels)
This commit is contained in:
parent
5d3cc5def8
commit
41dd32e18e
1 changed files with 2 additions and 2 deletions
4
llex.c
4
llex.c
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: llex.c,v 2.28 2007/10/25 16:45:47 roberto Exp roberto $
|
||||
** $Id: llex.c,v 2.29 2008/12/26 11:55:57 roberto Exp roberto $
|
||||
** Lexical Analyzer
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -286,7 +286,7 @@ static void read_string (LexState *ls, int del, SemInfo *seminfo) {
|
|||
case 'r': c = '\r'; break;
|
||||
case 't': c = '\t'; break;
|
||||
case 'v': c = '\v'; break;
|
||||
case '\n': /* go through */
|
||||
case '\n':
|
||||
case '\r': save(ls, '\n'); inclinenumber(ls); continue;
|
||||
case EOZ: continue; /* will raise an error next loop */
|
||||
default: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue