Author Topic: Can someone add #define  (Read 2709 times)

Jacob Lidman

  • Guest
Can someone add #define
« on: January 03, 2005, 07:55:38 PM »
I have an improvement suggestion: add #define to the preprocessor commands and let it work like %define.

The reason why I want this is becuase GCC supports #define keyword value but nasm can only (?) handly %define keyword value. By changing this one can have the same "define"-files in both nasm and GCC thus only one config file is needed.

I would be glad if one of the nasm programmers could tell if this is possible to implement.

nasm64developer

  • Guest
Re: Can someone add #define
« Reply #1 on: January 12, 2005, 11:50:04 PM »
See SF RFE #648278.

On a related note, see

http://sourceforge.net/mailarchive/message.php?msg_id=8954799

for a discussion about allowing '#'
to begin an identifier. (That would
be required to make #define work.)