diff options
Diffstat (limited to 'src/moc')
-rw-r--r-- | src/moc/moc.l | 8 | ||||
-rw-r--r-- | src/moc/moc_lex.cpp | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/moc/moc.l b/src/moc/moc.l index 9ddce077f..a917b03e3 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 cb2651b4d..149489d07 100644 --- a/src/moc/moc_lex.cpp +++ b/src/moc/moc_lex.cpp @@ -1883,7 +1883,7 @@ YY_RULE_SETUP #line 265 "moc.l" { X; - yylval.string = qstrdup(yytext); + yylval.string = tqstrdup(yytext); return IDENTIFIER; } YY_BREAK @@ -1892,7 +1892,7 @@ YY_RULE_SETUP #line 271 "moc.l" { X; - yylval.string = qstrdup(yytext); + yylval.string = tqstrdup(yytext); return IDENTIFIER; } YY_BREAK @@ -1917,7 +1917,7 @@ YY_RULE_SETUP #line 281 "moc.l" { X; - yylval.string = qstrdup( yytext + 1 ); + yylval.string = tqstrdup( yytext + 1 ); input(); /* discard the '"' */ return STRING; } @@ -1988,7 +1988,7 @@ YY_RULE_SETUP #line 318 "moc.l" { X; - yylval.string = qstrdup( yytext + 1 ); + yylval.string = tqstrdup( yytext + 1 ); input(); /* discard the '"' */ return STRING; } |