> What do you mean by "preprocessor listing with the context menu"?
Which part did you not understand?
With the mouse move to the file which fails to compile in the Files tab of the Project window
and click the right mouse button.
The 3'rd entry is "Preprocess", select it. A new window the the preprocessor output shows up.
In the text of the preprocessor output look how the compiler sees the line after preprocessing.
> #pragma CONST_SEG INTERNAL_CONST
> extern const word *const far PinModes[];
> #pragma CONST_SEG DEFAULT
The compiler error message states that the compiler was expecting a ; or a = during the parsing.
Well the compiler does not see #pragma's as part of the C syntax, so as far as this message is concerned the two #pragma lines are irrelevant (just as comment lines). The error could be in the tokens before or after the extern line before or after the snippet showed. Check the preprocessor output as the error may be in another file too. As the preprocessing output contains the content from all files included too, looking in the preprocessor output is the one safe way to see it when looking backward (probably) or forwards starting at the extern line.
Daniel