]> gcc.gnu.org Git - gcc.git/blame - gcc/c-lang.c
(ASM_FILE_START): Don't output a .file directive.
[gcc.git] / gcc / c-lang.c
CommitLineData
c0f940ef 1/* Language-specific hook definitions for C front end.
00740732 2 Copyright (C) 1991 Free Software Foundation, Inc.
c0f940ef
RS
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
d0d4af87
MS
50char *
51lang_identify ()
52{
53 return "c";
54}
55
a604ca26
TW
56void
57print_lang_statistics ()
58{
59}
60
c0f940ef 61/* Used by c-lex.c, but only for objc. */
a604ca26 62
c0f940ef
RS
63tree
64lookup_interface (arg)
65 tree arg;
66{
67 return 0;
68}
69
a604ca26
TW
70tree
71is_class_name (arg)
72 tree arg;
73{
74 return 0;
75}
76
c0f940ef
RS
77void
78maybe_objc_check_decl (decl)
79 tree decl;
80{
81}
82
83int
a604ca26 84maybe_objc_comptypes (lhs, rhs, reflexive)
c0f940ef 85 tree lhs, rhs;
a604ca26
TW
86 int reflexive;
87{
81e4c08f 88 return 0;
a604ca26
TW
89}
90
91tree
92maybe_objc_method_name (decl)
93 tree decl;
c0f940ef
RS
94{
95 return 0;
96}
97
98tree
99maybe_building_objc_message_expr ()
100{
101 return 0;
102}
103
104int
105recognize_objc_keyword ()
106{
107 return 0;
108}
109
a604ca26
TW
110tree
111build_objc_string (len, str)
112 int len;
113 char *str;
c0f940ef 114{
a604ca26
TW
115 abort ();
116 return NULL_TREE;
c0f940ef
RS
117}
118
119void
120GNU_xref_begin ()
121{
122 fatal ("GCC does not yet support XREF");
123}
124
125void
126GNU_xref_end ()
127{
128 fatal ("GCC does not yet support XREF");
129}
This page took 0.100317 seconds and 5 git commands to generate.