aboutsummaryrefslogtreecommitdiff
path: root/lstring.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-08-21 17:09:51 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-08-21 17:09:51 -0300
commit0df6635711230ab306710056f621b6da59fac5ea (patch)
treed8ae245fc35157219a54407d9af6a52b42922ce1 /lstring.h
parentae800656c9f82b54f6fae1497022d3484ad0c920 (diff)
downloadlua-0df6635711230ab306710056f621b6da59fac5ea.tar.gz
lua-0df6635711230ab306710056f621b6da59fac5ea.tar.bz2
lua-0df6635711230ab306710056f621b6da59fac5ea.zip
"fixed" objects kept in a separated list (instead of being kept in
'allgc' list with a bit marking them)
Diffstat (limited to 'lstring.h')
-rw-r--r--lstring.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lstring.h b/lstring.h
index e2435300..e6f08106 100644
--- a/lstring.h
+++ b/lstring.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstring.h,v 1.50 2013/08/16 18:55:49 roberto Exp roberto $ 2** $Id: lstring.h,v 1.51 2013/08/21 19:21:16 roberto Exp roberto $
3** String table (keep all strings handled by Lua) 3** String table (keep all strings handled by Lua)
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -19,8 +19,6 @@
19#define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \ 19#define luaS_newliteral(L, s) (luaS_newlstr(L, "" s, \
20 (sizeof(s)/sizeof(char))-1)) 20 (sizeof(s)/sizeof(char))-1))
21 21
22#define luaS_fix(s) setbits((s)->tsv.marked, bit2mask(FIXEDBIT, LOCALBIT))
23
24 22
25/* 23/*
26** test whether a string is a reserved word 24** test whether a string is a reserved word