mirror of
https://github.com/powdr-labs/powdr.git
synced 2026-04-20 03:03:25 -04:00
Merge pull request #854 from powdr-labs/fix_public_parsing
Fix public parsing and labels.
This commit is contained in:
@@ -140,7 +140,7 @@ impl<T: Display> Display for Return<T> {
|
||||
|
||||
impl Display for LabelStatement {
|
||||
fn fmt(&self, f: &mut Formatter<'_>) -> Result {
|
||||
write!(f, "{}::", self.name)
|
||||
write!(f, "{}:", self.name)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -214,7 +214,7 @@ impl<T: Display> Display for FunctionStatement<T> {
|
||||
format!(" {}", inputs.iter().format(", "))
|
||||
}
|
||||
),
|
||||
FunctionStatement::Label(_, name) => write!(f, "{name}::"),
|
||||
FunctionStatement::Label(_, name) => write!(f, "{name}:"),
|
||||
FunctionStatement::DebugDirective(_, dir) => write!(f, "{dir}"),
|
||||
FunctionStatement::Return(_, values) => write!(
|
||||
f,
|
||||
|
||||
Reference in New Issue
Block a user