aboutsummaryrefslogtreecommitdiff
path: root/src/include/regex/regguts.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-10-29 15:34:18 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2013-10-29 15:34:18 -0400
commit6756c8ad305f78a1d27875c3d40d3bf271cf4789 (patch)
tree2447b2aafab9b29b9b3744f9096b6ef99d37ea8a /src/include/regex/regguts.h
parent9a9473f3cce1a21c25d6cc7569710e832d2b180b (diff)
downloadpostgresql-6756c8ad305f78a1d27875c3d40d3bf271cf4789.tar.gz
postgresql-6756c8ad305f78a1d27875c3d40d3bf271cf4789.zip
Fix old typo in comment.
NFAs have children, but their individual states don't.
Diffstat (limited to 'src/include/regex/regguts.h')
-rw-r--r--src/include/regex/regguts.h4
1 files 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 */
};