commit 692537ecd044628cde7f9c3569ba80caa61efde8
parent 350c639d23dfa9865a4bb5023fae6b32d8a34213
Author: Brian Swetland <swetland@frotz.net>
Date: Fri, 20 Oct 2023 19:51:27 -0700
compiler0: fix >>= |=, etc lexing
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bootstrap/compiler0.c b/bootstrap/compiler0.c
@@ -810,7 +810,7 @@ token_t _next() {
}
// if we're an AddOp or MulOp, followed by an '='
- if (((tok & 0xF0) == 0x20) && (nc == '=')) {
+ if (((tok & 0xF0) == 0x10) && (nc == '=')) {
nc = scan();
// transform us to a XEQ operation
tok = tok + 0x10;