summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
Diffstat (limited to 'mi')
-rw-r--r--mi/match.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mi/match.c b/mi/match.c
index afd3e46..e3855e0 100644
--- a/mi/match.c
+++ b/mi/match.c
@@ -464,8 +464,8 @@ addrec(Frontier *fs, Node *pat, Node *val, Path *path)
next->hasorpat = 1;
fs->next = next;
fs->hasorpat = 1;
- addrec(fs, pat->expr.args[1], val, path);
- addrec(next, pat->expr.args[0], val, path);
+ addrec(fs, pat->expr.args[0], val, path);
+ addrec(next, pat->expr.args[1], val, path);
break;
case Ogap:
lappend(&fs->slot, &fs->nslot, mkslot(path, pat, val));