bug-m4
[Top][All Lists]
Advanced

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

Re: M4 throwing error


From: Gary V. Vaughan
Subject: Re: M4 throwing error
Date: Fri, 11 Feb 2005 22:34:15 +0000
User-agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)

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      ())_.  address@hidden,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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]