Move global segment creation to a better place in source.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4498 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -343,12 +343,15 @@ void Compile (const char* FileName)
|
||||
/* DefineNumericMacro ("__STDC__", 1); <- not now */
|
||||
DefineNumericMacro ("__STDC_HOSTED__", 1);
|
||||
|
||||
/* Initialize the literal pool */
|
||||
InitLiteralPool ();
|
||||
|
||||
/* Create the base lexical level */
|
||||
EnterGlobalLevel ();
|
||||
|
||||
/* Create the global code and data segments */
|
||||
CreateGlobalSegments ();
|
||||
|
||||
/* Initialize the literal pool */
|
||||
InitLiteralPool ();
|
||||
|
||||
/* Generate the code generator preamble */
|
||||
g_preamble ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user