projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
support for local common symbols (whatever that is good for); introduce ir_visibility...
[cparser]
/
lang_features.h
diff --git
a/lang_features.h
b/lang_features.h
index
ad88c36
..
b51b8cb
100644
(file)
--- a/
lang_features.h
+++ b/
lang_features.h
@@
-1,6
+1,6
@@
/*
* This file is part of cparser.
/*
* This file is part of cparser.
- * Copyright (C) 2007-200
8
Matthias Braun <matze@braunis.de>
+ * Copyright (C) 2007-200
9
Matthias Braun <matze@braunis.de>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
*
* 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"
#include "type.h"
+#define BITS_PER_BYTE 8
+
typedef enum lang_features_t {
_C89 = 1U << 0,
_ANSI = 1U << 1,
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 */
} lang_features_t;
/* the current C mode/dialect */
-extern
lang_features_
t c_mode;
+extern
unsigned in
t c_mode;
/* the 'machine size', 16, 32 or 64 bit */
extern unsigned int machine_size;
/* the 'machine size', 16, 32 or 64 bit */
extern unsigned int machine_size;