From 973c59939cd77385303de3a12e7ee9572a3ba648 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 13 Apr 2022 21:49:13 -0700 Subject: cons-priv: fix uses of nil that should be __nil. --- cppawk-include/cons-priv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cppawk-include/cons-priv.h') diff --git a/cppawk-include/cons-priv.h b/cppawk-include/cons-priv.h index 7e54f84..85bbe42 100644 --- a/cppawk-include/cons-priv.h +++ b/cppawk-include/cons-priv.h @@ -216,7 +216,7 @@ function __box_str(__str) function __box_sym(__name) { - return __name == "nil" ? nil : "S" __name + return __name == "nil" ? __nil : "S" __name } function __cons(__a, __d) @@ -442,7 +442,7 @@ function __list(__rest, { return __arglist("list", __rest, __check) } -#define __list_first(item) __cons(item, nil) +#define __list_first(item) __cons(item, __nil) #define __list_next(list, item) __cons(item, list) #define __li(...) __varexpand(__list_first, \ __list_next, \ -- cgit v1.2.3