parserlib actions are void
This commit is contained in:
parent
0a4f0663d0
commit
65905edec9
|
@ -3889,8 +3889,11 @@ self.parserlib = (() => {
|
||||||
|
|
||||||
for (;; stream.skipComment()) {
|
for (;; stream.skipComment()) {
|
||||||
const action = Parser.ACTIONS.supports.get(stream.peek());
|
const action = Parser.ACTIONS.supports.get(stream.peek());
|
||||||
if (action && action.call(this)) continue;
|
if (action) {
|
||||||
if (!this._ruleset()) break;
|
action.call(this);
|
||||||
|
} else if (!this._ruleset()) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stream.mustMatch(Tokens.RBRACE);
|
stream.mustMatch(Tokens.RBRACE);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user