Data Definition Language (DDL) Reference Manual
DDL Compiler Commands
Data Definition Language (DDL) Reference Manual—529431-004
9-32
CPRAGMA
CPRAGMA
The [NO]CPRAGMA command includes [excludes] #pragma-generating code in C
output.
Default: CPRAGMA
CPRAGMA
includes #pragma-generating code in C output.
NOCPRAGMA
encloses #pragma-generating code within the C comment characters. This allows
you to use the C code on systems whose C compilers do not support #pragmas.
CTOKENMAP_ASDEFINE
The CTOKENMAP_ASDEFINE command generates TOKEN MAP output as #define
statements [a static int array] in an open C source code file.
Default: NOCTOKENMAP_ASDEFINE
CTOKENMAP_ASDEFINE
generates the C output of every subsequent TOKEN-MAP as a #define.
NOCTOKENMAP_ASDEFINE
generates the C output of every subsequent TOKEN-MAP as a static int array.
If the C output of a TOKEN-MAP as a #define exceeds one line, a continuation
character “\” is appended to the end of all lines except the last one as required by the
C syntax for a #define.
The rules governing CDEFINEUPPER and NOCDEFINEUPPER also apply to the C
output of a TOKEN-MAP as a #define.
The CTOKENMAP_ASDEFINE and NOCTOKENMAP_ASDEFINE directives only
affect the C output of a TOKEN-MAP. The output in any other language is unaffected.
The generation of TOKEN-CODE and TOKEN-TYPE remain unchanged in all
languages.
Caution. The memory layout of the other machine might be different from the layout on a
HP NonStop system.
[NO]CPRAGMA
[NO]CTOKENMAP_ASDEFINE