summaryrefslogtreecommitdiff
path: root/nfa.c
diff options
context:
space:
mode:
authorVern Paxson <vern@ee.lbl.gov>1990-03-16 16:52:00 +0000
committerVern Paxson <vern@ee.lbl.gov>1990-03-16 16:52:00 +0000
commitbd6b6a7fad0811263f313e2c0ffabe8e24425370 (patch)
treea546a77d573e72574c538c566ab604dde998f8ce /nfa.c
parent66682f70ef866dc2f73f93275bb233c65a31e5b8 (diff)
hack for NUL's.
Diffstat (limited to 'nfa.c')
-rw-r--r--nfa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nfa.c b/nfa.c
index 1d15a58..44067a2 100644
--- a/nfa.c
+++ b/nfa.c
@@ -642,7 +642,8 @@ int sym;
else
{
if ( useecs )
- mkechar( sym, nextecm, ecgroup );
+ /* map NUL's to csize */
+ mkechar( sym ? sym : csize, nextecm, ecgroup );
}
return ( lastnfa );