mirror of
https://github.com/github/semantic.git
synced 2024-11-25 02:58:36 +03:00
Correct Syntax.Leaf construction.
This commit is contained in:
parent
96675b4de6
commit
b42d5238d1
@ -144,7 +144,7 @@
|
||||
function Syntax(json, continuation) {
|
||||
if (json.indexed != null) { this.indexed = json.indexed.map(continuation); }
|
||||
if (json.keyed != null) { this.keyed = (new Dictionary(json.keyed)).map(continuation); }
|
||||
if (json.leaf != null) { this.leaf = json; }
|
||||
if (json.leaf != null) { this.leaf = json.leaf; }
|
||||
return this;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user