equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the Qt Linguist of the Qt Toolkit. |
7 ** This file is part of the Qt Linguist of the Qt Toolkit. |
8 ** |
8 ** |
1730 // ok, |
1730 // ok, |
1731 } else if (match(Tok_Comma)) { |
1731 } else if (match(Tok_Comma)) { |
1732 plural = true; |
1732 plural = true; |
1733 } |
1733 } |
1734 } |
1734 } |
1735 if (!pendingContext.isEmpty()) { |
1735 if (!pendingContext.isEmpty() && !prefix.startsWith(strColons)) { |
1736 QStringList unresolved; |
1736 QStringList unresolved; |
1737 if (!fullyQualify(namespaces, pendingContext, true, &functionContext, &unresolved)) { |
1737 if (!fullyQualify(namespaces, pendingContext, true, &functionContext, &unresolved)) { |
1738 functionContextUnresolved = unresolved.join(strColons); |
1738 functionContextUnresolved = unresolved.join(strColons); |
1739 qWarning("%s:%d: Qualifying with unknown namespace/class %s::%s\n", |
1739 qWarning("%s:%d: Qualifying with unknown namespace/class %s::%s\n", |
1740 qPrintable(yyFileName), yyLineNo, |
1740 qPrintable(yyFileName), yyLineNo, |