checkpoint
[sbp.git] / tests / tibdoc.g
index 51e66e1..f012231 100644 (file)
@@ -84,23 +84,21 @@ oli          = ("# "|onums)! (ws! text &~ any (oli|uli)!)
 text         = Item
 Itemx        = ws! Item
              | ()
-Item
-//*/ws
-     =
-// "[]":: blockquote                 ((ws! Item) | ())
-//             >
- "[]":: { UL:: uli+/ws }           ((ws! Item) | ())
-             | "[]":: { OL:: oli+/ws }           ((ws! Item) | ())
-             > "[]":: pre                        ((ws! Item) | ())
-             > "[]":: link                       ((ws! Item) | ())
-             > "[]":: structured                 ((ws! Item) | ())
-             > "[]":: styled                     ((ws! Item) | ())
-             > "[]":: (Chars:: alphanum++)       ((ws! Item) | ())
-             > "[]":: "\"" text "\""             ((ws! Item) | ())
-             > "[]":: (Symbol:: sym++)           ((ws! Item) | ())
-             > "[]":: { Block:: text }           ((ws! Item) | ())
-
 
+Item*/ws     =
+               blockquote
+             > { UL:: uli+/ws }           
+             | { OL:: oli+/ws }           
+             > pre                        
+             > link                       
+             > structured                 
+             > styled                     
+             > (Chars:: alphanum++)       
+             > "\"" text "\""             
+             > (Symbol:: sym++)           
+             > { Block:: text }           
+
+blockquote = "adsfafewag"
 //blockquote   = Blockquote:: "\"\"" (block | text "\"\"")
              
 pre          = Verbatim:: "[verbatim]" { ~[]+ } /ws   // FIXME doesn't work