* src/pic/ralloc.c (debugLogRegType): Removed some old types to get it to compile.
[fw/sdcc] / as / mcs51 / asdata.c
index f1abb1ebd9fc68a67fa12a96ad8214b9d0f0fc8c..f952d961ed965135eac49ab3399e547da9e6ea2e 100644 (file)
@@ -17,7 +17,6 @@
 #include <stdio.h>
 #include <setjmp.h>
 #include <string.h>
-#include <alloc.h>
 #include "asm.h"
 
 /*)Module      asdata.c
@@ -52,13 +51,13 @@ int iflvl[MAXIF+1]; /*      array of IF-ELSE-ENDIF flevel
                         *      values indexed by tlevel
                         */
 
-char   afn[FILSPC];            /*      afile temporary file name
+char   afn[FILENAME_MAX];              /*      afile temporary file name
                                 */
-char   srcfn[MAXFIL][FILSPC];  /*      array of source file names
+char   srcfn[MAXFIL][FILENAME_MAX];    /*      array of source file names
                                 */
 int    srcline[MAXFIL];        /*      source line number
                                 */
-char   incfn[MAXINC][FILSPC];  /*      array of include file names
+char   incfn[MAXINC][FILENAME_MAX];    /*      array of include file names
                                 */
 int    incline[MAXINC];        /*      include line number
                                 */
@@ -96,10 +95,10 @@ int xflag;          /*      -x, listing radix flag
                         */
 int    fflag;          /*      -f(f), relocations flagged flag
                         */
-addr_t laddr;          /*      address of current assembler line
+Addr_T laddr;          /*      address of current assembler line
                         *      or value of .if argument
                         */
-addr_t fuzz;           /*      tracks pass to pass changes in the
+Addr_T fuzz;           /*      tracks pass to pass changes in the
                         *      address of symbols caused by
                         *      variable length instruction formats
                         */
@@ -159,7 +158,7 @@ char        module[NCPS];   /*      module name string
  *             char    m_id[NCPS];     Mnemonic
  *             char    m_type;         Mnemonic subtype
  *             char    m_flag;         Mnemonic flags
- *             addr_t  m_valu;         Value
+ *             Addr_T  m_valu;         Value
  *     };
  */
 struct mne     *mnehash[NHASH];
@@ -186,7 +185,7 @@ struct      mne     *mnehash[NHASH];
  *             char    s_flag;         Symbol flags
  *             struct  area *s_area;   Area line, 0 if absolute
  *             int     s_ref;          Ref. number
- *             addr_t  s_addr;         Address
+ *             Addr_T  s_addr;         Address
  *     };
  */
 struct sym     sym[] = {
@@ -218,8 +217,8 @@ struct      sym *symhash[NHASH];    /*      array of pointers to NHASH
  *             struct  area *a_ap;     Area link
  *             char    a_id[NCPS];     Area Name
  *             int     a_ref;          Reference number
- *             addr_t  a_size;         Area size
- *             addr_t  a_fuzz;         Area fuzz
+ *             Addr_T  a_size;         Area size
+ *             Addr_T  a_fuzz;         Area fuzz
  *             int     a_flag;         Area flags
  *     };
  */