aboutsummaryrefslogtreecommitdiff
path: root/ast.c
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-03-26 03:12:31 +0800
committerTeddy <ted.sybil@gmail.com>2014-03-26 03:12:31 +0800
commitaf5df36aa343234c945fa6eae30d9bb03551e1a5 (patch)
treecf66d88a4c707d5fcac52cd89aa0759c7ca09742 /ast.c
parent2883565cc927fcc3de2297ed69500b8c59a4f625 (diff)
fancy error report
Diffstat (limited to 'ast.c')
-rw-r--r--ast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ast.c b/ast.c
index 97ab281..b76790e 100644
--- a/ast.c
+++ b/ast.c
@@ -371,7 +371,7 @@ char *cnode_debug_type_repr(CNode *ast) {
else
{
*aptr = '\0';
- sprintf(buffer, "%s:%s(%d,%d)", type, abuff,
+ sprintf(buffer, "%s:%s(%d:%d)", type, abuff,
ast->loc.row, ast->loc.col);
}
return buffer;