This commit is contained in:
Mikkel Hjortshoej
2020-07-02 16:13:49 +02:00
parent 83f553cd89
commit d749f5c704

View File

@@ -135,7 +135,7 @@ do_location_header :: proc(opts: Options, buf: ^strings.Builder, location := #ca
}
if .Procedure in opts {
if (Location_File_Opts | {.Procedure}) & opts != nil {
if (Location_File_Opts | {.Line}) & opts != nil {
fmt.sbprint(buf, ":");
}
fmt.sbprintf(buf, "%s()", location.procedure);