<p></p>
<p><b>@techee</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/3034#discussion_r762618804">scripts/update-ctags.py</a>:</p>
<pre style='color:#555'>> @@ -13,12 +13,18 @@
 dstdir = os.path.abspath(sys.argv[2])
 
 os.chdir(dstdir + '/parsers')
-parser_dst_files = glob.glob('*.c') + glob.glob('*.h')
+parser_dst_files = glob.glob('**/*.c') + glob.glob('**/*.h')
</pre>
<p dir="auto">Maybe I would slightly prefer mirroring the ctags directory structure - i.e. having peg outside the parsers directory. That would mean explicitly mentioning <code>peg</code> and <code>parsers</code> directories in the globs and in the code below eliminating the</p>
<pre><code>    if os.path.exists('parsers/' + f):
         shutil.copy('parsers/' + f, dstdir + '/parsers/' + f)
</code></pre>
<p dir="auto">part.</p>

<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/pull/3034#pullrequestreview-823436102">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ6N56CW2VDRUO6CE6LUPPLSJANCNFSM5I7MRDJA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJ77S66PEIP6FZFE3LTUPPLSJA5CNFSM5I7MRDJKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOGEKKGRQ.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/pull/3034#pullrequestreview-823436102",
"url": "https://github.com/geany/geany/pull/3034#pullrequestreview-823436102",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>