Remove compat code in parser when not needed
This commit is contained in:
2
llex.c
2
llex.c
@@ -41,7 +41,7 @@
|
||||
#define currIsNewline(ls) (ls->current == '\n' || ls->current == '\r')
|
||||
|
||||
#if defined(LUA_COMPAT_GLOBAL)
|
||||
#define GLOBALLEX ".g" /* not recognizable by the scanner */
|
||||
#define GLOBALLEX ".g" /* anything not recognizable as a name */
|
||||
#else
|
||||
#define GLOBALLEX "global"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user