aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-pragma.h
AgeCommit message (Collapse)AuthorFilesLines
2000-01-12c-common.c: PROTO -> PARAMS.Kaveh R. Ghazi1-4/+4
* c-common.c: PROTO -> PARAMS. * c-common.h: Likewise. * c-decl.c: Likewise. * c-iterate.c: Likewise. * c-lang.c: Likewise. * c-lex.c: Likewise. * c-lex.h: Likewise. * c-parse.in: Likewise. * c-pragma.c: Likewise. * c-pragma.h: Likewise. * c-tree.h: Likewise. * c-typeck.c: Likewise. * objc/objc-act.c: Likewise. * objc/objc-act.h: Likewise. From-SVN: r31362
1999-10-19Applied Mumit Khan's patch to fix #pragma push/pop handling.Mumit Khan1-3/+0
From-SVN: r30084
1999-09-18c-pragma.c (mark_align_stack): New.Richard Henderson1-0/+3
* c-pragma.c (mark_align_stack): New. (init_pragma): New. * c-pragma.h (init_pragma): Declare it. * c-lex.c (init_parse): Call it. From-SVN: r29502
1999-09-09Makefile.in (cppexp.o): Depend on cpphash.h.Geoff Keating1-3/+3
* Makefile.in (cppexp.o): Depend on cpphash.h. * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx. Include cpphash.h. * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx. * cpplib.c (do_define): Generalise to handle poisoned definitions, redefining poisoned identifiers, etc. (do_undef): Don't allow poisoned identifiers to be undefined. (do_pragma): Add #pragma poison. (do_xifdef): Handle `#ifdef xxx' for poisoned xxx. * cccp.c: Add T_POISON node type. (special_symbol): Handle `defined(xxx)' and plain `xxx' for poisoned xxx. (do_define): Generalise to handle poisoned definitions, redefining poisoned identifiers, etc. (do_undef): Don't allow poisoned identifiers to be undefined. (do_pragma): Add #pragma poison. (do_xifdef): Handle `#ifdef xxx' for poisoned xxx. * c-pragma.c (handle_pragma_token): Ignore #pragma poison. * c-pragma.h: Add ps_poison state. We now always have generic pragmas. From-SVN: r29224
1999-04-26c-pragma.c (push_alignment): Don't ignore alignments greater than 4 bytes.Jason Merrill1-4/+3
* c-pragma.c (push_alignment): Don't ignore alignments greater than 4 bytes. (handle_pragma_token): Likewise. * c-pragma.c: Support for #pragma pack (push, <id>, <n>). (struct align_stack): Add id field. (push_alignment, pop_alignment): Take id parameter. (handle_pragma_token): Add necessary states. * c-pragma.h (enum pragma_state): Add necessary states. From-SVN: r26662
1999-02-25* c-pragma.c (add_weak); Delete. Moved into...Jeffrey A Law1-0/+2
* varasm.c (add_weak): New external function. (declare_weak): If HANDLE_PRAGMA_WEAK, then add the function to the list of weak functions. * c-pragma (add_weak): Declare. From-SVN: r25454
1999-02-18bitmap.c (bitmap_print): Qualify a char* with the `const' keyword.Kaveh R. Ghazi1-1/+1
* bitmap.c (bitmap_print): Qualify a char* with the `const' keyword. * bitmap.h (bitmap_print): Likewise. * c-decl.c (builtin_function, grokdeclarator, grokfield): Likewise. * c-lang.c (build_objc_string): Likewise. * c-lex.c (yyerror, extend_token_buffer): Likewise. Don't include limits.h or ctype.h. Remove unused variable `p'. * c-lex.h (yyerror): Qualify a char* with the `const' keyword. * c-pragma.c (handle_pragma_token): Likewise. * c-pragma.h (handle_pragma_token): Likewise. * c-tree.h (build_objc_string, builtin_function, grokfield, build_indirect_ref, lvalue_or_else, readonly_warning, error_init, pedwarn_init): Likewise. * c-typeck.c (convert_for_assignment, warn_for_assignment, push_string, warning_init, incomplete_type_error, build_indirect_ref, lvalue_or_else, readonly_warning, build_c_cast, spelling, push_member_name, print_spelling, error_init, pedwarn_init, start_init): Likewise. * objc/objc-act.c (build_objc_string): Likewise. * print-tree.c (print_node_brief, print_node): Likewise. * tree.h (lvalue_or_else, print_node, print_node_brief): Likewise. From-SVN: r25296
1998-10-07Fix spelling typo in comment.Nick Clifton1-1/+1
From-SVN: r22895
1998-10-01Add support for #pragma pack(push,<n>) and #pragma pack(pop).Nick Clifton1-7/+57
From-SVN: r22710
1998-09-02Change HANDLE_PRAGMA macro so that it will work with USE_CPPLIB.Nick Clifton1-2/+6
Add INSERT_ATTRIBUTES macro. From-SVN: r22165
1995-06-15Update FSF address.Richard Kenner1-1/+2
From-SVN: r9959
1995-05-16Update weak symbol supportJason Merrill1-4/+4
From-SVN: r9697
1995-04-18Do not put enclose within HANDLE_SYSV_PRAGMAMichael Meissner1-3/+0
From-SVN: r9413
1995-04-18Move pragma interface support to c-pragma.hMichael Meissner1-0/+48
From-SVN: r9410
1995-04-18Initial revisionMichael Meissner1-0/+0
From-SVN: r9409