Data Definition Language (DDL) Reference Manual
DDL Compiler Commands
Data Definition Language (DDL) Reference Manual—529431-004
9-59
FILLER
FILLER
The FILLER command specifies the algorithm for generating filler bytes for source
code.
Default: FILLER 1
1
specifies filler algorithm 1, which is recommended for new dictionaries.
0
specifies filler algorithm 0, which is provided for compatibility with dictionaries
created by versions of DDL prior to the B00 software product version.
The DDL compiler compiles source code in several phases. In each phase DDL
evaluates records and definitions to see if filler bytes are necessary to make sure the
next field or group starts on a word boundary.
Where filler bytes are necessary, the DDL compiler inserts FILLER fields according to
the specified algorithm. Because the compiler uses the filler algorithm during each
phase of compilation, the compiler might insert FILLER fields during one phase of
compilation and remove the same FILLER fields during the next phase. The DDL
compiler continues inserting and removing FILLER fields according to the specified
filler algorithm until the source code is generated.
DDL Output (C Code)
#pragma section e
/* Definition E created on 10/13/1995 at 13:23 */
typedef char e_def;
#pragma section f
/* Definition F created on 10/13/1995 at 13:23 */
#pragma fieldalign shared8 __f
typedef struct __f
{
short g;
struct
{
e_def i;
char filler_0;
a_def j;
} h;
char k;
char filler_1;
short l;
} f_def;
FILLER { 1 | 0 }
Example 9-26. FIELDALIGN_SHARED8 Command (page 2 of 2)