diff options
Diffstat (limited to 'util/qlalr/cppgenerator.cpp')
-rw-r--r-- | util/qlalr/cppgenerator.cpp | 6 |
1 files changed, 3 insertions, 3 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; |