Lines Matching refs:state
785 my %state = (
840 $state{current_line}++;
842 $opts{PLACE} = " at ".$opts{filename}." line ".$state{current_line}."\n";
843 $opts{PLACE2} = $opts{filename}.":".$state{current_line};
864 unless ($state{in_comment}) {
929 && ! @{$state{c_parens}}
930 && ! $state{in_string} ) {
995 if ($state{in_string}) {
997 $state{in_string} # Look for matching quote
1000 $state{in_string} = "";
1008 elsif ($state{in_comment}) {
1012 if ($state{in_comment} eq "//");
1019 $state{in_comment} = "";
1057 if (!@{$state{$parens}}) {
1059 $state{in_extern_C} = 1;
1076 push @{$state{$parens}}, $body;
1081 if (!@{$state{$parens}}
1082 && $& eq '}' && $state{in_extern_C}) {
1085 $state{in_extern_C} = 0;
1088 ,join("', '", @{$state{$parens}})
1092 unless (@{$state{$parens}}
1093 && pop @{$state{$parens}} eq $&);
1094 if (!@{$state{$parens}}) {
1107 $state{in_string} = $body;
1111 $state{in_comment} = $&;