<p></p>
<p>When I use <code>CREATE TABLE IF NOT EXISTS</code> in SQL to create a table Geany does not create any label for that table in the Symbols left panel, the same problem occurs in Ctags.</p>
<p>This is an example of the problem:<br>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/11948239/114964365-929e3400-9e3c-11eb-94b9-c848dafead44.png"><img src="https://user-images.githubusercontent.com/11948239/114964365-929e3400-9e3c-11eb-94b9-c848dafead44.png" alt="Captura de pantalla_2021-04-15_22-46-52" style="max-width:100%;"></a></p>
<p>Example code that I used:</p>
<div class="highlight highlight-source-sql"><pre><span class="pl-k">CREATE</span> <span class="pl-k">TABLE</span> <span class="pl-en">IF</span> NOT EXISTS test (
    id     <span class="pl-k">INTEGER</span> <span class="pl-k">NOT NULL</span> <span class="pl-k">PRIMARY KEY</span>,
    mytext <span class="pl-k">TEXT</span>    <span class="pl-k">NOT NULL</span>
);

<span class="pl-k">CREATE</span> <span class="pl-k">TABLE</span> <span class="pl-en">another_test</span> (
    id    <span class="pl-k">INTEGER</span> <span class="pl-k">NOT NULL</span> <span class="pl-k">PRIMARY KEY</span>,
    mynum <span class="pl-k">INTEGER</span>
);</pre></div>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2785">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2DPN7D4KK4BTMWIQTTI6QSTANCNFSM43AUSPIQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ7ADEUCAF264VXDHB3TI6QSTA5CNFSM43AUSPI2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4MZZQTVQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2785",
"url": "https://github.com/geany/geany/issues/2785",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>