summaryrefslogtreecommitdiff
path: root/src/urweb.grm
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-11-08 13:15:00 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-11-08 13:15:00 -0500
commit901b6d55e625be136ddd677a3d8a36e5068de2ae (patch)
treee8e154d621a2dcea385de57280730d135b25466e /src/urweb.grm
parent91ac4dd03f4130e5e416d495d53237b74a37efc1 (diff)
Some small changes while failing to write [restrict]
Diffstat (limited to 'src/urweb.grm')
-rw-r--r--src/urweb.grm16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/urweb.grm b/src/urweb.grm
index f344633d..5241ed20 100644
--- a/src/urweb.grm
+++ b/src/urweb.grm
@@ -625,11 +625,11 @@ cargp : SYMBOL (fn (c, k) =>
((CAbs (SYMBOL, SOME kind, c), loc),
(KArrow (kind, k), loc))
end)
- | LBRACK cterm TWIDDLE cterm RBRACK (fn (c, k) =>
+ | LBRACK cexp TWIDDLE cexp RBRACK (fn (c, k) =>
let
val loc = s (LBRACKleft, RBRACKright)
in
- ((CDisjoint (cterm1, cterm2, c), loc),
+ ((CDisjoint (cexp1, cexp2, c), loc),
k)
end)
@@ -810,19 +810,19 @@ eargp : SYMBOL (fn (e, t) =>
((EAbs ("_", SOME cexp, e), loc),
(TFun (cexp, t), loc))
end)
- | LPAREN cterm TWIDDLE cterm RPAREN(fn (e, t) =>
+ | LPAREN cexp TWIDDLE cexp RPAREN (fn (e, t) =>
let
val loc = s (LPARENleft, RPARENright)
in
- ((EDisjoint (cterm1, cterm2, e), loc),
- (CDisjoint (cterm1, cterm2, t), loc))
+ ((EDisjoint (cexp1, cexp2, e), loc),
+ (CDisjoint (cexp1, cexp2, t), loc))
end)
- | LBRACK cterm TWIDDLE cterm RBRACK(fn (e, t) =>
+ | LBRACK cexp TWIDDLE cexp RBRACK(fn (e, t) =>
let
val loc = s (LBRACKleft, RBRACKright)
in
- ((EDisjoint (cterm1, cterm2, e), loc),
- (CDisjoint (cterm1, cterm2, t), loc))
+ ((EDisjoint (cexp1, cexp2, e), loc),
+ (CDisjoint (cexp1, cexp2, t), loc))
end)
eterm : LPAREN eexp RPAREN (#1 eexp, s (LPARENleft, RPARENright))