diff options
author | Teddy <[email protected]> | 2014-03-25 04:58:57 +0800 |
---|---|---|
committer | Teddy <[email protected]> | 2014-03-25 04:58:57 +0800 |
commit | 9e43ffed22d5ba25fe545a48ac732591c346aabb (patch) | |
tree | e56c5d18e2441ef78a00bb54bb118872897229cc /ast.c | |
parent | 4f90efb9a08b697b7ef270a4d2ee067dc853f251 (diff) |
wrong regex for char const
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"; |