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 833f1592..b83f5d19 100644
--- a/lparser.c
+++ b/lparser.c
@@ -627,7 +627,7 @@ static void prefixexp (LexState *ls, expdesc *v) {
627 case l_c('%'): { /* for compatibility only */ 627 case l_c('%'): { /* for compatibility only */
628 next(ls); /* skip `%' */ 628 next(ls); /* skip `%' */
629 singlevar(ls->fs, str_checkname(ls), v, 1); 629 singlevar(ls->fs, str_checkname(ls), v, 1);
630 check_condition(ls, v->k == VUPVAL, l_s("global upvalues are deprecated")); 630 check_condition(ls, v->k == VUPVAL, l_s("global upvalues are obsolete"));
631 next(ls); 631 next(ls);
632 return; 632 return;
633 } 633 }