summaryrefslogtreecommitdiff
path: root/src/urweb.grm
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2013-08-19 12:25:32 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2013-08-19 12:25:32 -0400
commitf718e640c3cbe6a891519364992117f49ca333fa (patch)
treeb7581cc191267590b2ee407d91161bd2950e3604 /src/urweb.grm
parent42fab45125992244c499ec5ac64e0376109bd4cb (diff)
Allow [where con] to descend within submodule structure; open submodule constraints while checking later signature items
Diffstat (limited to 'src/urweb.grm')
-rw-r--r--src/urweb.grm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/urweb.grm b/src/urweb.grm
index c2a48742..29019649 100644
--- a/src/urweb.grm
+++ b/src/urweb.grm
@@ -802,8 +802,8 @@ sgntm : SIG sgis END (SgnConst sgis, s (SIGleft, ENDright))
List.take (ms, length ms - 1),
List.nth (ms, length ms - 1)),
s (mpathleft, mpathright))
- | sgntm WHERE CON SYMBOL EQ cexp (SgnWhere (sgntm, SYMBOL, cexp), s (sgntmleft, cexpright))
- | sgntm WHERE LTYPE SYMBOL EQ cexp(SgnWhere (sgntm, SYMBOL, cexp), s (sgntmleft, cexpright))
+ | sgntm WHERE CON path EQ cexp (SgnWhere (sgntm, #1 path, #2 path, cexp), s (sgntmleft, cexpright))
+ | sgntm WHERE LTYPE path EQ cexp (SgnWhere (sgntm, #1 path, #2 path, cexp), s (sgntmleft, cexpright))
| LPAREN sgn RPAREN (sgn)
cexpO : (NONE)