aboutsummaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-03-25 06:57:44 +0800
committerTeddy <ted.sybil@gmail.com>2014-03-25 06:57:44 +0800
commit79b8219a7b8a786740a6c57b2d819953bcf261de (patch)
treea0e81987d32f5748ff99de2c67dd543abd42417f /ast.h
parent04ee9c8bef572f4351090b768413e5b6a3ac4a77 (diff)
verbose error reporting
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ast.h b/ast.h
index 3399cb7..f467546 100644
--- a/ast.h
+++ b/ast.h
@@ -89,7 +89,7 @@ CNode *cnode_create_plain_decl(CNode *type_spec, CNode *declr);
CNode *cnode_create_identifier(char *val);
CNode *cnode_create_int_const(int val);
-CNode *cnode_create_char_const(int val);
+CNode *cnode_create_char_const(char *val);
CNode *cnode_create_str_const(char *val);
void cnode_debug_print(CNode *ast, int fancy);