Added tokens. Can now target rgbds
[fw/sdcc] / src / SDCCmain.c
index ceeadef727d2aa53def68bec2ef60d5dfb9d8a03..8f958818ad1cd6700a46f17ce8a3f85cf7e221f3 100644 (file)
@@ -144,16 +144,6 @@ static PORT *_ports[] = {
 
 #define NUM_PORTS (sizeof(_ports)/sizeof(_ports[0]))
 
-extern ASM_PORT asxxxx_port;
-extern ASM_PORT rgbds_port;
-
-ASM_PORT *asm_port;
-
-static ASM_PORT *_asm_ports[] = {
-    &asxxxx_port,
-    &rgbds_port
-};
-
 /** Sets the port to the one given by the command line option.
     @param             The name minus the option (eg 'mcs51')
     @return            0 on success.
@@ -1267,7 +1257,6 @@ static int preProcess (char **envp)
 
 static void _findPort(int argc, char **argv)
 {
-    asm_port = _asm_ports[0];
     argc--;
     while (argc) {
        if (!strncmp(*argv, "-m", 2)) {