Lines Matching refs:state
271 my $state;
1864 $state = 0;
2047 if ($state == 0) {
2049 $state = 1; # next line is always the function name
2052 } elsif ($state == 1) { # this line is the function name (always)
2054 $state = 4;
2068 $state = 2;
2106 $state = 0;
2108 } elsif ($state == 2) { # look for head: lines, and include content
2147 $state = 3;
2174 } elsif ($state == 3) { # scanning for function '{' (end of prototype)
2180 } elsif ($state == 4) {
2211 $state = 0;