diff options
| author | LemonBoy <thatlemon@gmail.com> | 2020-09-27 17:17:27 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-09-28 14:16:26 -0400 |
| commit | 5c6cd5e2c9e8b2d0feb0026bad7c201035a175b4 (patch) | |
| tree | 78552e0b970107df097bc7699e0be5996aa2831b /lib/std/math/complex | |
| parent | e60939bfaafc9e6b3ccdc172009b950fc7a3eab1 (diff) | |
| download | zig-5c6cd5e2c9e8b2d0feb0026bad7c201035a175b4.tar.gz zig-5c6cd5e2c9e8b2d0feb0026bad7c201035a175b4.zip | |
stage{1,2}: Fix parsing of range literals
stage1 was unable to parse ranges whose starting point was written in
binary/octal as the first dot in '...' was incorrectly interpreted as
decimal point.
stage2 forgot to reset the literal type to IntegerLiteral when it
discovered the dot was not a decimal point.
I've only stumbled across this bug because zig fmt keeps formatting the
ranges without any space around the ...
Diffstat (limited to 'lib/std/math/complex')
0 files changed, 0 insertions, 0 deletions
