aboutsummaryrefslogtreecommitdiff
path: root/test/indented-triple-pass/1=program.markdown
blob: db170bcf6ca229219305423c9c3141705ba1cc97 (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
29
30
31
32
33
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;