From 2b03202a30e9da09bfc5c0d382b1f5d2287287a4 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Sun, 9 Aug 2020 17:52:46 -0400 Subject: Added the bitwise OR, left shift, and right shift expressions to the emulator's assembler. --- lexer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lexer.h') diff --git a/lexer.h b/lexer.h index 225a5e5..3a9951e 100644 --- a/lexer.h +++ b/lexer.h @@ -19,6 +19,7 @@ static inline uint8_t isdelm2(char c, uint8_t dbg) { case '.' : case '+' : case '<' : + case '|' : case '>' : case '-' : case ':' : @@ -41,6 +42,7 @@ static inline uint8_t get_ptok(char c, uint8_t dbg) { case '-' : return PTOK_MINUS ; case '>' : return PTOK_GT ; case '<' : return PTOK_LT ; + case '|' : return PTOK_PIPE ; case '(' : return PTOK_LBRACK ; case ')' : return PTOK_RBRACK ; case ',' : return PTOK_COMMA ; -- cgit v1.2.3-13-gbd6f