authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-08-06 02:17:39 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2021-08-06 02:17:39 -07:00
logfa5a5a7e22e2e873d88e7127a67e02668bb79ee0
treee511d66224398ac260e176859c41e49ee8dd5b53
parent564ac7158beaf3c6ace5ff795085d72a533b1915

change comment format from `#` to `//`


1 files changed, 1 insertions(+), 1 deletions(-)

src/tokenize.zig+1-1
......@@ -34,7 +34,7 @@ pub fn do(comptime input: string, comptime symbols: []const u8) []const Token {
3434
3535 blk: {
3636 if (mode == 0) {
37 if (c == '#') {
37 if (c == '/' and input[i + 1] == '/') {
3838 mode = 1;
3939 shouldFlush = false;
4040 break :blk;