From 6961e4237f24306ab2475f4f527a7c802134c4d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20L=2E=20=C5=A0ijanec?= Date: Fri, 1 May 2020 15:18:12 +0200 Subject: added working inline command tag detector, more constants ability to change inline command tag characters, variable length and count and buffer size from define headers. TODO: line-commands (lines, starting with ?) comments (lines, starting with #) --- test/tape-test.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/tape-test.c (limited to 'test/tape-test.c') diff --git a/test/tape-test.c b/test/tape-test.c new file mode 100644 index 0000000..f1cca25 --- /dev/null +++ b/test/tape-test.c @@ -0,0 +1,10 @@ +#include +#include +#include +extern int main(int argc, char* argv[]) { + if(argc != 3) { + printf("usage: %s source-file file-with-commands-replaced-with-a's\n", argv[0]); + return 1; + } + return bvr_compose_page(argv[1], 0, argv[2]); +} -- cgit v1.2.3