aboutsummaryrefslogtreecommitdiff
path: root/frontend/syntax.dcl
diff options
context:
space:
mode:
authorjohnvg2015-12-02 14:09:54 +0000
committerjohnvg2015-12-02 14:09:54 +0000
commitde59be2481025376467f0712dde5b8bf1468dd50 (patch)
tree304ccf0bc2e4c5146826556bd199d2988229c005 /frontend/syntax.dcl
parentonly allow infix constructor with arity 2, otherwise the compiler may crash w... (diff)
allow # and | in \ expressions
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@2671 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/syntax.dcl')
-rw-r--r--frontend/syntax.dcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/syntax.dcl b/frontend/syntax.dcl
index 139f869..a64a78d 100644
--- a/frontend/syntax.dcl
+++ b/frontend/syntax.dcl
@@ -1281,7 +1281,7 @@ instance toString KindInfo
| PE_Ident !Ident
| PE_Basic !BasicValue
| PE_Bound !BoundExpr
- | PE_Lambda !Ident ![ParsedExpr] !ParsedExpr !Position
+ | PE_Lambda !Ident ![ParsedExpr] !Rhs !Position
| PE_Tuple ![ParsedExpr]
| PE_Record !ParsedExpr !OptionalRecordName ![FieldAssignment]
| PE_ArrayPattern ![ElemAssignment]