# stage2: disallow trailing dot on float literals · gitcafe/zig

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

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

Visibility: public

Requested revision: ec10595b65490126e1b7d231f655be6d7d198acf

Requested commit: ec10595b65490126e1b7d231f655be6d7d198acf

Commit: ec10595b65490126e1b7d231f655be6d7d198acf

Tree: 70ec8e640c121aa5db5f99915d49de43c6bf907b

Author: Isaac Freund

Committer: Andrew Kelley

## Message

```
stage2: disallow trailing dot on float literals

This disallows e.g. `1.` or `0x1.` as a float literal, which is
consistent with the grammar.

```

## Parents

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

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