new operation *t (for size of t) (may yet be removed...)

This commit is contained in:
Roberto Ierusalimschy
2005-03-16 13:59:21 -03:00
parent 9ffae705ee
commit 04bbd01171
6 changed files with 47 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lcode.h,v 1.40 2004/10/04 19:01:53 roberto Exp roberto $
** $Id: lcode.h,v 1.41 2005/03/08 18:00:16 roberto Exp roberto $
** Code generator for Lua
** See Copyright Notice in lua.h
*/
@@ -34,7 +34,7 @@ typedef enum BinOpr {
#define binopistest(op) ((op) >= OPR_NE)
typedef enum UnOpr { OPR_MINUS, OPR_NOT, OPR_NOUNOPR } UnOpr;
typedef enum UnOpr { OPR_MINUS, OPR_NOT, OPR_SIZE, OPR_NOUNOPR } UnOpr;
#define getcode(fs,e) ((fs)->f->code[(e)->info])