rm -f microjson.o test_microjson.o test_microjson example[123]
rm -f microjson.html
-CSUPPRESSIONS = -U__UNUSED__
+SUPPRESSIONS = --suppress=unusedStructMember
+SUPPRESSIONS += -U__UNUSED__
cppcheck:
- cppcheck -I. --template gcc --enable=all --suppress=unusedStructMember $(CSUPPRESSIONS) *.[ch]
+ cppcheck -I. --template gcc --enable=all $() $(SUPPRESSIONS) *.[ch]
SOURCES = Makefile *.[ch]
DOCS = README COPYING NEWS control microjson.asc
==== Skip fields ====
t_ignore: Value of this attribute is ignored. Significant because
-unexpected attribute names cause the parse to terminate with error
+unexpected attribute names cause the parse to terminate with error.
==== Parallel arrays ===
(int)fputs("Unknown test number\n", stderr);
break;
}
+
+ if (status > 0)
+ printf("Parse failure!\n");
}
int main(int argc, char *argv[])