Skip to content

CPP fails when a macro is used on a line containing a single quote character

CPP is nice when you need a quick-and-dirty solution, but one little stumbling block is that macros are not expanded when the line contains a single quote character (as in function names ending in "prime" - let x' = MACRO x in...).

One solution is of course to break the line between the macro and the quote, but it'd be nice to have a CPP that was just a bit more clever.

-k

Trac metadata
Trac field Value
Version 6.4.2
Type FeatureRequest
TypeOfFailure OtherFailure
Priority lowest
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information