aboutsummaryrefslogtreecommitdiff
path: root/src/windows_sdk.cpp
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2021-04-10 21:08:40 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2021-04-10 23:10:24 +0200
commit5b9ea5dd1ec0467f759d51f080fec68b2788d909 (patch)
tree89f6d2787cb1c60a4c823fabb505f3cdbbe195dc /src/windows_sdk.cpp
parentecd38c70cc0ce9173d7cd1d7e4cc146558e4f66a (diff)
downloadzig-5b9ea5dd1ec0467f759d51f080fec68b2788d909.tar.gz
zig-5b9ea5dd1ec0467f759d51f080fec68b2788d909.zip
zig fmt: fix line comment detection
Previously hasComment() would consider a string literal "//" to be a line comment. Fix this by only searching the bytes between tokens.
Diffstat (limited to 'src/windows_sdk.cpp')
0 files changed, 0 insertions, 0 deletions