Replace "end" keyword with "end_param". The latter is more explicit and can
now be used just after the "param" keyword if the function has no parameter.

The examples have been updated.