X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ftibdoc.g;h=f012231431997c63bf8898ceb318bc8b40fb1acc;hb=7ae0f5a59e73016bac97ee23da9f0b10bce6fa12;hp=17be29773068896b5bb5b82b759280ac28a8adeb;hpb=d87c46fcaa7a709fd42a296c4684b725f39a429e;p=sbp.git diff --git a/tests/tibdoc.g b/tests/tibdoc.g index 17be297..f012231 100644 --- a/tests/tibdoc.g +++ b/tests/tibdoc.g @@ -84,19 +84,21 @@ oli = ("# "|onums)! (ws! text &~ any (oli|uli)!) text = Item Itemx = ws! Item | () -Item =// "[]":: blockquote Itemx -// > - "[]":: { UL:: uli+/ws } Itemx - | "[]":: { OL:: oli+/ws } Itemx - > "[]":: pre Itemx - > "[]":: link Itemx - > "[]":: structured Itemx - > "[]":: styled Itemx - > "[]":: (Chars:: alphanum++) Itemx - > "[]":: "\"" text "\"" Itemx - > "[]":: (Symbol:: sym++) Itemx - > "[]":: { Block:: text } Itemx +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