summaryrefslogtreecommitdiff
path: root/doc/bird.sgml
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2013-10-02 14:57:29 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2013-10-02 14:57:29 +0200
commit7ccb36d3308ef57d340e663f0cabd24663f4f62a (patch)
tree131c95083d7e0f713241121d9c4a6116f71dcf78 /doc/bird.sgml
parent28a10f84cbc3635e59bff348cb1715859dfacade (diff)
Implements C.len operator for clist and eclist types.
Thanks to Sergey Popovich for the original patch.
Diffstat (limited to 'doc/bird.sgml')
-rw-r--r--doc/bird.sgml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/bird.sgml b/doc/bird.sgml
index f43eb4bf..050acf33 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -1077,6 +1077,8 @@ incompatible with each other (that is to prevent you from shooting in the foot).
no literals of this type. There are three special operators on
clists:
+ <cf><m/C/.len</cf> returns the length of clist <m/C/.
+
<cf>add(<m/C/,<m/P/)</cf> adds pair (or quad) <m/P/ to clist
<m/C/ and returns the result. If item <m/P/ is already in
clist <m/C/, it does nothing. <m/P/ may also be a clist,