aboutsummaryrefslogtreecommitdiffstats
path: root/testcases-iter
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-04-03 13:16:05 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-04-03 13:16:05 -0700
commitef0986f320d50e1a9eae55369a168f1704f4ee3c (patch)
treece93442c045ece140b026fba899d04765407c763 /testcases-iter
parentf40b4fb9823af7797ad5fdef0259772b1179d5c5 (diff)
downloadcppawk-ef0986f320d50e1a9eae55369a168f1704f4ee3c.tar.gz
cppawk-ef0986f320d50e1a9eae55369a168f1704f4ee3c.tar.bz2
cppawk-ef0986f320d50e1a9eae55369a168f1704f4ee3c.zip
iter, vars, fun: use only cons-priv.
Diffstat (limited to 'testcases-iter')
-rw-r--r--testcases-iter5
1 files changed, 4 insertions, 1 deletions
diff --git a/testcases-iter b/testcases-iter
index 223ca4c..9f85466 100644
--- a/testcases-iter
+++ b/testcases-iter
@@ -184,6 +184,7 @@ BEGIN {
10:
$cppawk '
#include <iter.h>
+#include <cons.h>
BEGIN {
$0 = "a b c" # set fields
@@ -322,6 +323,7 @@ min x = 2.356
15:
$cppawk '
#include <iter.h>
+#include <cons.h>
BEGIN {
loop (list(tail, item, list(1, 2, 3, 0, 5, -3, 7)),
@@ -336,7 +338,7 @@ min = -3
16:
$cppawk '
#include <iter.h>
-
+#include <cons.h>
function index_from(str, ch, start,
sstr, pos)
@@ -372,6 +374,7 @@ BEGIN {
17:
$cppawk '
#include <iter.h>
+#include <cons.h>
BEGIN {
loop (range (i, 1, 10),