BSD 4_4_Lite2 development
[unix-history] / usr / src / contrib / gcc-2.3.3 / c-lang.c
CommitLineData
fe580d62
C
1/* Language-specific hook definitions for C front end.
2 Copyright (C) 1991 Free Software Foundation, Inc.
3
4This file is part of GNU CC.
5
6GNU CC is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10
11GNU CC is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with GNU CC; see the file COPYING. If not, write to
18the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19
20
21#include "config.h"
22#include "tree.h"
23#include <stdio.h>
24#include "input.h"
25
26/* Each of the functions defined here
27 is an alternative to a function in objc-actions.c. */
28
29int
30lang_decode_option (p)
31 char *p;
32{
33 return c_decode_option (p);
34}
35
36void
37lang_init ()
38{
39 /* the beginning of the file is a new line; check for # */
40 /* With luck, we discover the real source file's name from that
41 and put it in input_filename. */
42 ungetc (check_newline (), finput);
43}
44
45void
46lang_finish ()
47{
48}
49
50/* Used by c-lex.c, but only for objc. */
51tree
52lookup_interface (arg)
53 tree arg;
54{
55 return 0;
56}
57
58void
59maybe_objc_check_decl (decl)
60 tree decl;
61{
62}
63
64int
65maybe_objc_comptypes (lhs, rhs)
66 tree lhs, rhs;
67{
68 return 0;
69}
70
71tree
72maybe_building_objc_message_expr ()
73{
74 return 0;
75}
76
77int
78recognize_objc_keyword ()
79{
80 return 0;
81}
82
83void
84print_lang_statistics ()
85{
86}
87
88void
89GNU_xref_begin ()
90{
91 fatal ("GCC does not yet support XREF");
92}
93
94void
95GNU_xref_end ()
96{
97 fatal ("GCC does not yet support XREF");
98}