Use a collection to manage the segments.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5124 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -866,6 +866,9 @@ int main (int argc, char* argv [])
|
||||
/* Initialize the include search paths */
|
||||
InitIncludePaths ();
|
||||
|
||||
/* Create the predefined segments */
|
||||
InitSegments ();
|
||||
|
||||
/* Enter the base lexical level. We must do that here, since we may
|
||||
* define symbols using -D.
|
||||
*/
|
||||
@@ -991,8 +994,8 @@ int main (int argc, char* argv [])
|
||||
SetMemoryModel (MMODEL_NEAR);
|
||||
}
|
||||
|
||||
/* Initialize the segments */
|
||||
InitSegments ();
|
||||
/* Set the default segment sizes according to the memory model */
|
||||
SetSegmentSizes ();
|
||||
|
||||
/* Initialize the scanner, open the input file */
|
||||
InitScanner (InFile);
|
||||
|
||||
Reference in New Issue
Block a user