diff options
Diffstat (limited to 'dcop/dcopidl/scanner.ll')
-rw-r--r-- | dcop/dcopidl/scanner.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dcop/dcopidl/scanner.ll b/dcop/dcopidl/scanner.ll index 62a80cdd8..63e8ca59c 100644 --- a/dcop/dcopidl/scanner.ll +++ b/dcop/dcopidl/scanner.ll @@ -169,8 +169,8 @@ Kidl_Identifier [_a-zA-Z][a-zA-Z0-9_]* } "#include"[ \t]*[<\"][^>"]*[>\"]\s*\n { TQString s( yytext ); - int i = s.tqfind(TQRegExp("[\"<]"))+1; - int j = s.tqfind(TQRegExp("[\">]"), i); + int i = s.find(TQRegExp("[\"<]"))+1; + int j = s.find(TQRegExp("[\">]"), i); yylval._str = new TQString( s.mid( i, j - i ) ); idl_line_no++; return T_INCLUDE; |