We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 480ab14 commit 669a209Copy full SHA for 669a209
source/ddox/parsers/jsonparser.d
@@ -448,7 +448,7 @@ private struct Parser
448
tokens.popFront();
449
del(CachedString("@"~tokens.front));
450
451
- } else if( keywords.countUntil(tokens[0]) >= 0 && tokens[1] != "(" ){
+ } else if( keywords.countUntil(tokens[0]) >= 0 && tokens.length > 1 && tokens[1] != "(" ){
452
del(CachedString(tokens.front));
453
454
} else break;
0 commit comments