diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2015-12-07 13:56:16 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw44@gmail.com> | 2015-12-07 13:56:16 +0800 |
commit | 6e0e1ba8d1d6e309933e636f0ba7a32c4b3d0b3d (patch) | |
tree | a6e715414ded2211b809d4ffe2315d07a23032f9 /src | |
parent | 56d2807a3f923b1f11a745bc6402102b690540ea (diff) | |
download | compiler2015-6e0e1ba8d1d6e309933e636f0ba7a32c4b3d0b3d.tar compiler2015-6e0e1ba8d1d6e309933e636f0ba7a32c4b3d0b3d.tar.gz compiler2015-6e0e1ba8d1d6e309933e636f0ba7a32c4b3d0b3d.tar.bz2 compiler2015-6e0e1ba8d1d6e309933e636f0ba7a32c4b3d0b3d.tar.lz compiler2015-6e0e1ba8d1d6e309933e636f0ba7a32c4b3d0b3d.tar.xz compiler2015-6e0e1ba8d1d6e309933e636f0ba7a32c4b3d0b3d.tar.zst compiler2015-6e0e1ba8d1d6e309933e636f0ba7a32c4b3d0b3d.zip |
Fix unhandled enumeration value error
Diffstat (limited to 'src')
-rw-r--r-- | src/draw.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -137,6 +137,7 @@ static void printLabelString(FILE *fp, CcmmcAst *astNode) case CCMMC_KIND_CONST_STRING: fprintf(fp, "\\\"%s\\\"", astNode->value_const.const_string); break; + case CCMMC_KIND_CONST_ERROR: default: assert(false); } |