"fixed" objects kept in a separated list (instead of being kept in

'allgc' list with a bit marking them)
This commit is contained in:
Roberto Ierusalimschy
2013-08-21 17:09:51 -03:00
parent ae800656c9
commit 0df6635711
7 changed files with 33 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lstring.h,v 1.50 2013/08/16 18:55:49 roberto Exp roberto $
** $Id: lstring.h,v 1.51 2013/08/21 19:21:16 roberto Exp roberto $
** String table (keep all strings handled by Lua)
** See Copyright Notice in lua.h
*/
@@ -19,8 +19,6 @@
#define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \
(sizeof(s)/sizeof(char))-1))
#define luaS_fix(s) setbits((s)->tsv.marked, bit2mask(FIXEDBIT, LOCALBIT))
/*
** test whether a string is a reserved word