cmark

My personal build of CMark ✏️

Commit
dee580425077fd177f49cddf64a157af032fbb3f
Parent
7c9d5f9db14da9aa8fee313d4e6e933b7ea3d109
Author
John MacFarlane <jgm@berkeley.edu>
Date

Fixed leakcheck for python3.

Diffstat

1 file changed, 1 insertion, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified Makefile 2 1 1
diff --git a/Makefile b/Makefile
@@ -108,7 +108,7 @@ testziparchive: $(ZIPARCHIVE)
 	mkdir build && cd build && cmake .. && make && ctest -V
 
 $(ALLTESTS): spec.txt
-	python3 test/spec_tests.py --spec $< --dump-tests | python3 -c 'import json; import sys; tests = json.loads(sys.stdin.read()); print "\n".join([test["markdown"] for test in tests]).encode("utf-8")' > $@
+	python3 test/spec_tests.py --spec $< --dump-tests | python3 -c 'import json; import sys; tests = json.loads(sys.stdin.read()); print("\n".join([test["markdown"] for test in tests]).encode("utf-8"))' > $@
 
 leakcheck: $(ALLTESTS)
 	cat $< | valgrind --leak-check=full --dsymutil=yes --error-exitcode=1 $(PROG) >/dev/null