Skip to content

Commit bc9627d

Browse files
committed
Debugging
1 parent f04c5f3 commit bc9627d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ansi-c/c_typecheck_expr.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3968,6 +3968,7 @@ void c_typecheck_baset::make_constant(exprt &expr)
39683968
error().source_location=expr.find_source_location();
39693969
error() << "expected constant expression, but got '" << to_string(expr)
39703970
<< "'" << eom;
3971+
error() << expr.pretty() << eom;
39713972
throw 0;
39723973
}
39733974
}

0 commit comments

Comments
 (0)