X-Git-Url: http://git.megacz.com/?p=sbp.git;a=blobdiff_plain;f=tests%2Ftibdoc.g;fp=tests%2Ftibdoc.g;h=f455d899dcd59f5d894b0c22939251cdc4c6581a;hp=80c8cefaa01077bc7d13787d028ecce72c29a3c3;hb=41b74cd8469abb0bdff811f26594a7ef87cb26a6;hpb=babae49de7b777a5847f277bb74c88e77c67568a diff --git a/tests/tibdoc.g b/tests/tibdoc.g index 80c8cef..f455d89 100644 --- a/tests/tibdoc.g +++ b/tests/tibdoc.g @@ -57,9 +57,9 @@ nw = ~[\r\n\ ] s = Doc Doc = head:Header body:Body /ws -Header = H:: { "header" { KeyVal */ ws } /ws } -Body = B:: {Section}*/ws -Section = SectionHeader ws! (Paragraph Paragraph) +Header = { "header" { KeyVal */ ws } /ws } +Body = {Section}*/ws +Section = SectionHeader ws! Paragraph* SectionHeader = "==" SectionHeaderBody "==" SectionHeaderBody = "=" SectionHeaderBody "=" > ws! alphanum++ ws!