diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-05-13 11:50:43 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2025-05-13 11:50:43 -0300 |
| commit | fded0b4a844990b1a6d0cda1aba25df33eb5f46f (patch) | |
| tree | 4f12b7359ed4d8d9d46589d5708de12992ad206b /llex.c | |
| parent | 3b9dd52be02fd43c598f4adb6fa7844e6a573923 (diff) | |
| download | lua-fded0b4a844990b1a6d0cda1aba25df33eb5f46f.tar.gz lua-fded0b4a844990b1a6d0cda1aba25df33eb5f46f.tar.bz2 lua-fded0b4a844990b1a6d0cda1aba25df33eb5f46f.zip | |
Remove compat code in parser when not needed
Diffstat (limited to '')
| -rw-r--r-- | llex.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -41,7 +41,7 @@ | |||
| 41 | #define currIsNewline(ls) (ls->current == '\n' || ls->current == '\r') | 41 | #define currIsNewline(ls) (ls->current == '\n' || ls->current == '\r') |
| 42 | 42 | ||
| 43 | #if defined(LUA_COMPAT_GLOBAL) | 43 | #if defined(LUA_COMPAT_GLOBAL) |
| 44 | #define GLOBALLEX ".g" /* not recognizable by the scanner */ | 44 | #define GLOBALLEX ".g" /* anything not recognizable as a name */ |
| 45 | #else | 45 | #else |
| 46 | #define GLOBALLEX "global" | 46 | #define GLOBALLEX "global" |
| 47 | #endif | 47 | #endif |
