summaryrefslogtreecommitdiff
path: root/parse/dump.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2013-06-17 12:03:04 -0400
committerOri Bernstein <ori@eigenstate.org>2013-06-17 12:03:04 -0400
commitbc18d36c3cf2e2ceea1e78a21242423d6878ed12 (patch)
treee36632cd54a59155dbc68564219612693717d714 /parse/dump.c
parent2ea781bea0442fe4526aa8fcf7336c28f2a120c8 (diff)
downloadmc-bc18d36c3cf2e2ceea1e78a21242423d6878ed12.tar.gz
Fix const inference for compound literals.
Diffstat (limited to 'parse/dump.c')
-rw-r--r--parse/dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/dump.c b/parse/dump.c
index a4861ec..5ce0c48 100644
--- a/parse/dump.c
+++ b/parse/dump.c
@@ -172,7 +172,7 @@ static void outnode(Node *n, FILE *fd, int depth)
break;
case Nexpr:
ty = tystr(n->expr.type);
- fprintf(fd, " (type = %s, op = %s, flags = %d, did=%zd)\n",
+ fprintf(fd, " (type = %s, op = %s, isconst = %d, did=%zd)\n",
ty, opstr(n->expr.op), n->expr.isconst, n->expr.did);
free(ty);
for (i = 0; i < n->expr.nargs; i++)