version 1.7, 2002/05/31 00:56:21 |
version 1.8, 2002/05/31 22:49:29 |
|
|
if ( continued_action ) |
if ( continued_action ) |
--rule_linenum[num_rules]; |
--rule_linenum[num_rules]; |
|
|
sprintf( action_text, "case %d:\n", num_rules ); |
snprintf( action_text, sizeof action_text, "case %d:\n", num_rules ); |
add_action( action_text ); |
add_action( action_text ); |
|
|
if ( variable_trail_rule ) |
if ( variable_trail_rule ) |
|
|
|
|
if ( headcnt > 0 ) |
if ( headcnt > 0 ) |
{ |
{ |
sprintf( action_text, "%s = %s + %d;\n", |
snprintf( action_text, sizeof action_text, |
scanner_cp, scanner_bp, headcnt ); |
"%s = %s + %d;\n", |
|
scanner_cp, scanner_bp, headcnt ); |
add_action( action_text ); |
add_action( action_text ); |
} |
} |
|
|
else |
else |
{ |
{ |
sprintf( action_text, "%s -= %d;\n", |
snprintf( action_text, sizeof action_text, |
|
"%s -= %d;\n", |
scanner_cp, trailcnt ); |
scanner_cp, trailcnt ); |
add_action( action_text ); |
add_action( action_text ); |
} |
} |