summaryrefslogtreecommitdiffstats
path: root/kdeprint/ppdscanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/ppdscanner.l')
-rw-r--r--kdeprint/ppdscanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdeprint/ppdscanner.l b/kdeprint/ppdscanner.l
index 851ee290e..60a63f035 100644
--- a/kdeprint/ppdscanner.l
+++ b/kdeprint/ppdscanner.l
@@ -97,7 +97,7 @@ L [[:alnum:]]
/**
* Value state
*/
-<value>\"[^\"]*\" { yylval = yytext; kdeprint_ppdscanner_lno += yylval[0].tqcontains('\n'); QDEBUG1("Quoted value: %s",yytext); return QUOTED; }
+<value>\"[^\"]*\" { yylval = yytext; kdeprint_ppdscanner_lno += yylval[0].contains('\n'); QDEBUG1("Quoted value: %s",yytext); return QUOTED; }
<value>{WORD} { yylval = yytext; QDEBUG1("String part: %s",yytext); return STRINGPART; }
<value>"/" { BEGIN(translation_2); return '/'; }
<value>"\n" { kdeprint_ppdscanner_lno++; BEGIN(INITIAL); }