diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-05-27 18:06:00 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-05-27 18:06:00 +0000 |
commit | f71aebba8e9f255ba967b7929692cb2bb0b3e047 (patch) | |
tree | 0962db1bc0452131180f15034f9c05bf0e763bc5 /gcc/cpplib.c | |
parent | df9149ee94647052c8d9a7627ff4fa9ea15546ae (diff) | |
download | gcc-f71aebba8e9f255ba967b7929692cb2bb0b3e047.zip gcc-f71aebba8e9f255ba967b7929692cb2bb0b3e047.tar.gz gcc-f71aebba8e9f255ba967b7929692cb2bb0b3e047.tar.bz2 |
* cpplib.c (run_directive): Set pfile->directive.
From-SVN: r42661
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r-- | gcc/cpplib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 96d296f..cb49310 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -422,7 +422,8 @@ run_directive (pfile, dir_no, type, buf, count) start_directive (pfile); pfile->state.prevent_expansion++; - (void) (*dtable[dir_no].handler) (pfile); + pfile->directive = &dtable[dir_no]; + (void) (*pfile->directive->handler) (pfile); pfile->state.prevent_expansion--; check_eol (pfile); end_directive (pfile, 1); |