summaryrefslogtreecommitdiff
path: root/lstring.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-11-21 17:00:46 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-11-21 17:00:46 -0200
commitaccd7bc25355be4350db6d117515c672121a67f2 (patch)
treee351b89ca86b67a3c60874c230626a13517524b8 /lstring.c
parent6153200bc25bd99f9d3d25d7caa486b03b6535d5 (diff)
downloadlua-accd7bc25355be4350db6d117515c672121a67f2.tar.gz
lua-accd7bc25355be4350db6d117515c672121a67f2.tar.bz2
lua-accd7bc25355be4350db6d117515c672121a67f2.zip
small modifications (format, small optimizations, etc)
Diffstat (limited to 'lstring.c')
-rw-r--r--lstring.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstring.c b/lstring.c
index 57a579f2..b4e435df 100644
--- a/lstring.c
+++ b/lstring.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstring.c,v 1.4 1997/11/04 15:27:53 roberto Exp roberto $ 2** $Id: lstring.c,v 1.5 1997/11/19 17:29:23 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*/
@@ -74,7 +74,7 @@ static void grow (stringtable *tb)
74} 74}
75 75
76 76
77static TaggedString *newone(char *buff, int tag, unsigned long h) 77static TaggedString *newone (char *buff, int tag, unsigned long h)
78{ 78{
79 TaggedString *ts; 79 TaggedString *ts;
80 if (tag == LUA_T_STRING) { 80 if (tag == LUA_T_STRING) {