builtin: add parenthesis around frame_addr as a workaround

pull/4727/head
Ned Palacios 2020-05-05 13:35:26 +08:00 committed by GitHub
parent 5a9a102491
commit 507e457c0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ $if msvc {
lineinfo = '${file_name}:${sline64.f_line_number}'
} else {
addr :
lineinfo = '?? : address = 0x${&frame_addr:x}'
lineinfo = '?? : address = 0x${(&frame_addr):x}'
}
sfunc := tos3(fname)
eprintln('${nframe:-2d}: ${sfunc:-25s} $lineinfo')