aboutsummaryrefslogtreecommitdiff
path: root/lparser.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-16 13:59:21 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-16 13:59:21 -0300
commit04bbd0117174911a489ca7d2603c1e8717565405 (patch)
treeaa655728e84a47cf6a6929ab2c232edd691ff60e /lparser.c
parent9ffae705ee8894d68bbc07a1a5f77a112c40efad (diff)
downloadlua-04bbd0117174911a489ca7d2603c1e8717565405.tar.gz
lua-04bbd0117174911a489ca7d2603c1e8717565405.tar.bz2
lua-04bbd0117174911a489ca7d2603c1e8717565405.zip
new operation *t (for size of t) (may yet be removed...)
Diffstat (limited to 'lparser.c')
-rw-r--r--lparser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lparser.c b/lparser.c
index a26f22f5..4355f5fc 100644
--- a/lparser.c
+++ b/lparser.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lparser.c,v 2.17 2005/03/08 20:10:05 roberto Exp roberto $ 2** $Id: lparser.c,v 2.18 2005/03/09 16:28:07 roberto Exp roberto $
3** Lua Parser 3** Lua Parser
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -788,6 +788,7 @@ static UnOpr getunopr (int op) {
788 switch (op) { 788 switch (op) {
789 case TK_NOT: return OPR_NOT; 789 case TK_NOT: return OPR_NOT;
790 case '-': return OPR_MINUS; 790 case '-': return OPR_MINUS;
791 case '*': return OPR_SIZE;
791 default: return OPR_NOUNOPR; 792 default: return OPR_NOUNOPR;
792 } 793 }
793} 794}