From 0a9f2a831d9568700ed000004d71cb8199e1f7c7 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 16 Jul 2010 13:57:20 +0800 Subject: [PATCH] JSDOC/ScopeParser.js --- JSDOC/ScopeParser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.2