From c3d72096c4841ebc04a0615917d71f22aaa5e5ff Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 27 Aug 2001 12:16:28 -0300 Subject: use a table to find (and reuse) constants when parsing --- lobject.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lobject.h') diff --git a/lobject.h b/lobject.h index 9a19ea8e..9170d81b 100644 --- a/lobject.h +++ b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 1.108 2001/06/28 14:48:44 roberto Exp roberto $ +** $Id: lobject.h,v 1.109 2001/06/28 14:56:25 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -90,8 +90,7 @@ typedef union TString { struct { lu_hash hash; size_t len; - unsigned short constindex; /* hint to reuse constants */ - short marked; + int marked; union TString *nexthash; /* chain for hash table */ } tsv; } TString; -- cgit v1.2.3-55-g6feb