mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-28 09:23:18 -06:00
fix compiling PTilde patterns
This commit is contained in:
1 parent
f5fe93450d
commit
d03f7239e6
1 file changed
+1
-1
@@ -53,7 +53,7 @@ compileEquations gr arity st (i:is) eqs fl bs = whilePP eqs Map.empty
|
|||||||
whilePV ((vs, PV x : ps, t):eqs) vrs
|
whilePV ((vs, PV x : ps, t):eqs) vrs
|
||||||
| x == identW = whilePV eqs (( vs,ps,t) : vrs)
|
| x == identW = whilePV eqs (( vs,ps,t) : vrs)
|
||||||
| otherwise = whilePV eqs (((x,i):vs,ps,t) : vrs)
|
| otherwise = whilePV eqs (((x,i):vs,ps,t) : vrs)
|
||||||
whilePV ((vs, PTilde _ : ps, t):eqs) vrs = whilePV eqs (( vs,ps,t) : vrs)
|
whilePV ((vs, PTilde _ : ps, t):eqs) vrs = whilePV ((vs,ps,t) : eqs) vrs
|
||||||
whilePV ((vs, PImplArg p:ps, t):eqs) vrs = whilePV ((vs,p:ps,t):eqs) vrs
|
whilePV ((vs, PImplArg p:ps, t):eqs) vrs = whilePV ((vs,p:ps,t):eqs) vrs
|
||||||
whilePV ((vs, PT _ p : ps, t):eqs) vrs = whilePV ((vs,p:ps,t):eqs) vrs
|
whilePV ((vs, PT _ p : ps, t):eqs) vrs = whilePV ((vs,p:ps,t):eqs) vrs
|
||||||
whilePV eqs vrs = let fl1 = Just (st,length bs1)
|
whilePV eqs vrs = let fl1 = Just (st,length bs1)
|
||||||
|
|||||||
Reference in new issue
Block a user