Added missing mut

This commit is contained in:
Erin 2021-06-07 22:24:43 +02:00 committed by ondra05
parent 7b1546387e
commit 99ebd71dac

View file

@ -39,7 +39,7 @@ impl<'source> Parser<'source> {
// T-Dark block (replace `lang` with `script`) // T-Dark block (replace `lang` with `script`)
Token::TDark => { Token::TDark => {
self.tdark = true; self.tdark = true;
let block = self.get_block()?; let mut block = self.get_block()?;
ast.append(&mut block.block); ast.append(&mut block.block);
self.tdark = false; self.tdark = false;
} }