summaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorbrolley <brolley@138bc75d-0d04-0410-961f-82ee72b054a4>1998-04-15 12:31:38 +0000
committerbrolley <brolley@138bc75d-0d04-0410-961f-82ee72b054a4>1998-04-15 12:31:38 +0000
commit6fc80a898748374ca48614bca608b76e72538d02 (patch)
tree6e9e2566de9ba5e65f6b9df8565f1556a1784c38 /gcc/c-lex.c
parent88b1a631d144f011ec5335d171a96ec5b5b851d4 (diff)
downloadgcc-6fc80a898748374ca48614bca608b76e72538d02.tar.gz
Wed Apr 15 14:50:05 1998 Dave Brolley <brolley@cygnus.com>
* toplev.c (compile_file): Call init_parse using new interface. (init_lex): Remove declaration. * c-lex.c (init_parse): Now returns char* containing filename. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19227 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r--gcc/c-lex.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index 3a2eb0a7cc0..26c4b136799 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -185,7 +185,7 @@ remember_protocol_qualifiers ()
wordlist[i].name = "oneway";
}
-void
+char *
init_parse (filename)
char *filename;
{
@@ -220,6 +220,8 @@ init_parse (filename)
if (! cpp_start_read (&parse_in, filename))
abort ();
#endif
+
+ return filename;
}
void