View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000174||LDMud||LPC Compiler/Preprocessor||public||2004-11-26 22:15||2010-02-14 12:38|
|Summary||0000174: Preprocessor is not ISO-C compatible.|
|Description||Short: Preprocessor is not Standard-C compatible|
Date: Tue, 22 Dec 1998 13:36:24 +0200 (EET)
Points in question:
- macro substitution in strings shouldn't be done
- no # or ## operators
#define FUNCTION(func) #'func
doesn't work as expected
Also the C-99 features are missing.
|Tags||No tags attached.|
|External Data (URL)|
Actually, I would like to have the # feature:
#define quote( X ) #X /* quote( foo ) is expanded to "foo" */
This is just an example the actual macro I want construct is slightly more complex.
Btw. we (Evermore) are using 3.5.