Closed PeterPanino closed 4 years ago
You can see that the double single quote from the source is replaced by an APOSTROPHE HTML Entity in the syntax tree! Instead, it should reproduce the exact literal string value from the source code which is the double single quote. The Parser should not INTERPRET or TRANSLATE it!
But this is XML. Special symbols have to be encoded. If this is a problem, you may use a tree of TSyntaxNode
directly without serializing them to XML.
I have this code line inside a unit:
In the syntax tree, this line results as:
<LITERAL line="47" col="35" value="ab'cd" type="string"/>
You can see that the LITERAL value
ab'cd
is not correct?