aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpphash.h
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2002-09-03 21:55:40 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-09-03 21:55:40 +0000
commit79ba5e3b9e7f922a99c698829c88f2b47700fd5e (patch)
tree84d9fd1cdaf53611a6a00b419c9f785e32787d39 /gcc/cpphash.h
parentf4701961145138742997ead9600196211450c9d9 (diff)
downloadgcc-79ba5e3b9e7f922a99c698829c88f2b47700fd5e.zip
gcc-79ba5e3b9e7f922a99c698829c88f2b47700fd5e.tar.gz
gcc-79ba5e3b9e7f922a99c698829c88f2b47700fd5e.tar.bz2
Debian BTS Bug #
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. From-SVN: r56773
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 5b0f0e8..61027f2 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