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