From: Alan Knowles Date: Fri, 16 Jul 2010 05:59:04 +0000 (+0800) Subject: JSDOC/ScopeParser.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=b40d5eeb44230d188aebc15a0b501e955522fd47;ds=sidebyside JSDOC/ScopeParser.js --- diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 9e93c77..551a60a 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -787,7 +787,7 @@ ScopeParser.prototype = { if (token.name == "EVAL") { print(JSON.stringify(token,null,4)); - if (token.prefix && token.prefix.match(/eval:var:/)) { + 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) {