mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
use a table to find (and reuse) constants when parsing
This commit is contained in:
parent
7afc74ff07
commit
c3d72096c4
6 changed files with 32 additions and 38 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue