aboutsummaryrefslogtreecommitdiff
path: root/src/compiled.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiled.rs')
-rw-r--r--src/compiled.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiled.rs b/src/compiled.rs
index 45c7dc3..c9f5ab8 100644
--- a/src/compiled.rs
+++ b/src/compiled.rs
@@ -211,7 +211,7 @@ impl<'a> Predicate<'a> {
negated: op == CompareOp::NotMatchesRegexp,
}
}
- _ => Self::Literal(op, Literal::new(literal_text(expr)?)),
+ _ => Self::Literal(op, Literal::new(literal_text(expr)?, op)),
})
}