summaryrefslogtreecommitdiff
path: root/gcc/c-pragma.h
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-26 21:18:08 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-26 21:18:08 +0000
commitfe9751fa72907419103d95c80dc0fb6bccfe8d02 (patch)
tree79e74ebb6fd99785e533cb54e51556ce92f82ae5 /gcc/c-pragma.h
parentdaa0662441a793a41cc20125214d4c07bf9562d4 (diff)
downloadgcc-fe9751fa72907419103d95c80dc0fb6bccfe8d02.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26662 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-pragma.h')
-rw-r--r--gcc/c-pragma.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/c-pragma.h b/gcc/c-pragma.h
index ddc74d1076e..f94ee9fe6c5 100644
--- a/gcc/c-pragma.h
+++ b/gcc/c-pragma.h
@@ -1,5 +1,5 @@
/* Pragma related interfaces.
- Copyright (C) 1995, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1998, 1999 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -88,9 +88,8 @@ enum pragma_state
ps_right,
#endif
#ifdef HANDLE_PRAGMA_PACK_PUSH_POP
- ps_push,
- ps_pop,
- ps_comma,
+ ps_push, ps_pushcomma, ps_pushid, ps_pushcomma2,
+ ps_pop, ps_popcomma,
#endif
ps_bad
};