8.2. Switches for gnatprep

-c

Causes both preprocessor lines and the lines deleted by preprocessing to be retained in the output source as comments marked with the special string "-! ". This option will result in line numbers being preserved in the output file.

-b

Causes both preprocessor lines and the lines deleted by preprocessing to be replaced by blank lines in the output source file, preserving line numbers in the output file.

-r

Causes a Source_Reference pragma to be generated that references the original input file, so that error messages will use the file name of this original file. The use of this switch forces -b if -c is not set, so that source line numbers are not modified.

-s

Causes a sorted list of symbol names and values to be listed on the standard output file.

-v

Causes gnatprep to output a copyright notice including the version number of gnatprep.

Note: if neither -b nor -c is present, then preprocessor lines and deleted lines are completely removed from the output, unless -r is specified, in which case -b is assumed.