aboutsummaryrefslogtreecommitdiff
path: root/test/indented-triple-pass/program.markdown
blob: 6628f00b52c474f0334ee19f61ad9a15e2dc4e84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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;