summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-08 11:54:35 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-08 12:02:10 (GMT)
commite49fa5d9ab3c15918fe5fe92d30d7640e23a1307 (patch)
treecad363312c58cb38529e7361a4b41c7c99c1ae54
parent8d9c9386be6e45fdf919a3ac5bf79f5cde315142 (diff)
downloadQt-e49fa5d9ab3c15918fe5fe92d30d7640e23a1307.zip
Qt-e49fa5d9ab3c15918fe5fe92d30d7640e23a1307.tar.gz
Qt-e49fa5d9ab3c15918fe5fe92d30d7640e23a1307.tar.bz2
generate code which does not break QT_USE_FAST_CONCATENATION with old gcc
-rw-r--r--util/qlalr/cppgenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/qlalr/cppgenerator.cpp b/util/qlalr/cppgenerator.cpp
index a95f5e4..f52a86f 100644
--- a/util/qlalr/cppgenerator.cpp
+++ b/util/qlalr/cppgenerator.cpp
@@ -457,7 +457,7 @@ void CppGenerator::generateDecl (QTextStream &out)
out << "class " << grammar.table_name << endl
<< "{" << endl
<< "public:" << endl
- << " enum {" << endl;
+ << " enum VariousConstants {" << endl;
foreach (Name t, grammar.terminals)
{