Commit 608b2c2
committed
substitute_symbols now preserves comments in binding expressions
Instead of building a completely new binding_exprt, make a copy of the
previous one, and then change the operand. The key benefit is that comments
(source locations and the like) are preserved.1 parent d0f3312 commit 608b2c2
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments