X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FScopeParser.js;h=09f4132b19fe3cb113b59a03253999f52468dac4;hp=4c10cdb022133e809d6fc4c69c7185da7f054388;hb=e828a261e045fb6258ac61aaa940ef39d1aa8a8a;hpb=bdccec2ae09b452ef11a77cc4c88ff2797ca987e diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 4c10cdb..09f4132 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -526,14 +526,16 @@ ScopeParser.prototype = { if (token.type != 'KEYW') { break; } - print('SCOPE-KEYW:' + token.toString()); + print('SCOPE-KEYW:' + token.toString()); // print("Check eval:"); symbol = token.data; if (this.mode == 'BUILDING_SYMBOL_TREE') { - if (symbol == "eval") { + if (token.name == "EVAL") { + + 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/')) {