diff options
Diffstat (limited to 'ast.c')
-rw-r--r-- | ast.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -249,7 +249,7 @@ char *cnode_debug_type_repr(CNode *ast) { break; case CHAR: type = "char"; - aptr += sprintf(abuff, "%c", ast->rec.intval); + aptr += sprintf(abuff, "%s", ast->rec.strval); break; case STR: type = "str"; |