diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-03-16 13:59:21 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-03-16 13:59:21 -0300 |
commit | 04bbd0117174911a489ca7d2603c1e8717565405 (patch) | |
tree | aa655728e84a47cf6a6929ab2c232edd691ff60e /lparser.c | |
parent | 9ffae705ee8894d68bbc07a1a5f77a112c40efad (diff) | |
download | lua-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 | } |