/sys/lib/acid/port: make line() also print the line number
This commit is contained in:
parent
2fda77e404
commit
f308677510
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ defn line(addr)
|
|||
return {};
|
||||
}
|
||||
line = pcline(addr)-1;
|
||||
print(file, ":", src[line], "\n");
|
||||
print(file, ":", line+1, ":", src[line], "\n");
|
||||
}
|
||||
|
||||
defn addsrcdir(dir)
|
||||
|
|
Loading…
Reference in a new issue