aboutsummaryrefslogtreecommitdiffstats
path: root/symbol.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@home.transmeta.com>2003-04-02 22:31:32 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-07 21:00:06 -0700
commit504bb50c98a1bfa07a1b89a75a02d77f9f94d49e (patch)
tree024b1a00a8ad6b2a4520d4433faa6460ea674f7c /symbol.c
parent73fa5bd563e8e4ee891f3b40d3ff8778329fe5ea (diff)
downloadsparse-504bb50c98a1bfa07a1b89a75a02d77f9f94d49e.tar.gz
Oops. The preprocessor symbol evaluation printed out the wrong name.
Add "obfuscate" as a stupid back-end. It will generate some really really horrible C output if I get my way. Don't expose "attribute" for type attributes. Use only the double-underscore version
Diffstat (limited to 'symbol.c')
-rw-r--r--symbol.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/symbol.c b/symbol.c
index edf36814..f1a0e6a9 100644
--- a/symbol.c
+++ b/symbol.c
@@ -307,8 +307,10 @@ struct sym_init {
{ "__typeof", NULL, MOD_TYPEOF },
{ "__typeof__", NULL, MOD_TYPEOF },
+#if 0
{ "attribute", NULL, MOD_ATTRIBUTE },
{ "__attribute", NULL, MOD_ATTRIBUTE },
+#endif
{ "__attribute__", NULL, MOD_ATTRIBUTE },
{ "struct", NULL, MOD_STRUCTOF },