checking the ID would be better.
No, actually checking id
is essential. I didn't really realise how much until now. Consider for example the sequence:
doc
pointerdoc
points todoc
points toSo now, unless Geany checks both valid
and id
it will not know its doc
points to something different to what it thinks.
After finding id
is different it probably shouldn't do anything.
And of course the sequence above is just one way for it to happen.
But I suspect a lot of Geany doesn't check id
, maybe IS_VALID should take id as a parameter. And even better it can be made a function not an EVIL macro!!!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.