summaryrefslogtreecommitdiffstats
path: root/src/moc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:11:59 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-03-02 02:11:59 -0600
commit9a75b154bf0732aa3a501b6e31e566e06c5f8a31 (patch)
treedf1e10cc7504665622d096f9ba80dc9e56f3afb8 /src/moc
parenta830bf10b7d4ed2c83ffe68c0b22d7c4ba9860b0 (diff)
downloadqt3-9a75b154bf0732aa3a501b6e31e566e06c5f8a31.tar.gz
qt3-9a75b154bf0732aa3a501b6e31e566e06c5f8a31.zip
Undo prior accidental commit
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 f49af5e..f032fd0 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 = tqstrdup(yytext);
+ yylval.string = qstrdup(yytext);
return IDENTIFIER;
}
<IN_PROPERTY>[_a-zA-Z][_a-zA-Z0-9]* {
X;
- yylval.string = tqstrdup(yytext);
+ yylval.string = qstrdup(yytext);
return IDENTIFIER;
}
@@ -280,7 +280,7 @@ STRING {ALMOSTSTRING}\"
<IN_CLASSINFO>{ALMOSTSTRING} {
X;
- yylval.string = tqstrdup( yytext + 1 );
+ yylval.string = qstrdup( yytext + 1 );
input(); /* discard the '"' */
return STRING;
}
@@ -317,7 +317,7 @@ STRING {ALMOSTSTRING}\"
<QT_DEF>{ALMOSTSTRING} {
X;
- yylval.string = tqstrdup( yytext + 1 );
+ yylval.string = qstrdup( yytext + 1 );
input(); /* discard the '"' */
return STRING;
}
diff --git a/src/moc/moc_lex.cpp b/src/moc/moc_lex.cpp
index 1786cbb..bef27ad 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 = tqstrdup(yytext);
+ yylval.string = qstrdup(yytext);
return IDENTIFIER;
}
YY_BREAK
@@ -1836,7 +1836,7 @@ YY_RULE_SETUP
#line 268 "moc.l"
{
X;
- yylval.string = tqstrdup(yytext);
+ yylval.string = qstrdup(yytext);
return IDENTIFIER;
}
YY_BREAK
@@ -1861,7 +1861,7 @@ YY_RULE_SETUP
#line 278 "moc.l"
{
X;
- yylval.string = tqstrdup( yytext + 1 );
+ yylval.string = qstrdup( yytext + 1 );
input(); /* discard the '"' */
return STRING;
}
@@ -1932,7 +1932,7 @@ YY_RULE_SETUP
#line 315 "moc.l"
{
X;
- yylval.string = tqstrdup( yytext + 1 );
+ yylval.string = qstrdup( yytext + 1 );
input(); /* discard the '"' */
return STRING;
}