diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-10-31 14:50:13 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-10-31 14:50:13 +0000 |
commit | 2d507e6702aca4771ce5497dcac7df12a9ce3eae (patch) | |
tree | 8f71104ce2a18a26b24bccc9043f80465c769a6b /libcpp/internal.h | |
parent | e26011c9088dcacbd3e9001887eabe8e7e54b205 (diff) | |
download | gcc-2d507e6702aca4771ce5497dcac7df12a9ce3eae.tar.gz |
gcc/testsuite
PR preprocessor/30786:
* gcc.dg/cpp/pr30786.c: New file.
libcpp
PR preprocessor/30786:
* macro.c (builtin_macro): Return result of _cpp_do__Pragma.
* directives.c (_cpp_do__Pragma): Return error status.
* internal.h (_cpp_do__Pragma): Update.
* directives.c (get__Pragma_string): Back up if EOF seen.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129800 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp/internal.h')
-rw-r--r-- | libcpp/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/internal.h b/libcpp/internal.h index 59332df4fe3..830f07bf3a8 100644 --- a/libcpp/internal.h +++ b/libcpp/internal.h @@ -576,7 +576,7 @@ extern int _cpp_handle_directive (cpp_reader *, int); extern void _cpp_define_builtin (cpp_reader *, const char *); extern char ** _cpp_save_pragma_names (cpp_reader *); extern void _cpp_restore_pragma_names (cpp_reader *, char **); -extern void _cpp_do__Pragma (cpp_reader *); +extern int _cpp_do__Pragma (cpp_reader *); extern void _cpp_init_directives (cpp_reader *); extern void _cpp_init_internal_pragmas (cpp_reader *); extern void _cpp_do_file_change (cpp_reader *, enum lc_reason, const char *, |