mirror of
https://github.com/github/semantic.git
synced 2024-12-26 08:25:19 +03:00
Correct Syntax.Indexed construction.
This commit is contained in:
parent
4a9ff5118a
commit
96675b4de6
@ -142,7 +142,7 @@
|
||||
}
|
||||
|
||||
function Syntax(json, continuation) {
|
||||
if (json.indexed != null) { this.indexed = json.map(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; }
|
||||
return this;
|
||||
|
Loading…
Reference in New Issue
Block a user