From 6756c8ad305f78a1d27875c3d40d3bf271cf4789 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Tue, 29 Oct 2013 15:34:18 -0400
Subject: [PATCH] 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 */
 };
-- 
GitLab