* cpplib.c (run_directive): Set pfile->directive.

From-SVN: r42661
This commit is contained in:
Neil Booth 2001-05-27 18:06:00 +00:00 committed by Neil Booth
parent df9149ee94
commit f71aebba8e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2001-05-27 Neil Booth <neil@daikokuya.demon.co.uk>
* cpplib.c (run_directive): Set pfile->directive.
2001-05-23 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
* c-tree.texi: Reformat the manual as a single chapter now

View File

@ -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);