aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llex.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/llex.c b/llex.c
index 7030e62d..27f11134 100644
--- a/llex.c
+++ b/llex.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llex.c,v 1.106 2002/06/25 19:18:20 roberto Exp roberto $ 2** $Id: llex.c,v 1.107 2002/07/08 18:14:36 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*/
@@ -273,6 +273,7 @@ static void read_string (LexState *LS, int del, SemInfo *seminfo) {
273 case 't': save(L, '\t', l); next(LS); break; 273 case 't': save(L, '\t', l); next(LS); break;
274 case 'v': save(L, '\v', l); next(LS); break; 274 case 'v': save(L, '\v', l); next(LS); break;
275 case '\n': save(L, '\n', l); inclinenumber(LS); break; 275 case '\n': save(L, '\n', l); inclinenumber(LS); break;
276 case EOZ: break; /* will raise an error next loop */
276 default: { 277 default: {
277 if (!isdigit(LS->current)) 278 if (!isdigit(LS->current))
278 save_and_next(L, LS, l); /* handles \\, \", \', and \? */ 279 save_and_next(L, LS, l); /* handles \\, \", \', and \? */