summaryrefslogtreecommitdiff
path: root/nfa.c
diff options
context:
space:
mode:
authorJohn Millaway <john43@users.sourceforge.net>2002-08-21 06:54:11 +0000
committerJohn Millaway <john43@users.sourceforge.net>2002-08-21 06:54:11 +0000
commitd51f7007e44ec3cf7a4a6024add7eea10056bd90 (patch)
tree0df87eaf304b0e19e8614b365f9466cd20c61b19 /nfa.c
parent85c40a215fb57e3e29fa744e558f79b096dc61fb (diff)
More tabels work.
Diffstat (limited to 'nfa.c')
-rw-r--r--nfa.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/nfa.c b/nfa.c
index 5b4573a..1bd712c 100644
--- a/nfa.c
+++ b/nfa.c
@@ -225,9 +225,10 @@ int mach, variable_trail_rule, headcnt, trailcnt, pcont_act;
sprintf( action_text, "case %d:\n", num_rules );
add_action( action_text );
- sprintf( action_text, "/* rule %d can match eol = %s*/\n",
- num_rules, rule_has_nl[num_rules]? "true":"false");
- add_action( action_text );
+ if ( rule_has_nl[num_rules] ){
+ sprintf( action_text, "/* rule %d can match eol */\n", num_rules);
+ add_action( action_text );
+ }
if ( variable_trail_rule )