Bug #1854
Updated by Abdelghani Omari about 7 years ago
a probleme occure when CParser::NoSkipComments() is called before term initialisation.
here a test case:
<pre>
void TestCParser() {
String tpl = " same text ";
CParser p;
p.NoSkipComments(); p.NoSkipSpaces().NoSkipComments();
p.Set(tpl);
}
</pre>
NoSkipComments() calls SkipComment(false). IMO it shouldn't.
here a test case:
<pre>
void TestCParser() {
String tpl = " same text ";
CParser p;
p.NoSkipComments(); p.NoSkipSpaces().NoSkipComments();
p.Set(tpl);
}
</pre>
NoSkipComments() calls SkipComment(false). IMO it shouldn't.