equal
deleted
inserted
replaced
98 might end up parsing greater than bufsize+1_element in one runl. |
98 might end up parsing greater than bufsize+1_element in one runl. |
99 to avoid, use transitioned flag (set in handle full match)*/ |
99 to avoid, use transitioned flag (set in handle full match)*/ |
100 while (match == EFullMatch) |
100 while (match == EFullMatch) |
101 //while (ret == TRUE)/*parse all parseable data*/ |
101 //while (ret == TRUE)/*parse all parseable data*/ |
102 { |
102 { |
103 MSRPLOG( "CMSRPMsgParser::ParseL enter" ) |
103 MSRPLOG2( "CMSRPMsgParser::ParseL enter,count= %d", iParseBuffers.Count() ) |
|
104 MSRPLOG2( "CMSRPMsgParser::ParseL enter,state = %d", iState ) |
104 if(!iParseBuffers.Count()) |
105 if(!iParseBuffers.Count()) |
105 { |
106 { |
106 MSRPLOG( "CMSRPMsgParser::ParseL exit" ) |
107 MSRPLOG( "CMSRPMsgParser::ParseL exit" ) |
107 return FALSE; |
108 return FALSE; |
108 } |
109 } |
112 { |
113 { |
113 token.Set(iEndToken->Des()); |
114 token.Set(iEndToken->Des()); |
114 } |
115 } |
115 |
116 |
116 TInt matchPos( 0 ); |
117 TInt matchPos( 0 ); |
|
118 #ifdef _DEBUG |
|
119 TBuf<100> koe; |
|
120 koe.Copy( iParseBuffers[0]->Ptr().Left( 100 ) ); |
|
121 MSRPLOG2( "ST=%S", &koe ) |
|
122 koe.Copy( iParseBuffers[0]->Ptr().Right( 100 ) ); |
|
123 MSRPLOG2( "ST=%S", &koe ) |
|
124 #endif |
117 match = FindToken(iParseBuffers[0]->Ptr(),token,matchPos); |
125 match = FindToken(iParseBuffers[0]->Ptr(),token,matchPos); |
118 if(match == EFullMatch) |
126 if(match == EFullMatch) |
119 { |
127 { |
120 ret = HandleFullMatchL(token, matchPos); |
128 ret = HandleFullMatchL(token, matchPos); |
121 } |
129 } |