diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-20 15:15:33 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-20 15:15:33 -0300 |
commit | 099442c41f2cec6122690e6c8f2e11327613e6f6 (patch) | |
tree | 73599b274ea4a9b96906ff8160eeb4a524702a8e /lparser.c | |
parent | 27600fe87a6fafdfd4ddddeb390591fe749b480f (diff) | |
download | lua-099442c41f2cec6122690e6c8f2e11327613e6f6.tar.gz lua-099442c41f2cec6122690e6c8f2e11327613e6f6.tar.bz2 lua-099442c41f2cec6122690e6c8f2e11327613e6f6.zip |
better separation between basic types
Diffstat (limited to 'lparser.c')
-rw-r--r-- | lparser.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.c,v 1.133 2001/02/14 17:19:28 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 1.134 2001/02/14 17:38:45 roberto Exp roberto $ |
3 | ** LL(1) Parser and code generator for Lua | 3 | ** LL(1) Parser and code generator for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -690,8 +690,8 @@ static BinOpr getbinopr (int op) { | |||
690 | 690 | ||
691 | 691 | ||
692 | static const struct { | 692 | static const struct { |
693 | unsigned char left; /* left priority for each binary operator */ | 693 | lu_byte left; /* left priority for each binary operator */ |
694 | unsigned char right; /* right priority */ | 694 | lu_byte right; /* right priority */ |
695 | } priority[] = { /* ORDER OPR */ | 695 | } priority[] = { /* ORDER OPR */ |
696 | {5, 5}, {5, 5}, {6, 6}, {6, 6}, /* arithmetic */ | 696 | {5, 5}, {5, 5}, {6, 6}, {6, 6}, /* arithmetic */ |
697 | {9, 8}, {4, 3}, /* power and concat (right associative) */ | 697 | {9, 8}, {4, 3}, /* power and concat (right associative) */ |