summaryrefslogtreecommitdiff
path: root/src/bytecode.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2018-05-14 21:43:03 -0400
committerAdrian Thurston <thurston@colm.net>2018-05-14 21:43:03 -0400
commit5ac9c1fa04224dd1860b6cbd8fb22df63d800f01 (patch)
tree9ab68f52abe4eff618367d993cf2627784340395 /src/bytecode.h
parent8b79a2ca4b955742bee4f6f73fff0fad9a30f26a (diff)
downloadcolm-5ac9c1fa04224dd1860b6cbd8fb22df63d800f01.tar.gz
use SEND_EOF instruction for setting and restoring EOF bit
Diffstat (limited to 'src/bytecode.h')
-rw-r--r--src/bytecode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bytecode.h b/src/bytecode.h
index 18a5faad..fb866c1a 100644
--- a/src/bytecode.h
+++ b/src/bytecode.h
@@ -278,7 +278,8 @@ typedef unsigned char uchar;
#define IN_SEND_STREAM_WV 0x90
#define IN_SEND_STREAM_BKT 0x1c
-#define IN_SEND_EOF 0x87
+#define IN_SEND_EOF_W 0x87
+#define IN_SEND_EOF_BKT 0xa4
#define IN_PARSE_FINISH_W 0xab
#define IN_PARSE_FINISH_EXIT_W 0xac