One more intermediate state - not compilable.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5644 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -143,8 +143,8 @@ static void ParseCPU (void)
|
||||
AttrCheck (Attr, atType, "TYPE");
|
||||
AttrCheck (Attr, atAddrSpace, "ADDRSPACE");
|
||||
|
||||
/* Create the CPU */
|
||||
CPUInstance = NewCPU ("6502", Size);
|
||||
/* Create the system using the specified CPU */
|
||||
System = NewSystem (NewCPU ("6502", Size));
|
||||
|
||||
/* Skip the semicolon */
|
||||
CfgConsumeSemi ();
|
||||
@@ -158,7 +158,7 @@ static void ParseAddrSpace (void)
|
||||
unsigned I;
|
||||
|
||||
/* CPU must be defined before the address space */
|
||||
if (CPUInstance == 0) {
|
||||
if (System == 0) {
|
||||
CfgError ("CPU must be defined before address space definitions");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user