support for %hook, %end, %orig()