File: ok_auto_back_comments.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 (19 lines) | stat: -rw-r--r-- 430 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
unit ok_auto_back_comments; // Test auto back comments

interface // should be ignored - no idents in list
{ }

var
  var1: Byte; // this is var1 (usual comment)
  var2: Byte;// this is var2 (no whitespace after ident)
  var3: Byte;
  // this is var4 (must not be considered as back-comment)
  var4: Byte;
  
  // this is var5
  var5: Byte;
  // bugfix - linebreak+whitespace wasn't clearing backcomment flag

implementation

end.