diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2020-08-09 17:52:46 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2020-08-09 17:52:46 -0400 |
commit | 2b03202a30e9da09bfc5c0d382b1f5d2287287a4 (patch) | |
tree | 6b918e0f2eee2b56e07a95d8b8397143d24f9106 /lexer.h | |
parent | f16af793a58a9f398fc598a0c129e3bb90eb61f6 (diff) |
Added the bitwise OR, left shift, and right shift
expressions to the emulator's assembler.
Diffstat (limited to 'lexer.h')
-rw-r--r-- | lexer.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 ; |