mirror of
https://github.com/github/semantic.git
synced 2024-11-25 11:04:00 +03:00
Recur through replacements.
This commit is contained in:
parent
6c1b0c0fa6
commit
90ae03f234
@ -64,7 +64,10 @@
|
||||
// fixme: handle annotated terms
|
||||
if (patch.delete != null) { return term(patch.delete, before); }
|
||||
if (patch.insert != null) { return term(patch.insert, after); }
|
||||
if (patch.replace != null) {}
|
||||
if (patch.replace != null) {
|
||||
if (term.patch.before != null) { term(patch.replace.before); }
|
||||
if (term.patch.after != null) { term(patch.replace.after); }
|
||||
}
|
||||
}
|
||||
|
||||
function indexed(array, continuation) {
|
||||
|
Loading…
Reference in New Issue
Block a user