From: Vern Paxson Date: Sun, 10 Apr 1988 20:48:53 +0000 (+0000) Subject: changed name from flexnfa.c -> nfa.c X-Git-Tag: flex-2-5-5b~651 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=282bcb1a3e4ea4c03d19e56a49068b5ae0b73fbc;p=flex changed name from flexnfa.c -> nfa.c corrected some typos. --- diff --git a/nfa.c b/nfa.c index 9b93892..a2b2c8e 100644 --- a/nfa.c +++ b/nfa.c @@ -1,4 +1,4 @@ -/* flexnfa - NFA construction routines */ +/* nfa - NFA construction routines */ /* * Copyright (c) 1987, the University of California @@ -71,7 +71,8 @@ int mach, headcnt, trailcnt; /* hang the accepting number off an epsilon state. if it is associated * with a state that has a non-epsilon out-transition, then the state - * will accept BEFORE it makes that transition, i.e. one character too soon + * will accept BEFORE it makes that transition, i.e., one character + * too soon */ if ( transchar[finalst[mach]] == SYM_EPSILON ) @@ -438,7 +439,7 @@ int state; * number of times to "ub" number of times * * note - * if "ub" is INFINITY then "new" matches "lb" or more occurances of "mach" + * if "ub" is INFINITY then "new" matches "lb" or more occurrences of "mach" */ int mkrep( mach, lb, ub )