Slightly faster way to check for "global"

This commit is contained in:
Roberto Ierusalimschy
2025-05-16 14:51:07 -03:00
parent 3fb7a77731
commit ded2ad2d86
3 changed files with 13 additions and 12 deletions

1
llex.h
View File

@@ -76,6 +76,7 @@ typedef struct LexState {
TString *source; /* current source name */
TString *envn; /* environment variable name */
TString *brkn; /* "break" name (used as a label) */
TString *glbn; /* "global" name (when not a reserved word) */
} LexState;