mirror of
https://github.com/lua/lua
synced 2024-11-22 04:41:23 +03:00
small simplification
This commit is contained in:
parent
577ae944e9
commit
ad0ec203f6
4
lex.c
4
lex.c
@ -1,4 +1,4 @@
|
||||
char *rcs_lex = "$Id: lex.c,v 2.10 1994/11/13 14:39:04 roberto Exp roberto $";
|
||||
char *rcs_lex = "$Id: lex.c,v 2.11 1994/11/14 21:40:14 roberto Exp $";
|
||||
|
||||
|
||||
#include <ctype.h>
|
||||
@ -168,8 +168,6 @@ int yylex (void)
|
||||
case 'n': save('\n'); next(); break;
|
||||
case 't': save('\t'); next(); break;
|
||||
case 'r': save('\r'); next(); break;
|
||||
case '\'': save('\''); next(); break;
|
||||
case '"': save('"'); next(); break;
|
||||
default : save(current); next(); break;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user