[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pf macro expansion problem



>>>>> "TdR" == "Theo de Raadt" <deraadt@cvs.openbsd.org>:
TdR> 
>> I'm not sure this is a known issue, but macro expansion does not expand
>> inside of other macro definitions in pf.conf.  I have looked at parse.y but
>> don't have any changes for you at this point (my yacc is a bit rusty).  In
>> a brief conversation with dhartmei@ he pointed that there may not be any
>> recursion at this point in yacc parse rules.
TdR> 
TdR> That's right.  They do not.
TdR> 
TdR> This is not a full layered macro expander.  I never intended for it to
TdR> be one, and I think that expecting so is wrong.
TdR> 
TdR> Sorry.

Understood.  Thanks for the clarification.  

-dan

-- 
dan weeks - codemonkey - http://danimal.org/