mirror of
https://github.com/ManchildProductions/UXP-Fixed.git
synced 2026-07-21 03:48:43 +00:00
Merge pull request #319 from janekptacijarabaci/debug_warning_1
moebius#146: Building with "--enable-debug" - fix some warnings
This commit is contained in:
@@ -77,7 +77,8 @@
|
||||
}
|
||||
},
|
||||
word: function(re) {
|
||||
var word = "", ch, re = re || /[\w$]/;
|
||||
var word = "", ch;
|
||||
re = re || /[\w$]/;
|
||||
while ((ch = this.spec.charAt(this.pos)) && re.test(ch)) { word += ch; ++this.pos; }
|
||||
return word;
|
||||
},
|
||||
@@ -187,7 +188,7 @@
|
||||
if (top && this.forceNew) return new infer.Obj(base);
|
||||
return infer.getInstance(base);
|
||||
} else if (this.eat(":")) {
|
||||
var name = this.word(/[\w$\.]/)
|
||||
name = this.word(/[\w$\.]/)
|
||||
return infer.getSymbol(name)
|
||||
} else if (comp && this.eat("!")) {
|
||||
var arg = this.word(/\d/);
|
||||
|
||||
Reference in New Issue
Block a user