summaryrefslogtreecommitdiffstats
path: root/src/moc
diff options
context:
space:
mode:
Diffstat (limited to 'src/moc')
-rw-r--r--src/moc/moc.l8
-rw-r--r--src/moc/moc_lex.cpp8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/moc/moc.l b/src/moc/moc.l
index f032fd0..f49af5e 100644
--- a/src/moc/moc.l
+++ b/src/moc/moc.l
@@ -264,13 +264,13 @@ STRING {ALMOSTSTRING}\"
<QT_DEF>[_a-zA-Z][_a-zA-Z0-9]* {
X;
- yylval.string = qstrdup(yytext);
+ yylval.string = tqstrdup(yytext);
return IDENTIFIER;
}
<IN_PROPERTY>[_a-zA-Z][_a-zA-Z0-9]* {
X;
- yylval.string = qstrdup(yytext);
+ yylval.string = tqstrdup(yytext);
return IDENTIFIER;
}
@@ -280,7 +280,7 @@ STRING {ALMOSTSTRING}\"
<IN_CLASSINFO>{ALMOSTSTRING} {
X;
- yylval.string = qstrdup( yytext + 1 );
+ yylval.string = tqstrdup( yytext + 1 );
input(); /* discard the '"' */
return STRING;
}
@@ -317,7 +317,7 @@ STRING {ALMOSTSTRING}\"
<QT_DEF>{ALMOSTSTRING} {
X;
- yylval.string = qstrdup( yytext + 1 );
+ yylval.string = tqstrdup( yytext + 1 );
input(); /* discard the '"' */
return STRING;
}
diff --git a/src/moc/moc_lex.cpp b/src/moc/moc_lex.cpp
index bef27ad..1786cbb 100644
--- a/src/moc/moc_lex.cpp
+++ b/src/moc/moc_lex.cpp
@@ -1827,7 +1827,7 @@ YY_RULE_SETUP
#line 262 "moc.l"
{
X;
- yylval.string = qstrdup(yytext);
+ yylval.string = tqstrdup(yytext);
return IDENTIFIER;
}
YY_BREAK
@@ -1836,7 +1836,7 @@ YY_RULE_SETUP
#line 268 "moc.l"
{
X;
- yylval.string = qstrdup(yytext);
+ yylval.string = tqstrdup(yytext);
return IDENTIFIER;
}
YY_BREAK
@@ -1861,7 +1861,7 @@ YY_RULE_SETUP
#line 278 "moc.l"
{
X;
- yylval.string = qstrdup( yytext + 1 );
+ yylval.string = tqstrdup( yytext + 1 );
input(); /* discard the '"' */
return STRING;
}
@@ -1932,7 +1932,7 @@ YY_RULE_SETUP
#line 315 "moc.l"
{
X;
- yylval.string = qstrdup( yytext + 1 );
+ yylval.string = tqstrdup( yytext + 1 );
input(); /* discard the '"' */
return STRING;
}