aboutsummaryrefslogtreecommitdiff
path: root/json.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-16 10:29:09 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-16 10:29:09 -0800
commit3f6e7c2beb512d6c3db51bfc94279f0d11e47057 (patch)
tree69de5dc22885dd669cc01e0573d6a066257a9c01 /json.c
parenta2f30332ccb8f0d87dc7750d4f081d44fd771f7f (diff)
Renamed VM_ to BP_
Diffstat (limited to 'json.c')
-rw-r--r--json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/json.c b/json.c
index f2580f8..0719d84 100644
--- a/json.c
+++ b/json.c
@@ -17,7 +17,7 @@ static int _json_match(const char *text, match_t *m, int comma, unsigned int ver
static int _json_match(const char *text, match_t *m, int comma, unsigned int verbose)
{
if (!verbose) {
- if (m->pat->type != VM_REF) {
+ if (m->pat->type != BP_REF) {
for (match_t *child = m->child; child; child = child->nextsibling) {
comma |= _json_match(text, child, comma, verbose);
}