75 def python(): return [r(r"!!.*?!!", re.S), r(r"!.*")] |
75 def python(): return [r(r"!!.*?!!", re.S), r(r"!.*")] |
76 def operator(): return 0, keyword("define"), keyword("operator"), literal, keyword("as"), r(r".*") |
76 def operator(): return 0, keyword("define"), keyword("operator"), literal, keyword("as"), r(r".*") |
77 def constant(): return 0, keyword("define"), [pointer, symbol], "=", literal, 0, [";", "."] |
77 def constant(): return 0, keyword("define"), [pointer, symbol], "=", literal, 0, [";", "."] |
78 def in_ns(): return keyword("in"), xmlSymbol, [_decl, ("{", -2, _decl, "}")] |
78 def in_ns(): return keyword("in"), xmlSymbol, [_decl, ("{", -2, _decl, "}")] |
79 _decl = keyword("decl"), listing(decl), [";", "."] |
79 _decl = keyword("decl"), listing(decl), [";", "."] |
80 def textsection(): return r(r'(\|\|(\>*).*?\|\|(\>*))', re.S) |
80 def textsection(): return r(r'(\|\|(\>*)(.*?)\|\|(\>*))\s*$', re.S | re.M) |
81 def textsectionu(): return r(r'(\>\>.*?\>\>)', re.S) |
81 def textsectionu(): return r(r'(\>\>.*?\>\>)', re.S) |
82 def include(): return keyword("include"), 0, reverse, 0, [ktext, kxml], filename, 0, [";", "."] |
82 def include(): return keyword("include"), 0, reverse, 0, [ktext, kxml], filename, 0, [";", "."] |
83 def func(): return _func, 0, content |
83 def func(): return _func, 0, content |
84 def funclist(): return listing(func) |
84 def funclist(): return listing(func) |
85 _cmd = funclist, 0, [";", "."] |
85 _cmd = funclist, 0, [";", "."] |