$level_i = --$level_in_tokenizer;
+ if ( $level_in_tokenizer < 0 ) {
+ unless ( $self->[_saw_negative_indentation_] ) {
+ $self->[_saw_negative_indentation_] = 1;
+ warning("Starting negative indentation\n");
+ }
+ }
+
# restore previous level values
if ( length($nesting_block_string) > 1 )
{ # true for valid script
);
##if $routput_container_type->[$i] =~ /^[;,\{\}]$/;
}
-
- elsif ( $tok_i eq ';' ) {
- $in_statement_continuation = 0;
- }
} ## end if ( length($nesting_block_string...))
$ci_string_i = $ci_string_sum + $in_statement_continuation;
#-------------------------------------------
# Section 4: operations common to all levels
#-------------------------------------------
- if ( $level_in_tokenizer < 0 ) {
- unless ( $self->[_saw_negative_indentation_] ) {
- $self->[_saw_negative_indentation_] = 1;
- warning("Starting negative indentation\n");
- }
- }
# set secondary nesting levels based on all containment token
# types Note: these are set so that the nesting depth is the