fix: inherited grammar generation
This commit is contained in:
parent
77d7843b7b
commit
3d68ca4583
1 changed files with 2 additions and 0 deletions
|
|
@ -229,6 +229,8 @@ function grammar(baseGrammar, options) {
|
|||
supertypes: [],
|
||||
precedences: [],
|
||||
};
|
||||
} else {
|
||||
baseGrammar = baseGrammar.grammar;
|
||||
}
|
||||
|
||||
let externals = baseGrammar.externals;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue