Skip to content

Commit 8406e94

Browse files
committed
Expression: add print function for STRING
1 parent b7ab09c commit 8406e94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Parsing/LexicalAnalyser.mll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
| BOOLEAN b -> print_string "BOOL("; print_string(string_of_bool b); print_string ")"
3636
| NULL -> print_string "NULL"
3737
| COMMA -> print_string "COMMA"
38+
| STRING s-> print_string "STRING("; print_string s; print_string ")";
3839

3940
(*Class print*)
4041
| CLASS -> print_string "CLASS"

0 commit comments

Comments
 (0)