]> git.sur5r.net Git - cc65/blobdiff - src/ca65/main.c
Renamed some stuff. Write out the segment size as var, not 32 bit.
[cc65] / src / ca65 / main.c
index 17aca8efc18199b841cfdef09559d7916b6e9ffa..7364891bc7208c54fac12eed9fbde5f7bd8c7678 100644 (file)
@@ -867,7 +867,7 @@ int main (int argc, char* argv [])
     InitIncludePaths ();
 
     /* Create the predefined segments */
-    InitSegments ();
+    SegInit ();
 
     /* Enter the base lexical level. We must do that here, since we may
      * define symbols using -D.
@@ -1013,7 +1013,7 @@ int main (int argc, char* argv [])
 
     /* If we didn't have any errors, check and cleanup the unnamed labels */
     if (ErrorCount == 0) {
-        ULabDone ();                                  
+        ULabDone ();
     }
 
     /* If we didn't have any errors, check the symbol table */
@@ -1028,7 +1028,7 @@ int main (int argc, char* argv [])
 
     /* If we didn't have any errors, check and resolve the segment data */
     if (ErrorCount == 0) {
-        SegCheck ();
+        SegDone ();
     }
 
     /* If we didn't have any errors, check       the assertions */