<ul dir="auto">
<li>VSCode Version:<br>
0.10.11</li>
<li>OS Version:<br>
Kubuntu 16.04 LTS Developer branch</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>
<p dir="auto">I have a .cc file with the following contents.</p>
<h1 dir="auto">if B4G_DEBUG_CHECK</h1>
<p dir="auto">fprintf(stderr,"num_candidate_ret=%d:", num_candidate);<br>
for(int i=0;i&lt;num_candidate;++i)<br>
fprintf(stderr,"%d,",user_candidate[i]);<br>
fprintf(stderr,";");</p>
<h1 dir="auto">endif</h1>
</li>
<li>
<p dir="auto">Observe that syntax highlighting for any statements following the  fprintf(stderr,";"); assumes that the following lines are contained within the double quote and they show up in red. Apparently the ; inside the double quote is misinterpreted as the end of a statement. The "); on the same line is already shown in all red color, and all following lines are too - unless they contain another double quote. In this case the string inside the double quote is shown as if it was a code statement.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/416723/14019003/e6c4c13e-f1d0-11e5-9160-c6527eaec4b6.png"><img src="https://cloud.githubusercontent.com/assets/416723/14019003/e6c4c13e-f1d0-11e5-9160-c6527eaec4b6.png" alt="snapshot1" style="max-width: 100%;"></a></p>
</li>
</ol>
<p dir="auto">Partial screenshot attached.</p>
<ul dir="auto">
<li>VSCode Version: 0.10.11</li>
<li>OS Version: Windows 7</li>
</ul>
<h2 dir="auto">Issue 1:</h2>
<p dir="auto">In the following code (using C++ syntax highlighting), the string literal(s) are not highlighted at all.<br>
This issue is exclusive to C++ syntax highlighting and does not occur with C syntax highlighting.</p>
<h4 dir="auto">Code:</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="int main()
{
    printf(&quot;%s\n&quot;, &quot;a string&quot;);
}"><pre class="notranslate"><code class="notranslate">int main()
{
    printf("%s\n", "a string");
}
</code></pre></div>
<h4 dir="auto">Result</h4>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://raw.githubusercontent.com/SE2Dev/VSCode-BugExample/master/resources/c-vs-cpp.png"><img src="https://raw.githubusercontent.com/SE2Dev/VSCode-BugExample/master/resources/c-vs-cpp.png" alt="Bug Screenshot" style="max-width: 100%;"></a></p>
<h2 dir="auto">Issue 2:</h2>
<p dir="auto">In custom tmLanguage based colorizers that reference source.c from within rules that begin with certain patterns, the inlined C highlighting is incorrect (this issue also applies to rules using source.c++ but does not occur in rules using source.js).</p>
<h4 dir="auto">Code</h4>
<p dir="auto">(See <a href="https://github.com/SE2Dev/VSCode-BugExample">https://github.com/SE2Dev/VSCode-BugExample</a>)</p>
<h4 dir="auto">Result</h4>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://raw.githubusercontent.com/SE2Dev/VSCode-BugExample/master/resources/screenshot.png"><img src="https://raw.githubusercontent.com/SE2Dev/VSCode-BugExample/master/resources/screenshot.png" alt="Bug Screenshot" style="max-width: 100%;"></a></p>