scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit 732ddd32abbd5cdd3bd7581c8be050871f44482f
parent 39b7bd0fe07005f621890f2a7601d3e38d367e7a
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 29 May 2012 21:26:22 +0200

Changed shift assign token names

RIGHT_ASSIGN and LEFT_ASSIGN were not very clear for >>= and <<=, so it is a
better name RSHIFT_ASSIGN and LSHIFT_ASSIGN, where it is implicit the
assignment meaning.

Diffstat:
tokens.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tokens.h b/tokens.h @@ -25,7 +25,7 @@ enum { IDENTIFIER = 128, CONSTANT, STRING_LITERAL, SIZEOF, PTR_OP, INC_OP, DEC_OP, LEFT_OP, RIGHT_OP, LE_OP, GE_OP, EQ_OP, NE_OP, AND_OP, OR_OP, MUL_ASSIGN, DIV_ASSIGN, MOD_ASSIGN, ADD_ASSIGN, - SUB_ASSIGN, LEFT_ASSIGN, RIGHT_ASSIGN, AND_ASSIGN, + SUB_ASSIGN, LSHIFT_ASSIGN, RSHIFT_ASSIGN, AND_ASSIGN, XOR_ASSIGN, OR_ASSIGN, TYPE_NAME, ELLIPSIS, CASE, DEFAULT, IF, ELSE, SWITCH, WHILE, DO, FOR, GOTO,