summaryrefslogtreecommitdiff
path: root/colm/bytecode.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2012-05-16 20:44:06 -0400
committerAdrian Thurston <thurston@complang.org>2012-05-16 20:44:06 -0400
commit7eed2395749903cd156f95be0ac17dd5c297b7b7 (patch)
tree50b424dc6a9b14244d3dea1cd38a09f16df4f28e /colm/bytecode.h
parent45406b0b7ea207d1afbe2c0c4c7cf0d27c2d3e61 (diff)
downloadcolm-7eed2395749903cd156f95be0ac17dd5c297b7b7.tar.gz
Call the parse tree flags PF_*.
Diffstat (limited to 'colm/bytecode.h')
-rw-r--r--colm/bytecode.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/colm/bytecode.h b/colm/bytecode.h
index ac0e357f..f00759a6 100644
--- a/colm/bytecode.h
+++ b/colm/bytecode.h
@@ -338,23 +338,23 @@ typedef unsigned char uchar;
*/
/* A tree that has been generated by a termDup. */
-#define AF_TERM_DUP 0x0001
+#define PF_TERM_DUP 0x0001
/* Has been processed by the commit function. All children have also been
* processed. */
-#define AF_COMMITTED 0x0002
+#define PF_COMMITTED 0x0002
/* Created by a token generation action, not made from the input. */
-#define AF_ARTIFICIAL 0x0004
+#define PF_ARTIFICIAL 0x0004
/* Named node from a pattern or constructor. */
-#define AF_NAMED 0x0008
+#define PF_NAMED 0x0008
/* There is reverse code associated with this tree node. */
-#define AF_HAS_RCODE 0x0010
+#define PF_HAS_RCODE 0x0010
-#define AF_LEFT_IL_ATTACHED 0x0400
-#define AF_RIGHT_IL_ATTACHED 0x0800
+#define PF_LEFT_IL_ATTACHED 0x0400
+#define PF_RIGHT_IL_ATTACHED 0x0800
#define AF_LEFT_IGNORE 0x0100
#define AF_RIGHT_IGNORE 0x0200