use a table to find (and reuse) constants when parsing

This commit is contained in:
Roberto Ierusalimschy
2001-08-27 12:16:28 -03:00
parent 7afc74ff07
commit c3d72096c4
6 changed files with 32 additions and 38 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: llimits.h,v 1.29 2001/06/05 18:17:01 roberto Exp roberto $
** $Id: llimits.h,v 1.30 2001/06/05 20:01:09 roberto Exp roberto $
** Limits, basic types, and some other `installation-dependent' definitions
** See Copyright Notice in lua.h
*/
@@ -124,10 +124,4 @@ typedef unsigned long Instruction;
/* maximum lookback to find a real constant (for code generation) */
#ifndef LOOKBACKNUMS
#define LOOKBACKNUMS 40 /* arbitrary constant */
#endif
#endif