From 3081448751067b32ff758f1ac04e2ec7369bfff4 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 13 Apr 2022 02:54:08 -0700 Subject: fun now implemented by fun-priv. --- cppawk-include/cons-priv.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cppawk-include/cons-priv.h') diff --git a/cppawk-include/cons-priv.h b/cppawk-include/cons-priv.h index 3ce5873..43bd43f 100644 --- a/cppawk-include/cons-priv.h +++ b/cppawk-include/cons-priv.h @@ -49,8 +49,8 @@ #endif #if __have_indirect_functions -#ifndef __CPPAWK_FUN_H -#include "fun.h" +#ifndef __CPPAWK_FUN_PRIV_H +#include "fun-priv.h" #endif #endif @@ -746,7 +746,7 @@ function __mapcar(__fun, __lst, { __temp = __list_begin() __dolist(__item, __lst) - __temp = __list_add(__temp, call(__fun, __item)) + __temp = __list_add(__temp, __call(__fun, __item)) return __list_end(__temp) } @@ -755,7 +755,7 @@ function __mappend(__fun, __lst, { __temp = __nil __dolist(__item, __lst) - __temp = __append2(__temp, call(__fun, __item)) + __temp = __append2(__temp, __call(__fun, __item)) return __temp } -- cgit v1.2.3