# tokenizer: detect null as non-first byte of a line comment · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/841b38aae8913972d12b08cf3e0e497be305efb1)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 841b38aae8913972d12b08cf3e0e497be305efb1

Requested commit: 841b38aae8913972d12b08cf3e0e497be305efb1

Commit: 841b38aae8913972d12b08cf3e0e497be305efb1

Tree: 67e2ae4b70664b16c5504f2ae6ed0123191a8dfc

Author: Veikka Tuominen

Committer: Veikka Tuominen

## Message

```
tokenizer: detect null as non-first byte of a line comment

Line comments do not produce actual tokens so they need special
handling for null bytes.

Closes #14346

```

## Parents

- [fc066992d912186da08ac9250b3772103aafbbe8](https://git.cafe/gitcafe/zig/commit/fc066992d912186da08ac9250b3772103aafbbe8?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/841b38aae8913972d12b08cf3e0e497be305efb1?format=markdown)
