postgres.git / summary / log / commit / refs
commit 6756c8ad305f78a1d27875c3d40d3bf271cf4789
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Tue Oct 29 19:34:18 2013 +0000
First released in: 9.4.0
Fix old typo in comment.
NFAs have children, but their individual states don't.
src/include/regex/regguts.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/include/regex/regguts.h b/src/include/regex/regguts.h
index 4e04abfa6f2..3a397551d5e 100644
--- a/src/include/regex/regguts.h
+++ b/src/include/regex/regguts.h
@@ -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 */
};
[parent: 9a9473f3cce1]