expressions: Simplify type declarations for nodes.
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 17 Dec 2021 02:09:14 +0000 (18:09 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 19 Dec 2021 23:14:59 +0000 (15:14 -0800)
commitb38178991ef8cd3ab16a90f2a4703404945c7421
tree26910929a78e3c408ee10ef508c622fc0514e599
parentea411b6c81ab5895051535a4730210a66d4be388
expressions: Simplify type declarations for nodes.

The widespread availability of C99 anonymous structs and unions helps to
simplify the node structure.

This will make it a lot easier to add a new member to the expression nodes
for source locators in an upcoming commit.
src/language/expressions/operations.def
src/language/expressions/optimize.c
src/language/expressions/parse.c
src/language/expressions/private.h