Fix computation of following tokens

This commit is contained in:
Max Brunsfeld 2019-01-18 15:13:13 -08:00
parent 31bdf5eb97
commit ff41f05a20
5 changed files with 125 additions and 36 deletions

View file

@ -81,7 +81,7 @@ pub(crate) struct ExternalToken {
pub corresponding_internal_token: Option<Symbol>,
}
#[derive(Debug)]
#[derive(Debug, Default)]
pub(crate) struct SyntaxGrammar {
pub variables: Vec<SyntaxVariable>,
pub extra_tokens: Vec<Symbol>,