JSDOC/ScopeParser.js
[gnome.introspection-doc-generator] / JSDOC / ScopeParser.js
index 7c30745..d3daaed 100644 (file)
@@ -533,9 +533,9 @@ ScopeParser.prototype = {
                     
                      if (this.mode == 'BUILDING_SYMBOL_TREE') {
 
-                        if (symbol == "eval") {
+                        if (token.name == "EVAL") {
                             
-                            seed.print(JSON.stringify(token, null,4));
+                            print(JSON.stringify(token, null,4));
                             // look back one and see if we can find a comment!!!
                             //if (this.ts.look(-1).type == "COMM") {
                             if (token.prefix && token.prefix.match('/eval/')) {