-fdollars-in-identifiers (-qdollar)
Category
Pragma equivalent
None
Purpose
Allows the dollar-sign ($) symbol to be used in the names of identifiers.
When -fdollars-in-identifiers or -qdollar is in effect, the dollar symbol $ in an identifier is treated as a base character.
Syntax
.-dollars-in-identifiers----. >>- -f--+-no-dollars-in-identifiers-+--------------------------><
.-dollar---. >>- -q--+-nodollar-+-------------------------------------------><
Defaults
-fdollars-in-identifiers or -qdollar
Predefined macros
None.
Examples
To compile myprogram.c so that $ is allowed in identifiers in the program, enter:
xlc myprogram.c -fdollars-in-identifiers