summaryrefslogtreecommitdiff
path: root/src/parse_ast.ml
diff options
context:
space:
mode:
authorJon French2018-04-23 16:04:37 +0100
committerJon French2018-05-01 16:54:54 +0100
commit14510c80fa9d105ab61f0ecfb96ea89f7edf6587 (patch)
treeeadaa120679f854bed4681a432058581aad7a129 /src/parse_ast.ml
parenta9c5ebc1c1c0943f48c31831f95dd4d1d61b8dc3 (diff)
start of string pattern matching: currently only literals
Diffstat (limited to 'src/parse_ast.ml')
-rw-r--r--src/parse_ast.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parse_ast.ml b/src/parse_ast.ml
index 635caa9c..f71498be 100644
--- a/src/parse_ast.ml
+++ b/src/parse_ast.ml
@@ -251,6 +251,7 @@ pat_aux = (* Pattern *)
| P_tup of (pat) list (* tuple pattern *)
| P_list of (pat) list (* list pattern *)
| P_cons of pat * pat (* cons pattern *)
+ | P_string_append of pat * pat (* string append pattern, x ^^ y *)
and pat =
P_aux of pat_aux * l