use enclosing position for errors in record macros