2006-12-23 Borut Razem <borut.razem AT siol.net>
* support/cpp2/cpphash.h, support/cpp2/cpplex.c,
- support/cpp2/cpplib.[ch], support/cpp2/sdcppinit.c, doc/sdccman.lyx:
- an other try to fix bug #982435: introduced -pedantic-parse-number
- command line option and pedantic_parse_number pragma
+ support/cpp2/cpplib.[ch], support/cpp2/sdcppinit.c, doc/sdccman.lyx,
+ preproc.c: an other try to fix bug #982435: introduced
+ -pedantic-parse-number command line option and pedantic_parse_number
+ pragma
2006-12-21 Maarten Brock <sourceforge.brock AT dse.nl>
2006-12-20 Borut Razem <borut.razem AT siol.net>
* support/cpp2/cpphash.h, support/cpp2/cpplex.c: fixed bug #982435
- * support/regression/tests/bug-1351710.c: renamed from bug-1351710.c,
+ * support/regression/tests/preproc.c: renamed from bug-1351710.c,
added regression test for bug #982435
2006-12-18 Borut Razem <borut.razem AT siol.net>
*/
#if !defined (__GNUC__) && !defined (_MSC_VER)
/* since this fails on GCC cpp and MSVC cl -E... */
+#pragma pedantic_parse_number +
+
#define LO_B(x) ((x) & 0xff)
+#define BAD(x) ((x) & 0xff)
unsigned char
hexeminus(void)
fe\
-\
LO_B(3);
-return a;
+
+unsigned char b=0xfe-BAD(3);
+
+return (a + b);
}
#endif