aboutsummaryrefslogtreecommitdiff
path: root/test/indented-triple-pass/program.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'test/indented-triple-pass/program.markdown')
-rw-r--r--test/indented-triple-pass/program.markdown28
1 files changed, 28 insertions, 0 deletions
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
+
+ <<includes>>
+ <<declarations>>
+ <<main>>
+
+## Main function -> main
+
+Here is the main function:
+
+ int main(int argc, char *argv[]) {
+ int i;
+ <<main.options>>
+ ...
+ }
+
+### 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