From: Neil Booth Date: Sun, 27 May 2001 18:06:00 +0000 (+0000) Subject: * cpplib.c (run_directive): Set pfile->directive. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f71aebba8e9f255ba967b7929692cb2bb0b3e047;p=gcc.git * cpplib.c (run_directive): Set pfile->directive. From-SVN: r42661 --- 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);