From 9059bcb666359f7b21a1c791f218dc7964b4d279 Mon Sep 17 00:00:00 2001 From: bernhardheld Date: Tue, 28 Jan 2003 18:44:42 +0000 Subject: [PATCH] * src/ds390/gen.c: fix deps by replacing with "common.h" * src/SDCC.lex: rename P_OVERLAY to P_OVERLAY_ for cross-gcc 3.2 MINGW32 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2186 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 7 ++++++- src/SDCC.lex | 5 +++-- src/ds390/gen.c | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index fc11a24f..ba913355 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-01-28 Bernhard Held + + * src/ds390/gen.c: fix deps by replacing with "common.h" + * src/SDCC.lex: rename P_OVERLAY to P_OVERLAY_ for cross-gcc 3.2 MINGW32 + 2003-01-26 * src/SDCClrange.c: fixed Bernhard's "char * code ptr = &c" @@ -7,7 +12,7 @@ 2003-01-26 Bernhard Held - * as/mcs51/strcmpi.c: added, provides as_strcmpi(); strcmpi() is not ANSI + * as/mcs51/strcmpi.c: added, provides Aurelien Jarno's as_strcmpi(); strcmpi() is not ANSI * as/mcs51/strcmpi.h: added * as/mcs51/asm.h: remove ugly "#define strcmpi strcmp" * as/mcs51/aslink.h: remove ugly "#define strcmpi strcmp" diff --git a/src/SDCC.lex b/src/SDCC.lex index b67cda3d..a7ba72a7 100644 --- a/src/SDCC.lex +++ b/src/SDCC.lex @@ -77,7 +77,8 @@ struct options save_options ; P_CALLEE_SAVES, P_EXCLUDE , P_LOOPREV , - P_OVERLAY + P_OVERLAY_ /* I had a strange conflict with P_OVERLAY while */ + /* cross-compiling for MINGW32 with gcc 3.2 */ }; %} @@ -460,7 +461,7 @@ void doPragma (int op, char *cp) case P_LOOPREV: optimize.noLoopReverse = 1; break; - case P_OVERLAY: + case P_OVERLAY_: break; /* notyet */ } } diff --git a/src/ds390/gen.c b/src/ds390/gen.c index e7bcfcd1..cae207b7 100644 --- a/src/ds390/gen.c +++ b/src/ds390/gen.c @@ -30,7 +30,7 @@ #include #include -#include +#include "common.h" #include "ralloc.h" #include "gen.h" #include "SDCCglobl.h" -- 2.30.2