From c3143fbdb7ea46539023e11cb30a7b14434030f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 23 Oct 2020 02:11:59 +0200 Subject: release 1.2 --- src/tt.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 src/tt.c (limited to 'src/tt.c') diff --git a/src/tt.c b/src/tt.c new file mode 100644 index 0000000..8a5c777 --- /dev/null +++ b/src/tt.c @@ -0,0 +1,46 @@ +// tt.c -- tangle to, written by John Ankarström -> tt.c + +#include + +#ifdef _WIN32 +#include +#pragma comment(lib, "Shlwapi.lib") +#else +#include +#include +#include +#include +#include +#include +#endif + +<> + +#define err(code, string) do { fprintf(stderr, "%s: %s: %s\n", string, strerror(errno)); exit(code); } while (0) +#define die(...) do { fprintf(stderr, __VA_ARGS__); exit(1); } while (0) +#define true 1 +#define false 0 +#define bool int + +<> + +int main(int argc, char *argv[]) { + <> + <> + <> + <> + <> + return 0; +} + +void reference(char *line) { + <> + <> + <> +} + +bool insertion(char *line) { + <> + <> + <> +} \ No newline at end of file -- cgit v1.2.3