aboutsummaryrefslogtreecommitdiff
path: root/lib/std/fmt/parse_float/parse_float.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-05-05 16:07:27 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2023-05-05 16:09:59 -0400
commitdf4849c4f5aafc7eb80fd7b2299b49162fa2aa79 (patch)
tree864575631cbefdbaffb8228e6085a224684d2eb4 /lib/std/fmt/parse_float/parse_float.zig
parentda878dc0776b56c1e2c251857a40415a35e9535a (diff)
downloadzig-df4849c4f5aafc7eb80fd7b2299b49162fa2aa79.tar.gz
zig-df4849c4f5aafc7eb80fd7b2299b49162fa2aa79.zip
AstGen: cleanup previous fix
Allocating an extended tag is much cleaner and easier to reason about than reusing an existing tag. The previous `.data = undefined` was a clear indication that we don't have any data to store, and so might as well store an extended tag in that space almost for free.
Diffstat (limited to 'lib/std/fmt/parse_float/parse_float.zig')
0 files changed, 0 insertions, 0 deletions