[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master bcec152 08/11: Amend PETE header and footer f
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master bcec152 08/11: Amend PETE header and footer for generated files |
Date: |
Tue, 16 Feb 2021 13:06:23 -0500 (EST) |
branch: master
commit bcec152a69733d4c781dd1d37f415a57d1acd819
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Amend PETE header and footer for generated files
Header: Replace with FreePOOMA license and copyright notice, and write
no "modeline".
Footer: Suppress antique RCS stuff, and do not write '\n\n' at the end.
---
tools/pete-2.1.1/PETE/Tools/Header.h | 30 ++++++++++++++++++++++++++----
1 file changed, 26 insertions(+), 4 deletions(-)
diff --git a/tools/pete-2.1.1/PETE/Tools/Header.h
b/tools/pete-2.1.1/PETE/Tools/Header.h
index e6f52a3..b4ae4c2 100644
--- a/tools/pete-2.1.1/PETE/Tools/Header.h
+++ b/tools/pete-2.1.1/PETE/Tools/Header.h
@@ -41,11 +41,31 @@ void printHeader(OSTR& ostr,const string& includeGuard,
}
if (lanlBoilerplate)
{
+#if 0
ostr
<< "// -*- C++ -*-" << endl
<< "// ACL:license" << endl
<< "// ACL:license" << endl
<< endl;
+#endif // 0
+ ostr
+ << "// Copyright (C) 1998, 1999, 2000, 2002 Los Alamos National
Laboratory," << endl
+ << "// Copyright (C) 1998, 1999, 2000, 2002 CodeSourcery, LLC" << endl
+ << "//" << endl
+ << "// This file is part of FreePOOMA." << endl
+ << "//" << endl
+ << "// FreePOOMA is free software; you can redistribute it and/or
modify it" << endl
+ << "// under the terms of the Expat license." << endl
+ << "//" << endl
+ << "// This program is distributed in the hope that it will be useful,
but" << endl
+ << "// WITHOUT ANY WARRANTY; without even the implied warranty of" <<
endl
+ << "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Expat" << endl
+ << "// license for more details." << endl
+ << "//" << endl
+ << "// You should have received a copy of the Expat license along with"
<< endl
+ << "// FreePOOMA; see the file LICENSE." << endl
+ << "//" << endl
+ << endl;
}
if (includeGuard != string(""))
{
@@ -78,19 +98,20 @@ template<class OSTR>
void printFooter(OSTR& ostr,const string& includeGuard,
bool lanlBoilerplate,const string& suffix)
{
- ostr
- << endl;
if (suffix.size() != 0)
- ostr << suffix << endl << endl;
+ ostr << endl << suffix << endl;
if (includeGuard != string(""))
{
ostr
- << "#endif // " << includeGuard << endl
+ << endl
+ << "#endif // " << includeGuard
<< endl;
}
if (lanlBoilerplate)
{
+#if 0
ostr
+ << endl
<< "// ACL:rcsinfo" << endl
<< "//
----------------------------------------------------------------------"
<< endl
@@ -99,6 +120,7 @@ void printFooter(OSTR& ostr,const string& includeGuard,
<< "//
----------------------------------------------------------------------"
<< endl
<< "// ACL:rcsinfo" << endl;
+#endif // 0
}
}
- [lmi-commits] [lmi] master updated (3143a30 -> c90e25a), Greg Chicares, 2021/02/16
- [lmi-commits] [lmi] master b321588 05/11: Demonstrate PETE assignment to std::vector, Greg Chicares, 2021/02/16
- [lmi-commits] [lmi] master bcec152 08/11: Amend PETE header and footer for generated files,
Greg Chicares <=
- [lmi-commits] [lmi] master 2741732 07/11: Break a makefile dependency cycle, Greg Chicares, 2021/02/16
- [lmi-commits] [lmi] master 2a92707 04/11: Move a comment block that will soon become a test, Greg Chicares, 2021/02/16
- [lmi-commits] [lmi] master 431bdbb 01/11: Do not include PETE in any header except "et_vector.hpp", Greg Chicares, 2021/02/16
- [lmi-commits] [lmi] master acac3ad 03/11: Accommodate 21st-century hardware, Greg Chicares, 2021/02/16
- [lmi-commits] [lmi] master c90e25a 11/11: No longer invoke std::operator==() explicitly for vectors, Greg Chicares, 2021/02/16
- [lmi-commits] [lmi] master 2844ba0 10/11: Suppress PETE's operator==() for std::vector, Greg Chicares, 2021/02/16
- [lmi-commits] [lmi] master 7f3f834 06/11: Rewrite '*clean*' targets, Greg Chicares, 2021/02/16
- [lmi-commits] [lmi] master 088d2a8 09/11: Regenerate PETE, Greg Chicares, 2021/02/16
- [lmi-commits] [lmi] master 38d5ece 02/11: Further improve physical design, Greg Chicares, 2021/02/16