Cleaning of llimits.h
Several definitions that don't need to be "global" (that is, that concerns only specific parts of the code) moved out of llimits.h, to more appropriate places.
This commit is contained in:
@@ -859,7 +859,7 @@ static void recfield (LexState *ls, ConsControl *cc) {
|
||||
int reg = ls->fs->freereg;
|
||||
expdesc tab, key, val;
|
||||
if (ls->t.token == TK_NAME) {
|
||||
checklimit(fs, cc->nh, MAX_INT, "items in a constructor");
|
||||
checklimit(fs, cc->nh, INT_MAX, "items in a constructor");
|
||||
codename(ls, &key);
|
||||
}
|
||||
else /* ls->t.token == '[' */
|
||||
|
||||
Reference in New Issue
Block a user