aboutsummaryrefslogtreecommitdiff
path: root/lparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'lparser.c')
-rw-r--r--lparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lparser.c b/lparser.c
index dde0b6d5..73dad6d7 100644
--- a/lparser.c
+++ b/lparser.c
@@ -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: