extern int RelocMode;
/* Definitions for predefined segments */
-SegDef NullSegDef;
-SegDef ZeropageSegDef;
-SegDef DataSegDef;
-SegDef BssSegDef;
-SegDef RODataSegDef;
-SegDef CodeSegDef;
+extern SegDef NullSegDef;
+extern SegDef ZeropageSegDef;
+extern SegDef DataSegDef;
+extern SegDef BssSegDef;
+extern SegDef RODataSegDef;
+extern SegDef CodeSegDef;
"FAR", "LONG"
};
char Name [sizeof (SVal)];
- SegDef Def = { Name, SEGTYPE_DEFAULT };
+ SegDef Def;
+ Def.Name = Name;
+ Def.Type = SEGTYPE_DEFAULT;
if (Tok != TOK_STRCON) {
ErrorSkip (ERR_STRCON_EXPECTED);