This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS v5 Preprocessor introduces spurious whitespace



If the preprocessor is offered:

   #define Xpush pushx.a

   Xpush

... the result is ...

   pushx . a

An extra space has been added each side of the '.'. Unfortunately, the spaces cause the assembler to segfault, but I'll report that separately.

Is there any way of overcoming this behaviour?

The compiler options are:

--preproc_only --vmspx --code_model=large --data_model=restricted -O1 -g --include_path="C:/ti/ccsv5/ccs_base/msp430/include" --include_path="C:/ti/tools_3_22_04_46/packages/ti/mcu/msp430" --include_path="C;/ti/ccsv5/tools/compiler/msp430/include" --include_path="C:/Users/john/Documents/MyProject"

and the CCS is version 5.1.1.00031