diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-09-11 12:57:53 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-09-11 12:59:39 -0400 |
| commit | dd1338b0e6280b10b9b62ca73bf9ece34bd8524e (patch) | |
| tree | e9745fe1b7a469cf8859b820c7a73715d76832d1 /src/analyze.cpp | |
| parent | c4f96ea745ae2aa56ec5cb2c871e5b3d86b04c8f (diff) | |
| download | zig-dd1338b0e6280b10b9b62ca73bf9ece34bd8524e.tar.gz zig-dd1338b0e6280b10b9b62ca73bf9ece34bd8524e.zip | |
fix incorrect union const value generation
closes #1381
The union was generated as a 3 byte struct when it needed to be
4 bytes so that the packed struct bitcast could work correctly.
Now it recognizes this situation and adds padding bytes to become
the correct size so that it can fit into an array.
Diffstat (limited to 'src/analyze.cpp')
0 files changed, 0 insertions, 0 deletions
