summaryrefslogtreecommitdiff
path: root/gcc/cpphash.h
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-03 21:55:40 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-09-03 21:55:40 +0000
commit878d9b471c6ad92360ad9afa57fcb2a614e52830 (patch)
tree84d9fd1cdaf53611a6a00b419c9f785e32787d39 /gcc/cpphash.h
parente23786d215a538516b4e4f33d11abbdf32296e15 (diff)
downloadgcc-878d9b471c6ad92360ad9afa57fcb2a614e52830.tar.gz
Debian BTS Bug #
* cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions. * cpplib.c (destringize_and_run): Kludge around getting tokens from in-progress macros. (_cpp_do__Pragma): Simplify. testsuite: * gcc.dg/cpp/_Pragma4.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56773 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpphash.h')
-rw-r--r--gcc/cpphash.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cpphash.h b/gcc/cpphash.h
index 5b0f0e83267..61027f2dfaa 100644
--- a/gcc/cpphash.h
+++ b/gcc/cpphash.h
@@ -166,10 +166,10 @@ struct tokenrun
};
/* Accessor macros for struct cpp_context. */
-#define FIRST(c) (c->u.iso.first)
-#define LAST(c) (c->u.iso.last)
-#define CUR(c) (c->u.trad.cur)
-#define RLIMIT(c) (c->u.trad.rlimit)
+#define FIRST(c) ((c)->u.iso.first)
+#define LAST(c) ((c)->u.iso.last)
+#define CUR(c) ((c)->u.trad.cur)
+#define RLIMIT(c) ((c)->u.trad.rlimit)
typedef struct cpp_context cpp_context;
struct cpp_context