We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent91e7926 commit23116d5Copy full SHA for 23116d5
src/include/regex/regguts.h
@@ -162,6 +162,10 @@ typedef int pcolor;/* what color promotes to */
162
* deep (in the past it was shallower during construction but was "filled"
163
* to full depth at the end of that); areas that are unaltered as yet point
164
* to "fill blocks" which are entirely WHITE in color.
165
+ *
166
+ * Leaf-level tree blocks are of type "struct colors", while upper-level
167
+ * blocks are of type "struct ptrs". Pointers into the tree are generally
168
+ * declared as "union tree *" to be agnostic about what level they point to.
169
*/
170
171
/* the tree itself */
@@ -179,6 +183,7 @@ union tree
179
183
structptrsptrs;
180
184
};
181
185
186
+/* use these pseudo-field names when dereferencing a "union tree" pointer */
182
187
#definetcolorcolors.ccolor
188
#definetptrptrs.pptr
189