From: Alan Knowles Date: Fri, 16 Jul 2010 05:57:20 +0000 (+0800) Subject: JSDOC/ScopeParser.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=0a9f2a831d9568700ed000004d71cb8199e1f7c7 JSDOC/ScopeParser.js --- diff --git a/JSDOC/ScopeParser.js b/JSDOC/ScopeParser.js index 09f4132..c993be7 100644 --- a/JSDOC/ScopeParser.js +++ b/JSDOC/ScopeParser.js @@ -538,7 +538,7 @@ ScopeParser.prototype = { print(JSON.stringify(token, null,4)); // look back one and see if we can find a comment!!! //if (this.ts.look(-1).type == "COMM") { - 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) {