X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=lang_features.h;h=b51b8cbf1f1069133ec8f6bd4526bc6e8b5a6c8c;hb=f88017a35b44823c9c8139796368d77c0ed11b4d;hp=ad88c36f830e5713e7696b47007f6ed824af5d09;hpb=61a03a80a0c34c03dcf9bc227ca1c9355e8cf3ff;p=cparser diff --git a/lang_features.h b/lang_features.h index ad88c36..b51b8cb 100644 --- a/lang_features.h +++ b/lang_features.h @@ -1,6 +1,6 @@ /* * This file is part of cparser. - * Copyright (C) 2007-2008 Matthias Braun + * Copyright (C) 2007-2009 Matthias Braun * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -22,6 +22,8 @@ #include "type.h" +#define BITS_PER_BYTE 8 + typedef enum lang_features_t { _C89 = 1U << 0, _ANSI = 1U << 1, @@ -33,7 +35,7 @@ typedef enum lang_features_t { } lang_features_t; /* the current C mode/dialect */ -extern lang_features_t c_mode; +extern unsigned int c_mode; /* the 'machine size', 16, 32 or 64 bit */ extern unsigned int machine_size;