summaryrefslogtreecommitdiffstats
path: root/filter/test.conf
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-04-26 09:31:45 +0200
committerPavel Machek <pavel@ucw.cz>2000-04-26 09:31:45 +0200
commit94d9dfa47a14609e7057f26614b4094dddc8439d (patch)
treef5b43f453f3d915a5e4b46366c3d61ee88a7478d /filter/test.conf
parent6fd766c17eedf4897e2dff712f0e06bb84dd3d8a (diff)
downloadbird-94d9dfa47a14609e7057f26614b4094dddc8439d.tar
bird-94d9dfa47a14609e7057f26614b4094dddc8439d.zip
Startup renamed to __startup: it is internal function and mj already
uses word startup in other context.
Diffstat (limited to 'filter/test.conf')
-rw-r--r--filter/test.conf9
1 files changed, 8 insertions, 1 deletions
diff --git a/filter/test.conf b/filter/test.conf
index 9e6e31d..f1b3b66 100644
--- a/filter/test.conf
+++ b/filter/test.conf
@@ -46,6 +46,7 @@ clist l;
p2 = prepend( p2, 5 );
print "Should be false: ", p2 ~ p;
print "Should be true: ", p2 ~ / * 4 3 2 1 /, p2, / * 4 3 2 1 /;
+ print "Should be true: ", p2 ~ / * 4 3 * 1 /, p2, / * 4 3 * 1 /;
print "5 = ", p2.len;
l = - empty -;
@@ -58,7 +59,13 @@ clist l;
print "Should be false: ", (2,3) ~ l;
}
-function startup()
+function bla()
+{
+ print "fifteen called";
+ return 15;
+}
+
+function __startup()
int i;
prefix px;
ip p;