* as/hc08/lkaomf51.c (OutputName): made name unsigned char,
[fw/sdcc] / src / z80 / main.c
index 8fb6b0a2d18ef96d13784d134f62ddb09dbb1e97..3de32035b08cdc2eb58c6ed6e628167a7fd347d7 100644 (file)
@@ -82,6 +82,7 @@ static char *_keywords[] =
   "at",       //.p.t.20030714 adding support for 'sfr at ADDR' construct
   "_naked",   //.p.t.20030714 adding support for '_naked' functions
   "critical",
+  "interrupt",
   NULL
 };
 
@@ -118,7 +119,7 @@ _reset_regparm (void)
 }
 
 static int
-_reg_parm (sym_link * l)
+_reg_parm (sym_link * l, bool reentrant)
 {
   if (options.noRegParams) 
     {
@@ -150,7 +151,7 @@ _process_pragma (const char *sz)
     strncpy (buffer, sz + 5, sizeof (buffer));
     buffer[sizeof (buffer) - 1 ] = '\0';
     chomp (buffer);
-    if (isdigit (buffer[0]))
+    if (isdigit ((unsigned char)buffer[0]))
     {
 
     }
@@ -158,7 +159,7 @@ _process_pragma (const char *sz)
     {
       strcpy (buffer, "HOME");
     }
-    if (isdigit (buffer[0]))
+    if (isdigit ((unsigned char)buffer[0]))
     {
          /* Arg was a bank number.  Handle in an ASM independent
             way. */
@@ -613,6 +614,7 @@ PORT z80_port =
     "HOME",
     NULL, /* xidata */
     NULL, /* xinit */
+    NULL, /* const_name */
     NULL,
     NULL,
     1
@@ -729,6 +731,7 @@ PORT gbz80_port =
     "HOME",
     NULL, /* xidata */
     NULL, /* xinit */
+    NULL, /* const_name */
     NULL,
     NULL,
     1