summaryrefslogtreecommitdiff
path: root/src/parser.mly
diff options
context:
space:
mode:
authorGabriel Kerneis2014-05-12 16:42:25 +0100
committerGabriel Kerneis2014-05-12 16:45:54 +0100
commit3a1b6cd41bcfeea475c7a24693b98633dda03b75 (patch)
treeb80443d94a38a9dcc93548ed8e4bc44c706d2337 /src/parser.mly
parentea256f57cf0f0907b5dbf73cefcb33c6cf84db63 (diff)
Avoid pattern-matching warnings in pretty-printer
Diffstat (limited to 'src/parser.mly')
-rw-r--r--src/parser.mly1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.mly b/src/parser.mly
index 3c3cf8e0..52c8141f 100644
--- a/src/parser.mly
+++ b/src/parser.mly
@@ -386,6 +386,7 @@ exp_typ:
| TwoStarStar nexp_typ
{ tloc (ATyp_exp($2)) }
+/* this is wrong - for instance, 2** 3 + 5 is parsed as 2** (3+5) */
nexp_typ:
| exp_typ
{ $1 }