X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FScopeParser.js;h=551a60a0c0814992a099c432c438e147b3f1f3ce;hp=634ec7e58d8c04ea7808670fec4f69f2b1a21383;hb=b40d5eeb44230d188aebc15a0b501e955522fd47;hpb=9ddb42b3b815b1e84b79685d784338abd9d2c05e diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 634ec7e..551a60a 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:var:/g)) { // 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);