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 | |
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')
-rw-r--r-- | cppawk-include/cons-priv.h | 4 | ||||
-rw-r--r-- | cppawk-include/varg-priv.h | 2 |
2 files changed, 3 insertions, 3 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, \ diff --git a/cppawk-include/varg-priv.h b/cppawk-include/varg-priv.h index 9a92b61..04c889f 100644 --- a/cppawk-include/varg-priv.h +++ b/cppawk-include/varg-priv.h @@ -160,7 +160,7 @@ #define __varg_list(name, check, count, out) \ __varg_count(name, check, count); \ - out = nil; \ + out = __nil; \ __case (count) { \ __of (32) \ out = __cons(__r32, out); \ |