mirror of
https://github.com/lua/lua
synced 2024-12-24 19:36:50 +03:00
syntax for length changed from '*' to '#'
This commit is contained in:
parent
0d1685d751
commit
0b71bfd6af
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
** $Id: lparser.c,v 2.28 2005/05/20 15:53:42 roberto Exp roberto $
|
** $Id: lparser.c,v 2.29 2005/06/13 14:15:54 roberto Exp roberto $
|
||||||
** Lua Parser
|
** Lua Parser
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
@ -795,7 +795,7 @@ static UnOpr getunopr (int op) {
|
|||||||
switch (op) {
|
switch (op) {
|
||||||
case TK_NOT: return OPR_NOT;
|
case TK_NOT: return OPR_NOT;
|
||||||
case '-': return OPR_MINUS;
|
case '-': return OPR_MINUS;
|
||||||
case '*': return OPR_LEN;
|
case '#': return OPR_LEN;
|
||||||
default: return OPR_NOUNOPR;
|
default: return OPR_NOUNOPR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user