##
##  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##
