<ul dir="auto">
<li>VSCode Version: 0.10.11</li>
<li>OS Version: Windows 7 Professional (x64)</li>
</ul>
<p dir="auto">Steps to Reproduce:</p>
<ol dir="auto">
<li>
<p dir="auto">Create new file with C++ language</p>
</li>
<li>
<p dir="auto">Add the following code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="void fn() {
  f(&quot;;&quot;, value); // Line must begin with at least 1 space.
}"><pre class="notranslate"><code class="notranslate">void fn() {
  f(";", value); // Line must begin with at least 1 space.
}
</code></pre></div>
</li>
</ol>
<p dir="auto">Syntax highlighting for string begins from the second double-comma<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1532557/14410590/fff3137e-ff2a-11e5-9c9c-0e560dd3f8b1.png"><img src="https://cloud.githubusercontent.com/assets/1532557/14410590/fff3137e-ff2a-11e5-9c9c-0e560dd3f8b1.png" alt="visual-studio-code_0 10 11_cpp-syntax-highlighting-bug" style="max-width: 100%;"></a></p>
<p dir="auto">This was discovered when trying to view the muse-sequencer's <a href="https://github.com/muse-sequencer/muse/blob/fbd4c3f10fa780f689c4681e4ef96ddffc216629/muse3/muse/main.cpp">main.cpp</a> (line 137).</p>
<p dir="auto">This is an odd bug for sure because it's so easy to trigger!</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>