diff options
Diffstat (limited to 'lparser.c')
-rw-r--r-- | lparser.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.c,v 2.48 2006/09/14 18:42:28 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 2.49 2006/10/24 13:31:48 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 | */ |
@@ -820,7 +820,7 @@ static const struct { | |||
820 | lu_byte left; /* left priority for each binary operator */ | 820 | lu_byte left; /* left priority for each binary operator */ |
821 | lu_byte right; /* right priority */ | 821 | lu_byte right; /* right priority */ |
822 | } priority[] = { /* ORDER OPR */ | 822 | } priority[] = { /* ORDER OPR */ |
823 | {6, 6}, {6, 6}, {7, 7}, {7, 7}, {7, 7}, /* `+' `-' `/' `%' */ | 823 | {6, 6}, {6, 6}, {7, 7}, {7, 7}, {7, 7}, /* `+' `-' `*' `/' `%' */ |
824 | {10, 9}, {5, 4}, /* power and concat (right associative) */ | 824 | {10, 9}, {5, 4}, /* power and concat (right associative) */ |
825 | {3, 3}, {3, 3}, /* equality and inequality */ | 825 | {3, 3}, {3, 3}, /* equality and inequality */ |
826 | {3, 3}, {3, 3}, {3, 3}, {3, 3}, /* order */ | 826 | {3, 3}, {3, 3}, {3, 3}, {3, 3}, /* order */ |