OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-re                       Date:   07-Jul-2003 13:31:16
  Branch: HEAD                             Handle: 2003070712311600

  Modified files:
    openpkg-re              speclint.pl

  Log:
    check for trailing blank line

  Summary:
    Revision    Changes     Path
    1.26        +5  -0      openpkg-re/speclint.pl
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-re/speclint.pl
  ============================================================================
  $ cvs diff -u -r1.25 -r1.26 speclint.pl
  --- openpkg-re/speclint.pl    6 Jun 2003 10:02:17 -0000       1.25
  +++ openpkg-re/speclint.pl    7 Jul 2003 11:31:16 -0000       1.26
  @@ -235,6 +235,11 @@
           &lint_warning($file, $done, $this, "leading tabs (expected spaces)");
           $done .= $this;
       }
  +
  +    #   check for mandatory/wished trailing blank line
  +    if ($spec !~ m|\n\n$|) {
  +        &lint_warning($file, $spec, "", "mandatory/wished trailing blank line 
missing (expected one)");
  +    }
   }
   
   ##  _________________________________________________________________
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [EMAIL PROTECTED]

Reply via email to