From: borutr Date: Tue, 3 Jul 2007 20:07:00 +0000 (+0000) Subject: * device/include/typeof.h: fixed bug #1747142: typeof.h needs fixing X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=f9c2ef185250719e4d27888c22623120a63dd9b9;p=fw%2Fsdcc * device/include/typeof.h: fixed bug #1747142: typeof.h needs fixing git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4875 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index 56333864..864275ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ * src/mcs51/gen.c, src/avr/gen.c, src/pic/gen.c, src/z80/gen.c, src/pic16/gen.c, src/hc08/gen.c, src/ds390/gen.c: fixed RFE #1746528: SDCC should ignore ':' in inline assembler comments + * device/include/typeof.h: fixed bug #1747142: typeof.h needs fixing 2007-07-02 Maarten Brock diff --git a/device/include/typeof.h b/device/include/typeof.h index 6b5b4a6b..8b0d0c91 100644 --- a/device/include/typeof.h +++ b/device/include/typeof.h @@ -7,42 +7,44 @@ under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - + In other words, you are welcome to use, share and improve this program. You are forbidden to forbid anyone else to use, share and improve - what you give them. Help stamp out software-hoarding! + what you give them. Help stamp out software-hoarding! -------------------------------------------------------------------------*/ #ifndef __SDC51_TYPEOF_H #define __SDC51_TYPEOF_H 1 -#define TYPEOF_INT 1 -#define TYPEOF_SHORT 2 -#define TYPEOF_CHAR 3 -#define TYPEOF_LONG 4 -#define TYPEOF_FLOAT 5 -#define TYPEOF_BIT 6 -#define TYPEOF_SBIT 7 -#define TYPEOF_SFR 8 -#define TYPEOF_VOID 9 -#define TYPEOF_STRUCT 10 -#define TYPEOF_ARRAY 11 -#define TYPEOF_FUNCTION 12 -#define TYPEOF_POINTER 13 -#define TYPEOF_FPOINTER 14 -#define TYPEOF_CPOINTER 15 -#define TYPEOF_GPOINTER 16 -#define TYPEOF_PPOINTER 17 -#define TYPEOF_IPOINTER 18 -#define TYPEOF_EEPPOINTER 19 +#define TYPEOF_INT 1 +#define TYPEOF_SHORT 2 +#define TYPEOF_CHAR 3 +#define TYPEOF_LONG 4 +#define TYPEOF_FLOAT 5 +#define TYPEOF_FIXED16X16 6 +#define TYPEOF_BIT 7 +#define TYPEOF_BITFIELD 8 +#define TYPEOF_SBIT 9 +#define TYPEOF_SFR 10 +#define TYPEOF_VOID 11 +#define TYPEOF_STRUCT 12 +#define TYPEOF_ARRAY 13 +#define TYPEOF_FUNCTION 14 +#define TYPEOF_POINTER 15 +#define TYPEOF_FPOINTER 16 +#define TYPEOF_CPOINTER 17 +#define TYPEOF_GPOINTER 18 +#define TYPEOF_PPOINTER 19 +#define TYPEOF_IPOINTER 20 +#define TYPEOF_EEPPOINTER 21 #endif