fixed warning: extra tokens at end of #endif directive
* src/z80/peep.c:
fixed warning: suggest parentheses around && within ||
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5316
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2009-01-01 Borut Razem <borut.razem AT siol.net>
+
+ * as/link/asxxxx_config.h.in:
+ fixed warning: extra tokens at end of #endif directive
+ * src/z80/peep.c:
+ fixed warning: suggest parentheses around && within ||
+
2008-12-31 Borut Razem <borut.razem AT siol.net>
* configure, configure.in, config.dsp, config_vc.awk,
2008-12-31 Borut Razem <borut.razem AT siol.net>
* configure, configure.in, config.dsp, config_vc.awk,
- as\link\asxxxx_config.h.in, as\link\hc08\lkelf.c, as\link\aslink.h:
+ as/link/asxxxx_config.h.in, as/link/hc08/lkelf.c, as/link/aslink.h,
+ as/link/hc08/Makefile.in, as/link/mcs51/Makefile.in:
introduced asxxxx_config.h.in
2008-12-30 Philipp Klaus Krause <pkk AT spth.de>
introduced asxxxx_config.h.in
2008-12-30 Philipp Klaus Krause <pkk AT spth.de>
# define TYPE_UDWORD unsigned TYPE_DWORD
#endif
# define TYPE_UDWORD unsigned TYPE_DWORD
#endif
-#endif __ASXXXX_CONFIG_H
+#endif /* __ASXXXX_CONFIG_H */
static bool
z80CondJump(const lineNode *pl)
{
static bool
z80CondJump(const lineNode *pl)
{
- if((strncmp(pl->line, "jp\t", 3) == 0 ||
- strncmp(pl->line, "jr\t", 3) == 0) && strchr(pl->line, ',') != 0 ||
+ if(((strncmp(pl->line, "jp\t", 3) == 0 ||
+ strncmp(pl->line, "jr\t", 3) == 0) && strchr(pl->line, ',') != 0) ||
strncmp(pl->line, "djnz\t", 5) == 0)
return TRUE;
return FALSE;
strncmp(pl->line, "djnz\t", 5) == 0)
return TRUE;
return FALSE;