|
From: | Anupama Lath |
Subject: | M4 throwing error |
Date: | Fri, 11 Feb 2005 15:51:31 -0500 |
Hi ,
I am testing some source code that originally ran on Solaris using Solaris m4. I am testing it using GNU m4. I get an error when I run this piece of code. Please help me fix this.
Thanks, Anupama.
++++++++++++++++++++++++++CODE+++++++++++++++++ define(GEN_LABEL_2, `define(`y',incr(y)) `label'y:')
GEN_LABEL_2()
++++++++++++++++++++++++++++++++++++++++++++++++
=========================ERROR================= >>m4 targCP.ipu >>targCP.ipu:3: m4: Non-numeric argument to built-in `incr’ =========================ERROR=================
Documentation referred at http://owen.sj.ca.us/rkowen/howto/webpaging/m4tipsquote.html Section : When not to Quote Macro Arguments
********************** Legal Disclaimer **************************** "This email may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message in error, please advise the sender by reply email and delete the message. Thank you." **********************************************************************
|
[Prev in Thread] | Current Thread | [Next in Thread] |