diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2021-04-10 21:08:40 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2021-04-10 23:10:24 +0200 |
| commit | 5b9ea5dd1ec0467f759d51f080fec68b2788d909 (patch) | |
| tree | 89f6d2787cb1c60a4c823fabb505f3cdbbe195dc /lib/std/start.zig | |
| parent | ecd38c70cc0ce9173d7cd1d7e4cc146558e4f66a (diff) | |
| download | zig-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 'lib/std/start.zig')
0 files changed, 0 insertions, 0 deletions
