Browse Source

allowing || in line quotes

python3 2.5.9
Volker Birk 3 years ago
parent
commit
93f9507122
4 changed files with 7 additions and 7 deletions
  1. +1
    -1
      heading.en.yhtml2
  2. +2
    -2
      yml2.py
  3. +2
    -2
      yml2c
  4. +2
    -2
      yml2proc

+ 1
- 1
heading.en.yhtml2 View File

@ -13,7 +13,7 @@ decl ne is a {
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";


+ 2
- 2
yml2.py View File

@ -1,4 +1,4 @@
# YML 2.5.8 language definition
# YML 2.5.9 language definition
# written by VB.
@ -77,7 +77,7 @@ def operator(): return 0, keyword("define"), keyword("operator"), literal, k
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


+ 2
- 2
yml2c View File

@ -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/
"""


+ 2
- 2
yml2proc View File

@ -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/
"""


Loading…
Cancel
Save