diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2009-08-12 02:40:14 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-08-12 02:40:14 (GMT) |
commit | 265cb525256be8e6d39058b6427f46e1ae381907 (patch) | |
tree | 589c78b77f3b9241a15d1c0ada282d755a2e01c9 /util/qlalr/cppgenerator.h | |
parent | 39accaec06629da15c073859660fd94c78f1b261 (diff) | |
download | Qt-265cb525256be8e6d39058b6427f46e1ae381907.zip Qt-265cb525256be8e6d39058b6427f46e1ae381907.tar.gz Qt-265cb525256be8e6d39058b6427f46e1ae381907.tar.bz2 |
Update embedded copyright headers.
Reviewed-by: Trust Me
Diffstat (limited to 'util/qlalr/cppgenerator.h')
-rw-r--r-- | util/qlalr/cppgenerator.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/util/qlalr/cppgenerator.h b/util/qlalr/cppgenerator.h index ce81a73..4531b8d 100644 --- a/util/qlalr/cppgenerator.h +++ b/util/qlalr/cppgenerator.h @@ -58,23 +58,22 @@ public: aut (aut), verbose (verbose), debug_info (false), - troll_copyright (false) {} + copyright (false) {} void operator () (); bool debugInfo () const { return debug_info; } void setDebugInfo (bool d) { debug_info = d; } - bool trollCopyright () const { return troll_copyright; } - void setTrollCopyright (bool t) { troll_copyright = t; } + void setCopyright (bool t) { copyright = t; } private: void generateDecl (QTextStream &out); void generateImpl (QTextStream &out); QString debugInfoProt() const; - QString trollCopyrightHeader() const; - QString trollPrivateCopyrightHeader() const; + QString copyrightHeader() const; + QString privateCopyrightHeader() const; private: static QString startIncludeGuard(const QString &fileName); @@ -89,7 +88,7 @@ private: int terminal_count; int non_terminal_count; bool debug_info; - bool troll_copyright; + bool copyright; Compress compressed_action; Compress compressed_goto; QVector<int> count; |