From af5df36aa343234c945fa6eae30d9bb03551e1a5 Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 26 Mar 2014 03:12:31 +0800 Subject: fancy error report --- ast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ast.c') 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; -- cgit v1.2.3