From: Nick Bowler Date: Sun, 18 Mar 2012 20:54:43 +0000 (-0400) Subject: Fix bogus switch cases in declgen. X-Git-Tag: v1~54 X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/commitdiff_plain/ddbdd8cec2a54faef7b3a25d998ba350ec026cfe?hp=ddbdd8cec2a54faef7b3a25d998ba350ec026cfe Fix bogus switch cases in declgen. One of the switch statements in declgen has completely bogus case labels: '0', '1', ... instead of 0, 1, ... Fix this up and also add a default: assert(0); which would have caught this earlier. Improve the test case output when a randomdecl failure causes the test to fail. Also add a comment to the one switch statement in this file which intentionally does not have a default: assert(0). ---