in a string starting with ", an undoubled ' yields an error instead of being a common character ; and vice-versa
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
Since Scilab 6 does no longer accept distinct starting and ending string delimiters, ' should be considered as a common character without being doubled in a string opened with " ; and " should be considered as a common character without being doubled in a string opened with '.
As PHP does.
It is presently not the case:
--> "abcd 'efhgh"
[Scilab6] "abcd 'efhgh"
[Scilab6] ^^
[Scilab6] prompt : 1.7 - 1.8 : Heterogeneous string detected, starting with " and ending with '.
[Scilab6] "abcd 'efhgh"
[Scilab6] ^^
[Scilab6] prompt : 1.13 - 1.14 : Unexpected end of file in a string.
ERROR LOG:
----------
See hereabove
HOW TO REPRODUCE THE BUG:
-------------------------
"abcd 'efhgh"
'abcd " efgh'