X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FScopeParser.vala;h=531b8538cff2192fcb4685bfc9d3bb2e138cc100;hp=b5bd3458c40596f8ac27c01d7bdb862550748205;hb=32210f938b140061c5af2ab70d6b0c009b723653;hpb=b382cf4083f175485cf8acf4eb62dbaf094b3d30 diff --git a/JSDOC/ScopeParser.vala b/JSDOC/ScopeParser.vala index b5bd345..531b853 100644 --- a/JSDOC/ScopeParser.vala +++ b/JSDOC/ScopeParser.vala @@ -937,6 +937,9 @@ namespace JSDOC { } token = this.ts.nextTok(); + if (token == null) { + return; + } //print('FUNC-BODY:' + JSON.stringify(token.items,null,4)); //Seed.quit(); //print(token.toString());