* as/link/aslink.h,
[fw/sdcc] / as / link / mcs51 / lkmain.c
index 43392b83b1999a489a7058a5d22171b96ade93eb..8448a6d34840222580f3c4fe3e124f31c431caae 100644 (file)
@@ -150,7 +150,7 @@ void Areas51 (void)
  *
  *  The function main() evaluates the command line arguments to
  *  determine if the linker parameters are to input through 'stdin'
- *  or read from a command file.  The functions as_getline() and parse()
+ *  or read from a command file.  The functions lk_getline() and parse()
  *  are to input and evaluate the linker parameters.  The linking process
  *  proceeds by making the first pass through each .rel file in the order
  *  presented to the linker.  At the end of the first pass the setbase(),
@@ -204,7 +204,7 @@ void Areas51 (void)
  *      FILE *  afile()     lkmain.c
  *      int     fclose()    c_library
  *      int     fprintf()   c_library
- *      int     as_getline()   lklex.c
+ *      int     lk_getline()   lklex.c
  *      VOID    library()   lklibr.c
  *      VOID    link_main() lkmain.c
  *      VOID    lkexit()    lkmain.c
@@ -285,7 +285,7 @@ main(int argc, char *argv[])
     filep = startp;
     while (1) {
         ip = ib;
-        if (as_getline() == 0)
+        if (lk_getline() == 0)
             break;
         if (pflag && sfp != stdin)
             fprintf(stdout, "%s\n", ip);
@@ -320,7 +320,7 @@ main(int argc, char *argv[])
 
         Areas51(); /*JCF: Create the default 8051 areas in the right order*/
 
-        while (as_getline()) {
+        while (lk_getline()) {
             ip = ib;
 
             /* pass any "magic comments" to NoICE output */