From 24da48a86bb542be247127258db5fcafab4ba011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Fri, 23 Oct 2020 02:08:13 +0200 Subject: release 1.1 --- test/indented-triple-pass/1=program.markdown | 34 +++++++++++++++++++++++++++ test/indented-triple-pass/2=program.markdown | 35 ++++++++++++++++++++++++++++ test/indented-triple-pass/EXP=program.c | 9 +++++++ test/indented-triple-pass/OUT=program.c | 9 +++++++ test/indented-triple-pass/build.bat | 6 +++++ test/indented-triple-pass/program.c | 1 + test/indented-triple-pass/program.markdown | 28 ++++++++++++++++++++++ 7 files changed, 122 insertions(+) create mode 100644 test/indented-triple-pass/1=program.markdown create mode 100644 test/indented-triple-pass/2=program.markdown create mode 100644 test/indented-triple-pass/EXP=program.c create mode 100644 test/indented-triple-pass/OUT=program.c create mode 100644 test/indented-triple-pass/build.bat create mode 100644 test/indented-triple-pass/program.c create mode 100644 test/indented-triple-pass/program.markdown (limited to 'test/indented-triple-pass') diff --git a/test/indented-triple-pass/1=program.markdown b/test/indented-triple-pass/1=program.markdown new file mode 100644 index 0000000..db170bc --- /dev/null +++ b/test/indented-triple-pass/1=program.markdown @@ -0,0 +1,34 @@ +# My program -> program.c + + char *line; + int line_length; + int line_size; + int main(int argc, char *argv[]) { + int i; + <> + ... + } + +## Main function -> main + +Here is the main function: + + int main(int argc, char *argv[]) { + int i; + for (i = 1; i < argc; i++) + ... + ... + } + +### Command-line options -> main.options + + for (i = 1; i < argc; i++) + ... + +### Declarations -> declarations + +So far, we have used the following global variables: + + char *line; + int line_length; + int line_size; diff --git a/test/indented-triple-pass/2=program.markdown b/test/indented-triple-pass/2=program.markdown new file mode 100644 index 0000000..38b3ee9 --- /dev/null +++ b/test/indented-triple-pass/2=program.markdown @@ -0,0 +1,35 @@ +# My program -> program.c + + char *line; + int line_length; + int line_size; + int main(int argc, char *argv[]) { + int i; + for (i = 1; i < argc; i++) + ... + ... + } + +## Main function -> main + +Here is the main function: + + int main(int argc, char *argv[]) { + int i; + for (i = 1; i < argc; i++) + ... + ... + } + +### Command-line options -> main.options + + for (i = 1; i < argc; i++) + ... + +### Declarations -> declarations + +So far, we have used the following global variables: + + char *line; + int line_length; + int line_size; diff --git a/test/indented-triple-pass/EXP=program.c b/test/indented-triple-pass/EXP=program.c new file mode 100644 index 0000000..37a8bc3 --- /dev/null +++ b/test/indented-triple-pass/EXP=program.c @@ -0,0 +1,9 @@ +char *line; +int line_length; +int line_size; +int main(int argc, char *argv[]) { + int i; + for (i = 1; i < argc; i++) + ... + ... +} diff --git a/test/indented-triple-pass/OUT=program.c b/test/indented-triple-pass/OUT=program.c new file mode 100644 index 0000000..37a8bc3 --- /dev/null +++ b/test/indented-triple-pass/OUT=program.c @@ -0,0 +1,9 @@ +char *line; +int line_length; +int line_size; +int main(int argc, char *argv[]) { + int i; + for (i = 1; i < argc; i++) + ... + ... +} diff --git a/test/indented-triple-pass/build.bat b/test/indented-triple-pass/build.bat new file mode 100644 index 0000000..be5a294 --- /dev/null +++ b/test/indented-triple-pass/build.bat @@ -0,0 +1,6 @@ +@echo off +setlocal +cd /d %~dp0 +..\..\tt -d# -o1= program.markdown < program.markdown +..\..\tt -d# -o2= program.markdown < "1=program.markdown" +..\..\tt -d# -oOUT= program.c < "2=program.markdown" \ No newline at end of file diff --git a/test/indented-triple-pass/program.c b/test/indented-triple-pass/program.c new file mode 100644 index 0000000..d82e40b --- /dev/null +++ b/test/indented-triple-pass/program.c @@ -0,0 +1 @@ +<> \ No newline at end of file diff --git a/test/indented-triple-pass/program.markdown b/test/indented-triple-pass/program.markdown new file mode 100644 index 0000000..6628f00 --- /dev/null +++ b/test/indented-triple-pass/program.markdown @@ -0,0 +1,28 @@ +# My program -> program.c + + <> + <> + <
> + +## Main function -> main + +Here is the main function: + + int main(int argc, char *argv[]) { + int i; + <> + ... + } + +### Command-line options -> main.options + + for (i = 1; i < argc; i++) + ... + +### Declarations -> declarations + +So far, we have used the following global variables: + + char *line; + int line_length; + int line_size; \ No newline at end of file -- cgit v1.2.3