CmmParse: Emit source notes for assignments
authorBen Gamari <ben@smart-cactus.org>
Mon, 3 Jul 2017 21:15:23 +0000 (17:15 -0400)
committerBen Gamari <ben@smart-cactus.org>
Mon, 3 Jul 2017 22:58:11 +0000 (18:58 -0400)
commit0c1f905aea4d5a9e2e329ba6b57d5a009635ce3d
tree31db46f80b06045502436a0707ecb556cd48c7a3
parentd55bea14c745f7f448fb24673a21b511d1c1c222
CmmParse: Emit source notes for assignments

Currently the line information for bare source C-- is rather spartan. These add
notes for assignments, which tend to be useful to identify. Unfortunately, we
had to settle for approximate source locations as none of the parsers in
CmmParse return located things. However, I don't think it's worth changing this.
compiler/cmm/CmmParse.y