# HG changeset patch # User Volker Birk # Date 1542749722 -3600 # Node ID f2e8837da4e9821a0757b5d90687fb3ed8da4b17 # Parent 3a2bd70c01dfa6941b8e37dbc27673a1f9713fe4 allowing || in line quotes diff -r 3a2bd70c01df -r f2e8837da4e9 heading.en.yhtml2 --- a/heading.en.yhtml2 Wed Aug 29 23:57:58 2018 +0200 +++ b/heading.en.yhtml2 Tue Nov 20 22:35:22 2018 +0100 @@ -13,7 +13,7 @@ div id=headline { p > YML – Why a Markup Language?! div class=small { - "YML 2.5.8 of We 29 Aug 2018 – Copyleft 2007-2018, " + "YML 2.5.9 of Tu 20 Nov 2018 – Copyleft 2007-2018, " a "http://blog.fdik.org", "Volker Birk"; " – " a "http://fdik.org/yml2.tar.bz2", "Download YML 2"; diff -r 3a2bd70c01df -r f2e8837da4e9 yml2.py --- a/yml2.py Wed Aug 29 23:57:58 2018 +0200 +++ b/yml2.py Tue Nov 20 22:35:22 2018 +0100 @@ -1,4 +1,4 @@ -# YML 2.5.8 language definition +# YML 2.5.9 language definition # written by VB. @@ -77,7 +77,7 @@ def constant(): return 0, keyword("define"), [pointer, symbol], "=", literal, 0, [";", "."] def in_ns(): return keyword("in"), xmlSymbol, [_decl, ("{", -2, _decl, "}")] _decl = keyword("decl"), listing(decl), [";", "."] -def textsection(): return r(r'(\|\|(\>*).*?\|\|(\>*))', re.S) +def textsection(): return r(r'(\|\|(\>*)(.*?)\|\|(\>*))\s*$', re.S | re.M) def textsectionu(): return r(r'(\>\>.*?\>\>)', re.S) def include(): return keyword("include"), 0, reverse, 0, [ktext, kxml], filename, 0, [";", "."] def func(): return _func, 0, content diff -r 3a2bd70c01df -r f2e8837da4e9 yml2c --- a/yml2c Wed Aug 29 23:57:58 2018 +0200 +++ b/yml2c Tue Nov 20 22:35:22 2018 +0100 @@ -2,8 +2,8 @@ # vim: set fileencoding=utf-8 : """\ -YML 2 compiler version 5.8 -Copyleft (c), 2009-2011, Volker Birk http://fdik.org/yml/ +YML 2 compiler version 5.9 +Copyleft (c), 2009-2018, Volker Birk http://fdik.org/yml/ """ diff -r 3a2bd70c01df -r f2e8837da4e9 yml2proc --- a/yml2proc Wed Aug 29 23:57:58 2018 +0200 +++ b/yml2proc Tue Nov 20 22:35:22 2018 +0100 @@ -2,8 +2,8 @@ # vim: set fileencoding=utf-8 : """\ -YML/YSLT 2 processor version 5.8 -Copyleft (c), 2009-2011 Volker Birk http://fdik.org/yml/ +YML/YSLT 2 processor version 5.9 +Copyleft (c), 2009-2018 Volker Birk http://fdik.org/yml/ """