]> granicus.if.org Git - flex/commitdiff
changed name from flexnfa.c -> nfa.c
authorVern Paxson <vern@ee.lbl.gov>
Sun, 10 Apr 1988 20:48:53 +0000 (20:48 +0000)
committerVern Paxson <vern@ee.lbl.gov>
Sun, 10 Apr 1988 20:48:53 +0000 (20:48 +0000)
corrected some typos.

nfa.c

diff --git a/nfa.c b/nfa.c
index 9b938928246643f5aff44ca6b4bb0c3b7798a2f5..a2b2c8e56d1e819a79d3c8af5ca49173a5bf7c3c 100644 (file)
--- 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 )