From b217ae644e3a83def93be2fe742e2cd0970e1a5f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 25 Jan 2002 20:14:09 -0200 Subject: details --- llex.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/llex.c b/llex.c index 08815def..dc3be2f4 100644 --- a/llex.c +++ b/llex.c @@ -209,7 +209,7 @@ static void read_long_string (LexState *LS, SemInfo *seminfo) { switch (LS->current) { case EOZ: save(L, '\0', l); - luaX_error(LS, "unfinished long string", TK_STRING); + luaX_error(LS, "unfinished long string", TK_EOS); break; /* to avoid warnings */ case '[': save_and_next(L, LS, l); @@ -304,12 +304,6 @@ int luaX_lex (LexState *LS, SemInfo *seminfo) { inclinenumber(LS); continue; - case '$': - luaX_error(LS, - "unexpected `$' (pragmas are no longer supported)", - LS->current); - break; - case '-': next(LS); if (LS->current != '-') return '-'; -- cgit v1.2.3-55-g6feb