summaryrefslogtreecommitdiff
path: root/nfa.c
diff options
context:
space:
mode:
authorVern Paxson <vern@ee.lbl.gov>1988-04-10 20:48:53 +0000
committerVern Paxson <vern@ee.lbl.gov>1988-04-10 20:48:53 +0000
commit282bcb1a3e4ea4c03d19e56a49068b5ae0b73fbc (patch)
tree8a8999ab9091153f91afceaeba80d6af571f4f7f /nfa.c
parent78e23d2ecee70c3cf01fe4de33cca335e931dd8a (diff)
changed name from flexnfa.c -> nfa.c
corrected some typos.
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 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 )