summaryrefslogtreecommitdiffstats
path: root/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regex.c b/regex.c
index 0c7e27b9..f0dcb85b 100644
--- a/regex.c
+++ b/regex.c
@@ -929,7 +929,7 @@ static nfa_t nfa_compile_list(val exp_list)
*/
static nfa_t nfa_compile_regex(val exp)
{
- if (nullp(exp)) {
+ if (nilp(exp)) {
nfa_state_t *acc = nfa_state_accept();
nfa_state_t *s = nfa_state_empty(acc, 0);
return nfa_make(s, acc);