I didn't spot anything wrong off-hand (other than the space noted by the previous poster, but I'm guessing that was a copy/paste problem?). Something you might try to narrow down the problem is pre-processing the C file to see how your macros worked out. There should be a cpp18.exe as part of the MCC18 package - this is the C preprocessor. Just run:
Code:
cpp18 {filename}.c -I{path to MCC18 include directory} > {filename}.pre
and it will spit the preprocessed file out to {filename}.pre. That might yield some clues.