aboutsummaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2020-12-30 19:42:47 -0800
committerBruce Hill <bruce@bruce-hill.com>2020-12-30 19:42:47 -0800
commitff2ef9504159665c30b16b398f1e755665353bc3 (patch)
tree5957bff54c7f1b7619dd044cd55b22fe83f80d09 /types.h
parentbc2ddc0408e47cbc12b0f7d0c0abae943fc74b83 (diff)
Fully purging "bpeg" from the source
Diffstat (limited to 'types.h')
-rw-r--r--types.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/types.h b/types.h
index 0cbcc93..24b66a9 100644
--- a/types.h
+++ b/types.h
@@ -1,5 +1,5 @@
/*
- * types.h - Datatypes used by BPEG
+ * types.h - Datatypes used by BP
*/
#ifndef TYPES__H
#define TYPES__H
@@ -8,17 +8,17 @@
#include "file_loader.h"
-enum BPEGFlag {
- BPEG_VERBOSE = 1 << 0,
- BPEG_IGNORECASE = 1 << 1,
- BPEG_EXPLAIN = 1 << 2,
- BPEG_JSON = 1 << 3,
- BPEG_LISTFILES = 1 << 4,
- BPEG_INPLACE = 1 << 5,
+enum BPFlag {
+ BP_VERBOSE = 1 << 0,
+ BP_IGNORECASE = 1 << 1,
+ BP_EXPLAIN = 1 << 2,
+ BP_JSON = 1 << 3,
+ BP_LISTFILES = 1 << 4,
+ BP_INPLACE = 1 << 5,
};
/*
- * BPEG virtual machine opcodes (these must be kept in sync with the names in vm.c)
+ * BP virtual machine opcodes (these must be kept in sync with the names in vm.c)
*/
enum VMOpcode {
VM_ANYCHAR = 1,
@@ -42,7 +42,7 @@ enum VMOpcode {
};
/*
- * A struct reperesenting a BPEG virtual machine operation
+ * A struct reperesenting a BP virtual machine operation
*/
typedef struct vm_op_s {
enum VMOpcode op;