After the discussion that happened here (https://forums.atariage.com/topic/234634-rmacrln/?do=findComment&comment=5129447) I think it would be helpful for everyone if we added some checks against that.
Created attachment 199 [details]
So here we go, this was apparently quite straightforward to do, just add a check during the fixups.
I tested the fix with the following source (also, regression suite passed without hiccups):
move.l #external_value,d1 ;should be ok
move.l #external_value<<11,d0 ;this should produce an error
move.l #external_value_2,d0 ;should be ok
Thanks for the patch! :-)