From 3fb7a77731e6140674a6b13b73979256bfb95ce3 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 15 May 2025 12:43:37 -0300 Subject: Internalized string "break" kept by the parser The parser uses "break" as fake label to compile "break" as "goto break". To avoid producing this string at each use, it keeps it available in its state. --- llex.h | 1 + 1 file changed, 1 insertion(+) (limited to 'llex.h') diff --git a/llex.h b/llex.h index 078e4d31..0dba9d60 100644 --- a/llex.h +++ b/llex.h @@ -75,6 +75,7 @@ typedef struct LexState { struct Dyndata *dyd; /* dynamic structures used by the parser */ TString *source; /* current source name */ TString *envn; /* environment variable name */ + TString *brkn; /* "break" name (used as a label) */ } LexState; -- cgit v1.2.3-55-g6feb