Check for '.' in filename only, not the whole path.
[fw/sdcc] / as / mcs51 / lkdata.c
index 19a8437717e2b2375c4dca603a1894c7dc0dbf6a..d6a3517539160973f779e6521f2244f90549519a 100644 (file)
@@ -42,6 +42,11 @@ char *rp;            /*      pointer into the LST file
 char   rb[NINPUT];     /*      LST file text line being
                         *      address relocated
                         */
+
+char sdccopt[NINPUT]="";
+char sdccopt_module[NINPUT]="";
+char curr_module[NINPUT]="";
+
 int     dflag;          /*      Debug information output flag
                         */
 int    oflag;          /*      Output file type flag
@@ -93,6 +98,10 @@ int  gcntr;          /*      LST file relocation active
                         */
 Addr_T iram_size;      /*      internal ram size
                         */
+long   xram_size=-1;   /*      external ram size
+                        */
+long   code_size=-1;   /*      code size
+                        */
 
 /*
  *     The structure lfile contains a pointer to a