From f71aebba8e9f255ba967b7929692cb2bb0b3e047 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sun, 27 May 2001 18:06:00 +0000 Subject: [PATCH] * cpplib.c (run_directive): Set pfile->directive. From-SVN: r42661 --- gcc/ChangeLog | 4 ++++ gcc/cpplib.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 55f566eb40f..2d49273cad9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-05-27 Neil Booth + + * cpplib.c (run_directive): Set pfile->directive. + 2001-05-23 Theodore Papadopoulo * c-tree.texi: Reformat the manual as a single chapter now diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 96d296f3b5a..cb493105ae9 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); -- 2.30.2