diff options
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r-- | gcc/cpplib.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 6bb9f4d..f2d33a8 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -388,10 +388,6 @@ _cpp_handle_directive (pfile, indented) "style of line directive is a GCC extension"); } - pfile->directive = dir; - if (CPP_OPTION (pfile, traditional)) - prepare_directive_trad (pfile); - if (dir) { /* If we have a directive that is not an opening conditional, @@ -442,6 +438,10 @@ _cpp_handle_directive (pfile, indented) cpp_token_as_text (pfile, dname)); } + pfile->directive = dir; + if (CPP_OPTION (pfile, traditional)) + prepare_directive_trad (pfile); + if (dir) { /* If we are processing a `#define' directive and we have been |