Odd parsing of identifier in define

2011-08-02 Thread James Kirk
Hi guys, define( `def' ) ifdef( `def', defined, not defined ) -> not defined On examining the debug output, it seems that the identifier is saved as `def ' instead of `def'. What confuses m4 is the trailing space. The problem disappears if the trailing space is removed i.e.  define( `def') Is

Re: Odd parsing of identifier in define

2011-08-02 Thread Eric Blake
On 08/02/2011 11:08 AM, James Kirk wrote: Hi guys, define( `def' ) ifdef( `def', defined, not defined ) -> not defined On examining the debug output, it seems that the identifier is saved as `def ' instead of `def'. Yep. Is this a bug or a feature? Feature. Trailing whitespace is always