Add spans to all commands

This commit is contained in:
Joscha 2022-01-09 15:05:50 +01:00
parent e0b6c839e2
commit b430f1594f
6 changed files with 23 additions and 21 deletions

View file

@ -355,7 +355,7 @@ pub enum Command {
#[derive(Debug)]
pub struct File {
pub contents: String,
pub commands: Vec<Command>,
pub commands: Vec<Spanned<Command>>,
}
impl File {