diff options
author | Mark Mitchell <mark@codesourcery.com> | 2000-02-25 01:07:31 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-02-25 01:07:31 +0000 |
commit | 68723fae698fb8b031395612a75b0bcb905d240b (patch) | |
tree | feff035e6fde071949c06603b5d1b5ab82c766cd /gcc/input.h | |
parent | c8082519f279ac59aca7b534b1ac4c8430a35e87 (diff) | |
download | gcc-68723fae698fb8b031395612a75b0bcb905d240b.zip gcc-68723fae698fb8b031395612a75b0bcb905d240b.tar.gz gcc-68723fae698fb8b031395612a75b0bcb905d240b.tar.bz2 |
input.h (push_srcloc): New function.
* input.h (push_srcloc): New function.
(pop_srcloc): Likewise.
* toplev.c (push_srcloc): Define it.
(pop_srcloc): Likewise.
From-SVN: r32141
Diffstat (limited to 'gcc/input.h')
-rw-r--r-- | gcc/input.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/input.h b/gcc/input.h index 5de5cde..3aee605 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)); |