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 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 ;