summaryrefslogtreecommitdiff
path: root/lexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'lexer.h')
-rw-r--r--lexer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lexer.h b/lexer.h
index 8775187..5096f74 100644
--- a/lexer.h
+++ b/lexer.h
@@ -18,6 +18,7 @@ static uint8_t isdelm2(char c, uint8_t dbg) {
case ',' :
case '.' :
case '+' :
+ case '*' :
case '<' :
case '|' :
case '>' :
@@ -40,6 +41,7 @@ static uint8_t get_ptok(char c, uint8_t dbg) {
case '=' : return PTOK_EQU ;
case '+' : return PTOK_PLUS ;
case '-' : return PTOK_MINUS ;
+ case '*' : return PTOK_ASTRSK ;
case '>' : return PTOK_GT ;
case '<' : return PTOK_LT ;
case '|' : return PTOK_PIPE ;