Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6756c8a

Browse files
committed
Fix old typo in comment.
NFAs have children, but their individual states don't.
1 parent 9a9473f commit 6756c8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/regex/regguts.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -331,8 +331,8 @@ struct nfa
331331
color bos[2]; /* colors, if any, assigned to BOS and BOL */
332332
color eos[2]; /* colors, if any, assigned to EOS and EOL */
333333
size_t size; /* Current NFA size; differs from nstates as
334-
* it also counts the number of states created
335-
* by children of this state. */
334+
* it also counts the number of states in
335+
* children of this NFA. */
336336
struct vars *v; /* simplifies compile error reporting */
337337
struct nfa *parent; /* parent NFA, if any */
338338
};

0 commit comments

Comments
 (0)