summaryrefslogtreecommitdiff
path: root/src/xmlpatterns/parser/qtokenrevealer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlpatterns/parser/qtokenrevealer.cpp')
-rw-r--r--src/xmlpatterns/parser/qtokenrevealer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xmlpatterns/parser/qtokenrevealer.cpp b/src/xmlpatterns/parser/qtokenrevealer.cpp
index dc95804..94935af 100644
--- a/src/xmlpatterns/parser/qtokenrevealer.cpp
+++ b/src/xmlpatterns/parser/qtokenrevealer.cpp
@@ -63,22 +63,22 @@ Tokenizer::Token TokenRevealer::nextToken(YYLTYPE *const sourceLocator)
/* Indent. */
switch(type)
{
- case CURLY_LBRACE:
+ case T_CURLY_LBRACE:
{
m_result += QLatin1Char('\n') + m_indentationString + asString + QLatin1Char('\n');
m_indentationString.append(QLatin1String(" "));
m_result += m_indentationString;
break;
}
- case CURLY_RBRACE:
+ case T_CURLY_RBRACE:
{
m_indentationString.chop(4);
m_result += QLatin1Char('\n') + m_indentationString + asString;
break;
}
- case SEMI_COLON:
+ case T_SEMI_COLON:
/* Fallthrough. */
- case COMMA:
+ case T_COMMA:
{
m_result += asString + QLatin1Char('\n') + m_indentationString;
break;