diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/qlalr/cppgenerator.cpp | 6 | ||||
-rw-r--r-- | util/qlalr/cppgenerator.h | 4 | ||||
-rw-r--r-- | util/qlalr/main.cpp | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/util/qlalr/cppgenerator.cpp b/util/qlalr/cppgenerator.cpp index dd5be57..459c35e 100644 --- a/util/qlalr/cppgenerator.cpp +++ b/util/qlalr/cppgenerator.cpp @@ -343,7 +343,7 @@ void CppGenerator::operator () () QTextStream out (&f); out << "// This file was generated by qlalr - DO NOT EDIT!\n"; - if (troll_copyright) + if (copyright) { out << trollCopyrightHeader() << trollPrivateCopyrightHeader() @@ -375,7 +375,7 @@ void CppGenerator::operator () () QString prot = declFileName.toUpper ().replace (QLatin1Char ('.'), QLatin1Char ('_')); - if (troll_copyright) + if (copyright) { out << trollCopyrightHeader() << trollPrivateCopyrightHeader() @@ -397,7 +397,7 @@ void CppGenerator::operator () () QTextStream out (&f); out << "// This file was generated by qlalr - DO NOT EDIT!\n"; - if (troll_copyright) + if (copyright) out << trollCopyrightHeader(); out << "#include \"" << declFileName << "\"" << endl << endl; diff --git a/util/qlalr/cppgenerator.h b/util/qlalr/cppgenerator.h index e36e8c0..98f3a8c 100644 --- a/util/qlalr/cppgenerator.h +++ b/util/qlalr/cppgenerator.h @@ -72,8 +72,8 @@ private: void generateImpl (QTextStream &out); QString debugInfoProt() const; - QString copyrightHeader() const; - QString privateCopyrightHeader() const; + QString trollCopyrightHeader() const; + QString trollPrivateCopyrightHeader() const; private: static QString startIncludeGuard(const QString &fileName); diff --git a/util/qlalr/main.cpp b/util/qlalr/main.cpp index 216dd3a..7041e4a 100644 --- a/util/qlalr/main.cpp +++ b/util/qlalr/main.cpp @@ -142,7 +142,7 @@ int main (int argc, char *argv[]) CppGenerator gen (p, grammar, aut, generate_report); gen.setDebugInfo (debug_info); - gen.setTrollCopyright (troll_copyright); + gen.setCopyright (troll_copyright); gen (); if (generate_dot) |