diff options
| author | Roberto I <roberto@inf.puc-rio.br> | 2025-08-09 15:08:53 -0300 |
|---|---|---|
| committer | Roberto I <roberto@inf.puc-rio.br> | 2025-08-09 15:08:53 -0300 |
| commit | 5b179eaf6a78af5f000d76147af94669d04487b2 (patch) | |
| tree | a3466ed22def25294ff1647d1af91cd4ef7fa567 /lparser.c | |
| parent | 8fddca81e7d4137512e92f398ca638d61b935dbd (diff) | |
| download | lua-5b179eaf6a78af5f000d76147af94669d04487b2.tar.gz lua-5b179eaf6a78af5f000d76147af94669d04487b2.tar.bz2 lua-5b179eaf6a78af5f000d76147af94669d04487b2.zip | |
Details
Diffstat (limited to 'lparser.c')
| -rw-r--r-- | lparser.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1827,7 +1827,7 @@ static lu_byte getglobalattribute (LexState *ls, lu_byte df) { | |||
| 1827 | switch (kind) { | 1827 | switch (kind) { |
| 1828 | case RDKTOCLOSE: | 1828 | case RDKTOCLOSE: |
| 1829 | luaK_semerror(ls, "global variables cannot be to-be-closed"); | 1829 | luaK_semerror(ls, "global variables cannot be to-be-closed"); |
| 1830 | break; /* to avoid warnings */ | 1830 | return kind; /* to avoid warnings */ |
| 1831 | case RDKCONST: | 1831 | case RDKCONST: |
| 1832 | return GDKCONST; /* adjust kind for global variable */ | 1832 | return GDKCONST; /* adjust kind for global variable */ |
| 1833 | default: | 1833 | default: |
