diff options
author | Teddy <ted.sybil@gmail.com> | 2014-04-16 18:51:07 +0800 |
---|---|---|
committer | Teddy <ted.sybil@gmail.com> | 2014-04-16 18:51:07 +0800 |
commit | 950dd4b0688dee3f7a90105a1225c8ba41123282 (patch) | |
tree | c39d3023f9ed311b5e59a9b4879d8bc24d0fa243 /ast.c | |
parent | 27205d8a475e3a8ddafacd4426635187735a35f5 (diff) |
pointer offest calculate
Diffstat (limited to 'ast.c')
-rw-r--r-- | ast.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -400,9 +400,9 @@ char *cnode_debug_type_repr(CNode *ast) { } head += sprintf(head, "(%d:%d)", ast->loc.row, ast->loc.col); if (ast->ext.type) - sprintf(head, "->(var:%lx type:%lx ic:%d cv:%d)", + sprintf(head, "->(var:%lx type:%lx ic:%d cv:%d off:%d)", (size_t)ast->ext.var, (size_t)ast->ext.type, - ast->ext.is_const, ast->ext.const_val); + ast->ext.is_const, ast->ext.const_val, ast->ext.offest); } return buffer; } |