# minor fixes and more tests for \_ separators · gitcafe/zig

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

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

Visibility: public

Requested revision: 2d18178c27060ff9b9b4a5b56941617dc47868d0

Requested commit: 2d18178c27060ff9b9b4a5b56941617dc47868d0

Commit: 2d18178c27060ff9b9b4a5b56941617dc47868d0

Tree: 35f02fd50f5508f06ef1defcc20fbe69fc4be017

Author: momumi

Committer: momumi

## Message

```
minor fixes and more tests for _ separators

* Make the tokenizer spit out an Invalid token on the first invalid
  character found in the number literal.
* More parsing and tokenizer tests for number literals
* fix invalid switch statement in ir.zig

```

## Parents

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

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