Pascal Preprocessor

A

 

 

 

 

 

 

 

 

 

This appendix describes the preprocessors, cpp(1) and cppas.

cpp

cpp(1) is the C language preprocessor. Pascal runs your source program through cpp(1) when you compile it without the –xloption. For a complete description of cpp(1), see the Solaris documentation.

cppas

The cppas preprocessor handles the Pascal conditional variables and compiler directives. You call cppas using the –xloption.

Conditional Variables

A conditional variable is defined when it appears in a %var directive; otherwise, it is undefined. In addition, we predefine:

__sun

__SVR4

sparc

__sparc

__SUNPRO_PC=0x400

unix

__unix

sun

 

These variables are not predefined when you use -s0, -s1, -V0, or -V1.

245