more comparison operators
This commit is contained in:
parent
0e25f627a8
commit
a90a01bc28
|
|
@ -461,6 +461,14 @@ parse_binary_expr:
|
|||
cmove bx, word [rel PRECEDENCE_EQ]
|
||||
cmp al, TOKEN_BANGEQ
|
||||
cmove bx, word [rel PRECEDENCE_EQ]
|
||||
cmp al, TOKEN_LT
|
||||
cmove bx, word [rel PRECEDENCE_CMP]
|
||||
cmp al, TOKEN_LTEQ
|
||||
cmove bx, word [rel PRECEDENCE_CMP]
|
||||
cmp al, TOKEN_GT
|
||||
cmove bx, word [rel PRECEDENCE_CMP]
|
||||
cmp al, TOKEN_GTEQ
|
||||
cmove bx, word [rel PRECEDENCE_CMP]
|
||||
cmp bx, -1
|
||||
je .done
|
||||
mov byte [rsp + 18], bl
|
||||
|
|
|
|||
Loading…
Reference in a new issue