- if (c == '[') throw this.ex("parser.cc.6", this.offset-2);
- if (c == ']') throw this.ex("parser.cc.7", this.offset-2);
- if (c == '-' && this.chardata != ']' && !firstloop) throw this.ex("parser.cc.8", this.offset-2); // if regex = '[-]' then invalid
+ if (c == '[') {
+ throw this.ex("parser.cc.6", this.offset-2);
+ }
+ if (c == ']') {
+ throw this.ex("parser.cc.7", this.offset-2);
+ }
+ if (c == '-' && this.chardata != ']' && !firstloop)
+ {
+ throw this.ex("parser.cc.8", this.offset-2); // if regex = '[-]' then invalid
+ }