aboutsummaryrefslogtreecommitdiff
path: root/ast.c
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-03-25 21:50:31 +0800
committerTeddy <ted.sybil@gmail.com>2014-03-25 21:50:31 +0800
commite9c783cec3496c3b84681ce162f6133bec8a709d (patch)
treefa1063ba1eb69cd3e560c69f0bc9e6368b4a90ce /ast.c
parentbebc7300ad6987e76db8fca785a83123ba08a927 (diff)
fixed bugs: str and char const recogn; fields wrapping
Diffstat (limited to 'ast.c')
-rw-r--r--ast.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ast.c b/ast.c
index e65f2c2..9ac5fcb 100644
--- a/ast.c
+++ b/ast.c
@@ -256,6 +256,7 @@ char *cnode_debug_type_repr(CNode *ast) {
aptr += sprintf(abuff, "\"%s\"", ast->rec.strval);
break;
case FIELD: type = "field"; break;
+ case FIELDS: type = "fields"; break;
case NOP: type = "nop"; break;
case EXP:
case INITR: