JSDOC/TokenReader.js
[gnome.introspection-doc-generator] / JSDOC / ScopeParser.vala
index b5bd345..531b853 100644 (file)
@@ -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());