summaryrefslogtreecommitdiff
path: root/language/l2_parse.ott
diff options
context:
space:
mode:
authorGabriel Kerneis2013-08-19 17:16:51 +0100
committerGabriel Kerneis2013-08-19 17:16:51 +0100
commit797cefdfd99d9b5ee4a1f619610b5bb52692f443 (patch)
tree1854bcf270587c8167d6fc3994ab028bfd9a9733 /language/l2_parse.ott
parent0372f89b3a4d805b3cfdb7910eb6206e1e2133a2 (diff)
language.ott: syntax for types in patterns
Diffstat (limited to 'language/l2_parse.ott')
-rw-r--r--language/l2_parse.ott2
1 files changed, 1 insertions, 1 deletions
diff --git a/language/l2_parse.ott b/language/l2_parse.ott
index 99465f65..20b6ef2b 100644
--- a/language/l2_parse.ott
+++ b/language/l2_parse.ott
@@ -521,7 +521,7 @@ pat :: 'P_' ::=
% | ( pat : typ ) :: :: typ
% {{ com Typed patterns }}
% C-style
- | ( atyp pat ) :: :: typ
+ | ( < atyp > pat ) :: :: typ
{{ com typed pattern }}
| id :: :: id