Fix old typo in comment.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 29 Oct 2013 19:34:18 +0000 (15:34 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 29 Oct 2013 19:34:18 +0000 (15:34 -0400)
NFAs have children, but their individual states don't.

src/include/regex/regguts.h

index 4e04abfa6f295ea235eeb8cbae61d1e9240ecde0..3a397551d5e3dff2154ed92ab069d91ee5234801 100644 (file)
@@ -331,8 +331,8 @@ struct nfa
    color       bos[2];         /* colors, if any, assigned to BOS and BOL */
    color       eos[2];         /* colors, if any, assigned to EOS and EOL */
    size_t      size;           /* Current NFA size; differs from nstates as
-                                * it also counts the number of states created
-                                * by children of this state. */
+                                * it also counts the number of states in
+                                * children of this NFA. */
    struct vars *v;             /* simplifies compile error reporting */
    struct nfa *parent;         /* parent NFA, if any */
 };