aboutsummaryrefslogtreecommitdiff
path: root/lparser.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-02-20 15:15:33 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-02-20 15:15:33 -0300
commit099442c41f2cec6122690e6c8f2e11327613e6f6 (patch)
tree73599b274ea4a9b96906ff8160eeb4a524702a8e /lparser.c
parent27600fe87a6fafdfd4ddddeb390591fe749b480f (diff)
downloadlua-099442c41f2cec6122690e6c8f2e11327613e6f6.tar.gz
lua-099442c41f2cec6122690e6c8f2e11327613e6f6.tar.bz2
lua-099442c41f2cec6122690e6c8f2e11327613e6f6.zip
better separation between basic types
Diffstat (limited to 'lparser.c')
-rw-r--r--lparser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lparser.c b/lparser.c
index d4cbf181..be917924 100644
--- a/lparser.c
+++ b/lparser.c
@@ -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
692static const struct { 692static 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) */