Re: short's shortcomings
Philippe Ribet <[email protected]>
| Newsgroups | gmane.comp.lang.eiffel.smalleiffel |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: >Hi Frank, all, > > > >>Sorry, but I could not resist that subject. >> >> > >8-) > > > >>A mechanism for associating a replacement descriptive comment when >>features are renamed would add to the usefulness of "short" >>documentation. >>Could you consider such a capability. >> >> > >I see only one way to do this: add a comment to the rename clause... > >class CLOCK >inherit > COUNTER > rename > value as time -- the time o'clock > export {NONE} all; > {ANY} time; > {CLOCK_CONTROLLER} increment > end >end > >... then short should display >time: INTEGER -- the time o'clock > > An other way may be to consider the comment modification as a feature redefinition case. Then, redefine should be used and the new comment will be the printed one (already implemented this way). Here, you change the feature name, but what about changing the comment without changing the feature name? Best regards, -- Philippe Ribet The README file said "Requires Windows 95, NT 4.0, or better." So... I installed it on Linux!