mirror of
https://github.com/cc65/cc65.git
synced 2025-01-27 09:33:42 +00:00
Some Watcom related fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@1742 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
0dc85c727b
commit
7f9bb30731
@ -56,12 +56,12 @@
|
||||
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;
|
||||
|
||||
|
||||
|
||||
|
@ -1247,7 +1247,9 @@ static void DoSegment (void)
|
||||
"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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user