X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FScopeParser.js;h=5b880456658ccdefc9a55cfbed3bfa4e52555141;hp=7f3864511bc08024b0872ce9015ea36f9e699001;hb=5ae181075fcbf2f6f909ffe0525f65069f7493f9;hpb=2dc85a1416c3105a7436bc00cdc27c54888125d1 diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 7f38645..5b88045 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -526,7 +526,7 @@ ScopeParser.prototype = { if (token.type != 'KEYW') { break; } - //print('SCOPE-KEYW:' + token.toString()); + print('SCOPE-KEYW:' + token.toString()); // print("Check eval:"); symbol = token.data; @@ -781,7 +781,7 @@ ScopeParser.prototype = { symbol = token.data; if (this.mode == 'BUILDING_SYMBOL_TREE') { - if (symbol == "eval") { + if (token.name == "EVAL") { print(JSON.stringify(token,null,4)); if (token.prefix && token.prefix.match('/eval/')) { // look for eval:var:noreplace\n