/usr/share/wml/include/sys/compat1.wml is in wml 2.0.12ds1-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | ##
## wml::sys::compat1 -- Backward Compatibility with WML 1.x
## Copyright (c) 1999-2001 Denis Barbier
##
## These macros are defined for compatibility with Meta-HTML
##
<define-tag define-container endtag=required attributes=verbatim>\
<define-tag %attributes endtag=required>%body</define-tag>\
<set-hook define-container>
<warning "The `define-container' tag is obsolete, see `define-tag'" />
<set-hook define-container action=replace></set-hook>
</set-hook>
</define-tag>
<define-tag defmacro endtag=required attributes=verbatim>\
<define-tag %attributes endtag=required>%body</define-tag>\
<set-hook defmacro>
<warning "The `defmacro' tag is obsolete, see `define-tag'" />
<set-hook defmacro action=replace></set-hook>
</set-hook>
</define-tag>
<define-tag wml-obsolete whitespace=delete>
<let %0=%1 />
<set-hook %0>
<warning "The `%0' tag is obsolete, see `%1'" />
<set-hook %0 action=replace></set-hook>
</set-hook>
</define-tag>
<wml-obsolete defsubst define-tag />
<wml-obsolete prog group />
<wml-obsolete concat group />
# Since WML 2.0.2, tag names cannot begin with a percent sign
# <wml-obsolete %%eval group>
<wml-obsolete array:push array-push />
<wml-obsolete array:pop array-pop />
# Mathematical functions
# <add>, <min> and <max> are unchanged.
<wml-obsolete sub substract />
<wml-obsolete mul multiply />
# The <div> tag is not defined since it is a valid HTML tag.
<wml-obsolete mod modulo />
##EOF##
|