File: warning_back_comment_class.pas

package info (click to toggle)
pasdoc 0.16.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,572 kB
  • sloc: pascal: 28,894; javascript: 7,665; xml: 2,597; makefile: 523; sh: 417
file content (28 lines) | stat: -rw-r--r-- 652 bytes parent folder | download | duplicates (2)
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
unit warning_back_comment_class;

{ This should report a warning that @@exclude is used twice for
  TfmHardwareControlSetup identifier.

  But (before fixing):

  @orderedList(
    @item(An @@exclude was assigned to the whole unit)
    @item(Even worse, it caused dummy output
      @preformatted(
Info[1]:    Starting Source File Parsing ...
Info[2]:    Now parsing file ok_back_comment_class.pas...
Info[2]:    ... 1 Source File(s) parsed
Fatal Error: At least one unit must have been successfully parsed to write docs.
)))
}

interface

type
  { @exclude one }
  TfmHardwareControlSetup = class(TForm)  //< @exclude two
  end;

implementation

end.