* c-pragma.c (init_pragma): Update for parse_in type change.

From-SVN: r37853
This commit is contained in:
Neil Booth 2000-11-29 19:30:04 +00:00 committed by Neil Booth
parent b86ecfa96e
commit f3b55474b6
2 changed files with 7 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2000-11-29 Neil Booth <neilb@earthling.net>
* c-pragma.c (init_pragma): Update for parse_in type change.
2000-11-29 Laurynas Biveinis <lauras@softhome.net>
* configure.in: recognize DOS-style absolute paths.

View File

@ -304,17 +304,14 @@ handle_pragma_weak (dummy)
void
init_pragma ()
{
cpp_reader *pfile ATTRIBUTE_UNUSED;
pfile = &parse_in;
#ifdef HANDLE_PRAGMA_PACK
cpp_register_pragma (pfile, 0, "pack", handle_pragma_pack);
cpp_register_pragma (parse_in, 0, "pack", handle_pragma_pack);
#endif
#ifdef HANDLE_PRAGMA_WEAK
cpp_register_pragma (pfile, 0, "weak", handle_pragma_weak);
cpp_register_pragma (parse_in, 0, "weak", handle_pragma_weak);
#endif
#ifdef REGISTER_TARGET_PRAGMAS
REGISTER_TARGET_PRAGMAS (pfile);
REGISTER_TARGET_PRAGMAS (parse_in);
#endif
#ifdef HANDLE_PRAGMA_PACK_PUSH_POP