X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FScopeParser.js;h=bc630740c42ebd8be150d38dc17be978f0f587f6;hp=634ec7e58d8c04ea7808670fec4f69f2b1a21383;hb=ef55015b78daa5a5284b3053c557d08c65d2828c;hpb=9ddb42b3b815b1e84b79685d784338abd9d2c05e diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 634ec7e..bc63074 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -787,12 +787,12 @@ ScopeParser.prototype = { if (token.name == "EVAL") { print(JSON.stringify(token,null,4)); - if (token.prefix && token.prefix.match(/eval/)) { + if (token.prefix && token.prefix.match(/eval:/)) { // look for eval:var:noreplace\n var _t = this; token.prefix.replace(/eval:var:([a-z]+)/ig, function(m, a) { - print(a); + print("PROTECT: " + a); var hi = _t.getIdentifier(a, currentScope, token);