(optionally) push static array initialization down to the ports code generator
[fw/sdcc] / src / mcs51 / main.c
index f2ced3e291068338e2cbc6f0f864309109398178..c06d08a9c6d0b0f6b44360da588127be7f522fe1 100644 (file)
@@ -188,7 +188,7 @@ PORT mcs51_port =
   },
     /* mcs51 has an 8 bit mul */
   {
-    1, 0
+    1, -1
   },
   "_",
   _mcs51_init,
@@ -203,6 +203,7 @@ PORT mcs51_port =
   _mcs51_reset_regparm,
   _mcs51_regparm,
   NULL,
+  NULL,
   FALSE,
   0,                           /* leave lt */
   0,                           /* leave gt */
@@ -210,5 +211,6 @@ PORT mcs51_port =
   1,                           /* transform >= to ! < */
   1,                           /* transform != to !(a == b) */
   0,                           /* leave == */
+  FALSE,                        /* No array initializer support. */
   PORT_MAGIC
 };