]> git.sur5r.net Git - cc65/commit
Made a C union declaration know the sizes of anonymous struct/union members when... 644/head
authorGreg King <gregdk@users.sf.net>
Sun, 13 May 2018 08:21:42 +0000 (04:21 -0400)
committerGreg King <gregdk@users.sf.net>
Sun, 13 May 2018 22:54:45 +0000 (18:54 -0400)
commit362b6afacff5ce936531713c76010367af6db42f
treef5985ea60a342325a26ec53323c7c6dcc0607391
parent4e137cf9f58bbf1c84c21428239d9f6b2fae3684
Made a C union declaration know the sizes of anonymous struct/union members when it determines its size.

The bug was located, and the fix was written, by Francesco.
src/cc65/declare.c
test/val/anon-struct1.c [new file with mode: 0644]
test/val/anon-struct2.c [new file with mode: 0644]