diff options
author | Aleksey Kladov <[email protected]> | 2019-11-25 13:55:09 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-11-25 14:50:49 +0000 |
commit | e1c0bdaf75f8d88a5c28b3e44def17d91d4f46b3 (patch) | |
tree | 15cb5466dd2fab58d1591afc50bd28aeab65359d /docs | |
parent | be00d74c7b61fb82bdade482e95035a21f9dd736 (diff) |
Introduce dedicated AST node for union
Although structs and unions have the same syntax and differ only in
the keyword, re-using the single syntax node for both of them leads to
confusion in practice, and propagates further down the hir in an
upleasent way.
Moreover, static and consts also share syntax, but we use different
nodes for them.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions