Mercurial > hg > CbC > CbC_gcc
comparison gcc/c-lang.c @ 0:a06113de4d67
first commit
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 17 Jul 2009 14:47:48 +0900 |
parents | |
children | 77e2b8dfacca |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:a06113de4d67 |
---|---|
1 /* Language-specific hook definitions for C front end. | |
2 Copyright (C) 1991, 1995, 1997, 1998, | |
3 1999, 2000, 2001, 2003, 2004, 2005, 2007, 2008 | |
4 Free Software Foundation, Inc. | |
5 | |
6 This file is part of GCC. | |
7 | |
8 GCC is free software; you can redistribute it and/or modify it under | |
9 the terms of the GNU General Public License as published by the Free | |
10 Software Foundation; either version 3, or (at your option) any later | |
11 version. | |
12 | |
13 GCC is distributed in the hope that it will be useful, but WITHOUT ANY | |
14 WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
16 for more details. | |
17 | |
18 You should have received a copy of the GNU General Public License | |
19 along with GCC; see the file COPYING3. If not see | |
20 <http://www.gnu.org/licenses/>. */ | |
21 | |
22 | |
23 #include "config.h" | |
24 #include "system.h" | |
25 #include "coretypes.h" | |
26 #include "tm.h" | |
27 #include "tree.h" | |
28 #include "c-tree.h" | |
29 #include "c-common.h" | |
30 #include "ggc.h" | |
31 #include "langhooks.h" | |
32 #include "langhooks-def.h" | |
33 #include "tree-inline.h" | |
34 #include "diagnostic.h" | |
35 #include "c-objc-common.h" | |
36 #include "c-pragma.h" | |
37 | |
38 enum c_language_kind c_language = clk_c; | |
39 | |
40 /* Lang hooks common to C and ObjC are declared in c-objc-common.h; | |
41 consequently, there should be very few hooks below. */ | |
42 | |
43 #undef LANG_HOOKS_NAME | |
44 #define LANG_HOOKS_NAME "GNU C" | |
45 #undef LANG_HOOKS_INIT | |
46 #define LANG_HOOKS_INIT c_objc_common_init | |
47 | |
48 /* Each front end provides its own lang hook initializer. */ | |
49 const struct lang_hooks lang_hooks = LANG_HOOKS_INITIALIZER; | |
50 | |
51 /* Final processing of file-scope data. The Objective-C version of | |
52 this function still does something. */ | |
53 void | |
54 finish_file (void) | |
55 { | |
56 } | |
57 | |
58 #include "gtype-c.h" |