aboutsummaryrefslogtreecommitdiff
path: root/test/indented-triple-pass/1=program.markdown
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2020-10-23 02:08:13 +0200
committerJohn Ankarström <john@ankarstrom.se>2020-10-23 02:08:13 +0200
commit24da48a86bb542be247127258db5fcafab4ba011 (patch)
tree30e7b826df0d52ae9f5b3b0c779c460b076d2043 /test/indented-triple-pass/1=program.markdown
parent73bcdd66f3b4ce183bf8b9b0b5784830189c37f5 (diff)
downloadtt-24da48a86bb542be247127258db5fcafab4ba011.tar.gz
release 1.1
Diffstat (limited to 'test/indented-triple-pass/1=program.markdown')
-rw-r--r--test/indented-triple-pass/1=program.markdown34
1 files changed, 34 insertions, 0 deletions
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.options>>
+ ...
+ }
+
+## 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;