Allow backreferences in constant definitions