diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-04-13 21:49:13 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-04-13 21:49:13 -0700 |
commit | 973c59939cd77385303de3a12e7ee9572a3ba648 (patch) | |
tree | 988734c4ec600c9968cb89702fa79f082f83571c /cppawk-include/cons-priv.h | |
parent | cb39da661b251215b67d2714b833da514a1889a9 (diff) | |
download | cppawk-973c59939cd77385303de3a12e7ee9572a3ba648.tar.gz cppawk-973c59939cd77385303de3a12e7ee9572a3ba648.tar.bz2 cppawk-973c59939cd77385303de3a12e7ee9572a3ba648.zip |
cons-priv: fix uses of nil that should be __nil.
Diffstat (limited to 'cppawk-include/cons-priv.h')
-rw-r--r-- | cppawk-include/cons-priv.h | 4 |
1 files changed, 2 insertions, 2 deletions
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, \ |