This commit is contained in:
Roberto Ierusalimschy
2001-10-02 13:43:29 -03:00
parent f54cdb33a5
commit b840a7518d
4 changed files with 9 additions and 9 deletions

View File

@@ -627,7 +627,7 @@ static void prefixexp (LexState *ls, expdesc *v) {
case l_c('%'): { /* for compatibility only */
next(ls); /* skip `%' */
singlevar(ls->fs, str_checkname(ls), v, 1);
check_condition(ls, v->k == VUPVAL, l_s("global upvalues are deprecated"));
check_condition(ls, v->k == VUPVAL, l_s("global upvalues are obsolete"));
next(ls);
return;
}