mirror of
https://github.com/github/semantic.git
synced 2024-11-25 11:04:00 +03:00
Construct new terms.
This commit is contained in:
parent
ebd101b22f
commit
17877c7f36
@ -75,7 +75,7 @@
|
||||
function term(term, a, b) {
|
||||
if (term.extract == null || term.unwrap == null) { return null; }
|
||||
|
||||
return syntax(term.unwrap, a, b, term);
|
||||
return new Term(term.extract, syntax(term.unwrap, a, b, term));
|
||||
}
|
||||
|
||||
function patch(patch, a, b) {
|
||||
|
Loading…
Reference in New Issue
Block a user