]> git.draconx.ca Git - cdecl99.git/commit
libcdecl: Combine array length parser rules.
authorNick Bowler <nbowler@draconx.ca>
Thu, 20 Jul 2023 01:08:03 +0000 (21:08 -0400)
committerNick Bowler <nbowler@draconx.ca>
Thu, 20 Jul 2023 01:08:03 +0000 (21:08 -0400)
commitb126a7b2d76bffbe16dd439b8049898442191536
tree2c63798ff0820518b7609a4afb64453fa9543628
parente6c78ce32d1f4d737c0fe52661d8f5d56abe879d
libcdecl: Combine array length parser rules.

Some of the parser rules to handle incomplete array types versus arrays
with explicit length (not VLAs) are duplicated between the regular and
english parsers.

As this is the same in both cases we can use a new symbol and drop some
duplicate actions to simplify things a bit.
src/parse.y