|
@@ -642,9 +642,9 @@ var configuratorApp = (function(){
|
642
|
642
|
var r, s;
|
643
|
643
|
findDef = new RegExp('(([ \\t]*(//|#)[^\n]+\n){1,4})([ \\t]*\n){0,1}' + info.line, 'g');
|
644
|
644
|
if (r = findDef.exec(txt)) {
|
645
|
|
- findDef = new RegExp('^[ \\t]*(//+[ \\t]*.*)[ \\t]*$', 'gm');
|
|
645
|
+ findDef = new RegExp('^[ \\t]*//+[ \\t]*(.*)[ \\t]*$', 'gm');
|
646
|
646
|
while((s = findDef.exec(r[1])) !== null) {
|
647
|
|
- if (s[1].match(/^\/\/[ \\t]*#define[ \\t]/) != null) {
|
|
647
|
+ if (s[1].match(/^#define[ \\t]/) != null) {
|
648
|
648
|
comment = '';
|
649
|
649
|
break;
|
650
|
650
|
}
|