JSDOC/ScopeParser.js
[gnome.introspection-doc-generator] / JSDOC / ScopeParser.js
index 9e93c77..cf44510 100644 (file)
@@ -787,8 +787,9 @@ 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
+                                print("GOT MATCH?");
                                 var _t = this;
                                 token.prefix.replace(/eval:var:([a-z]+)/ig, function(m, a) {