aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/llex.c b/llex.c
index dc3be2f4..8f70ff5a 100644
--- a/llex.c
+++ b/llex.c
@@ -250,7 +250,7 @@ static void read_string (LexState *LS, int del, SemInfo *seminfo) {
250 switch (LS->current) { 250 switch (LS->current) {
251 case EOZ: case '\n': 251 case EOZ: case '\n':
252 save(L, '\0', l); 252 save(L, '\0', l);
253 luaX_error(LS, "unfinished string", TK_STRING); 253 luaX_error(LS, "unfinished string", TK_EOS);
254 break; /* to avoid warnings */ 254 break; /* to avoid warnings */
255 case '\\': 255 case '\\':
256 next(LS); /* do not save the `\' */ 256 next(LS); /* do not save the `\' */