]> git.draconx.ca Git - cdecl99.git/commit
libcdecl: Avoid asserts in output declarator traversal.
authorNick Bowler <nbowler@draconx.ca>
Wed, 21 Feb 2024 07:02:57 +0000 (02:02 -0500)
committerNick Bowler <nbowler@draconx.ca>
Thu, 22 Feb 2024 02:24:05 +0000 (21:24 -0500)
commit1402a14592dde378698373044afbcef9c38ec2c2
treea8b28b260cfbff187a697509bd15c60b7f37b0b5
parent847964f010e5f56bcd13a6dde2d0a73e7cc67273
libcdecl: Avoid asserts in output declarator traversal.

There is not a strong reason for an assert here.  With the assertion
removed, the consequence of an unexpected declarator type is that
nothing will be output for that declarator.  This is an acceptable
behaviour in and of itself, so let's just go with that.
src/declare.c
src/explain.c