aboutsummaryrefslogtreecommitdiff
path: root/src/c_tokenizer.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-05-08 19:11:01 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-05-08 19:11:01 -0400
commit9c12237d2d0643fcf34ad6d027ce78d285e40271 (patch)
tree096fae1dbd0205141ac44491bb20ad00ffbfe098 /src/c_tokenizer.cpp
parenta4aee8b24d321aa4c7a791d20500e5847a08b587 (diff)
downloadzig-9c12237d2d0643fcf34ad6d027ce78d285e40271.tar.gz
zig-9c12237d2d0643fcf34ad6d027ce78d285e40271.zip
std.debug: fix stack trace iteration code
Previously, the stack trace iteration code was using the number of frames collected as the number of frames to print, not recognizing the fixed size of the buffer. So it would redundantly print items, matching the total number of frames ever collected. Now the iteration code is limited to the actual stack trace frame count, and will not print duplicate frames. Closes #2447 Closes #2151
Diffstat (limited to 'src/c_tokenizer.cpp')
0 files changed, 0 insertions, 0 deletions