Anupama Lath wrote:
> 

>>>m4 targCP.ipu
>>>targCP.ipu:3: m4: Non-numeric argument to built-in `incr’

y is undefined (non-numeric), so just set it before trying to
do math with it:

  $ m4
  define(y, 0)

  define(GEN_LABEL_2, `define(`y',incr(y)) `label'y:')

  GEN_LABEL_2()

  label1:

HTH,
        Gary.
-- 
Gary V. Vaughan      ())_.  [EMAIL PROTECTED],gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Bug-m4 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-m4

Reply via email to