based on full length of predicate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34885
138bc75d-0d04-0410-961f-
82ee72b054a4
+2000-07-06 Neil Booth <NeilB@earthling.net>
+
+ * cpplib.c: (_cpp_parse_assertion): Perform hash lookups
+ based on full length of predicate.
+
2000-07-06 Hans-Peter Nilsson <hp@axis.com>
* timevar.c: [HAVE_SYS_RESOURCE_H]: Include <sys/resource.h>.
/* Prefix '#' to get it out of macro namespace. */
sym[0] = '#';
memcpy (sym + 1, predicate->val.name.text, len);
- return cpp_lookup (pfile, sym, len);
+ return cpp_lookup (pfile, sym, len + 1);
error:
FREE_ANSWER (answer);