]> mj.ucw.cz Git - libucw.git/blobdiff - lib/conf2.t
conf2: verified and fixed all parsers
[libucw.git] / lib / conf2.t
index bbf16eddd9be5153b37167f5b4f90e1c39b0ef6f..836c9fd0fea135ce5197c6523daba41a8db12ac8 100644 (file)
@@ -1,25 +1,41 @@
 # test config file
-Top {
-  nr1=16
+  #include lib/conf2.t
+Top { \
+
+  nr1=16       #!!!
   nrs1         2 3 5 \
            7 11 13 \
            \
            17M
-  nrs2 3 3k 3 3 3
+  nrs2 3 3k 3 3 3 ; \
   str1 "hello, world\n"
   str2 'Hagenuk,
       the best' "\
       " qu'est-ce que c'est?
   u1   0xbadcafebadbeefc0
-  #d1  -1.14e-25
   d1 7%
-  firsttime
-  secondtime 56
+  d1   -1.14e-25
+  firsttime ; secondtime 56
   ^top.master:set      alice HB8+
   slaves:clear
-}
+  ip 0xa
+  ip 195.113.31.123
+};;;;;;
 
 unknown.ignored :-)
 
-top.slaves     cairns gpua 7 7 -0.1 +0.1
-top.slaves     daintree rafc 4 5 -17.1e1
+top.slaves     cairns gpua 7 7 -10% +10%
+top.slaves     daintree rafc 4 5 -171%
+top.slaves     coogee pum 9 8
+top.slaves:prepend     {name=bondi; level=\
+  "PUG"; confidence    10 10}
+top.slaves:remove {name daintree}
+top.slaveS:edit {level PUG} Bondi PUG!
+top.slaveS:before {level pum}{
+  confidence 2
+  list 123 456 789
+}
+
+topp.a=15
+top.nr1=   ' 15'
+a { ;-D }