Added missing mut
This commit is contained in:
parent
902d8b914c
commit
1f78cb0ee1
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue