From 25c66e490c9e3b685c7c75d63987998ce0eab993 Mon Sep 17 00:00:00 2001 From: mmitchel Date: Fri, 25 Feb 2000 01:07:31 +0000 Subject: * input.h (push_srcloc): New function. (pop_srcloc): Likewise. * toplev.c (push_srcloc): Define it. (pop_srcloc): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32141 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/input.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gcc/input.h') diff --git a/gcc/input.h b/gcc/input.h index 5de5cdeb0fe..3aee605f9b9 100644 --- a/gcc/input.h +++ b/gcc/input.h @@ -1,6 +1,6 @@ /* Declarations for variables relating to reading the source file. Used by parsers, lexical analyzers, and error message routines. - Copyright (C) 1993, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1993, 1997, 1998, 2000 Free Software Foundation, Inc. This file is part of GNU CC. @@ -45,3 +45,6 @@ extern struct file_stack *input_file_stack; /* Incremented on each change to input_file_stack. */ extern int input_file_stack_tick; + +extern void push_srcloc PARAMS ((char *name, int line)); +extern void pop_srcloc PARAMS ((void)); -- cgit v1.2.1