Skip to content
Snippets Groups Projects
Commit 06619533 authored by sven.panne@aedion.de's avatar sven.panne@aedion.de
Browse files

[project @ 2000-02-15 22:18:16 by panne]

First steps towards DEPRECATED before Rosebank (12yrs) takes its toll.
Nothing very functional yet, but at least hsc can be compiled and it
still compiles the Prelude.

Parsing the pragma turned out to be a little bit more complicated than
expected, here the comment from Parser.y:

   The place for module deprecation is really too restrictive, but if it
   was allowed at its natural place just before 'module', we get an ugly
   s/r conflict with the second alternative. Another solution would be the
   introduction of a new pragma DEPRECATED_MODULE, but this is not very nice,
   either, and DEPRECATED is only expected to be used by people who really
   know what they are doing. :-)

Net result: Module deprecation is allowed exactly behind the module's
name and nowhere else. I probably have to think a little bit more
about this some day...
parent 2c64208b
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment