mirror of
https://github.com/Zenithsiz/dcb.git
synced 2026-02-08 02:44:20 +00:00
Missing missing . in labels.
This commit is contained in:
parent
a892ad09f1
commit
650d1272a4
@ -136,7 +136,7 @@ fn main() -> Result<(), anyhow::Error> {
|
||||
fn inst_target<'a>(exe: &'a dcb_exe::Exe, func: &'a Func, pos: Pos) -> impl fmt::Display + 'a {
|
||||
dcb_util::DisplayWrapper::new(move |f| {
|
||||
if let Some(label) = func.labels.get(&pos) {
|
||||
return write!(f, "{}", label);
|
||||
return write!(f, ".{}", label);
|
||||
}
|
||||
|
||||
if let Some(func) = exe.func_table().get(pos) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user