diff options
| -rw-r--r-- | llex.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 `\' */ |
