+2003-06-03 Bernhard Held <bernhard@bernhardheld.de>
+
+ * src/SDCCpeeph.c: separate peepRules2pCode() for pic16 by "Vangelis Rokas" <vrokas@otenet.gr>
+
2003-06-02 Frieder Ferlemann <Frieder.Ferlemann@web.de>
* doc/sdccman.lyx: cvs revision keywords, passing pdf information in latex preamble,
#define FBYNAME(x) int x (hTab *vars, lineNode *currPl, lineNode *endPl, \
lineNode *head, const char *cmdLine)
-#if !OPT_DISABLE_PIC || !OPT_DISABLE_PIC16
-void peepRules2pCode(peepRule *);
+#if !OPT_DISABLE_PIC
+void peepRules2pCode(peepRule *);
+#endif
+
+#if !OPT_DISABLE_PIC16
+void pic16_peepRules2pCode(peepRule *);
#endif
/*-----------------------------------------------------------------*/
}
-#if !OPT_DISABLE_PIC || !OPT_DISABLE_PIC16
+#if !OPT_DISABLE_PIC
/* Convert the peep rules into pcode.
NOTE: this is only support in the PIC port (at the moment)
*/
- if (TARGET_IS_PIC || TARGET_IS_PIC16) {
- peepRules2pCode(rootRules);
- }
+ if (TARGET_IS_PIC)
+ peepRules2pCode(rootRules);
+#endif
+
+#if !OPT_DISABLE_PIC16
+ /* Convert the peep rules into pcode.
+ NOTE: this is only support in the PIC port (at the moment)
+ and the PIC16 port (VR 030601)
+ */
+ if (TARGET_IS_PIC16)
+ pic16_peepRules2pCode(rootRules);
+
#endif
}