mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-13 23:48:02 -05:00
Use half indentation for labels
This commit is contained in:
@@ -142,7 +142,7 @@ impl std::fmt::Display for Function {
|
||||
for fn_line in &self.body {
|
||||
match fn_line {
|
||||
FnLine::Instruction(instruction) => write!(f, " {}\n", instruction)?,
|
||||
FnLine::Label(label) => write!(f, "{}\n", label)?,
|
||||
FnLine::Label(label) => write!(f, " {}\n", label)?,
|
||||
FnLine::Empty => write!(f, "\n")?,
|
||||
FnLine::Comment(message) => write!(f, " // {}\n", message)?,
|
||||
FnLine::Release(reg) => write!(f, " (release {})\n", reg)?,
|
||||
@@ -504,7 +504,7 @@ impl std::fmt::Display for Lazy {
|
||||
for fn_line in &self.body {
|
||||
match fn_line {
|
||||
FnLine::Instruction(instruction) => write!(f, " {}\n", instruction)?,
|
||||
FnLine::Label(label) => write!(f, "{}\n", label)?,
|
||||
FnLine::Label(label) => write!(f, " {}\n", label)?,
|
||||
FnLine::Empty => write!(f, "\n")?,
|
||||
FnLine::Comment(message) => write!(f, " // {}\n", message)?,
|
||||
FnLine::Release(reg) => write!(f, " (release {})\n", reg)?,
|
||||
|
||||
Reference in New Issue
Block a user