<p></p>
<blockquote>
<p>I still think reading the source files is not the problem. Tag parsing works fine on Windows, for LF and CRLF source files.</p>
</blockquote>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/eht16/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/eht16">@eht16</a> I think we don't understand each other. We are trying to understand the results you got here:</p>
<p><a href="https://gist.github.com/eht16/895090eddc23c6d241eb2cbec25159c0#file-test-suite-log-L91">https://gist.github.com/eht16/895090eddc23c6d241eb2cbec25159c0#file-test-suite-log-L91</a></p>
<p>For instance, you get this failure there</p>
<pre><code>FAIL: ingres_procedures.sql
===========================

--- ./ingres_procedures.sql.tags        2016-06-12 17:16:40.683765400 +0200
+++ /tmp/tmp.2xGTegTO88/test.sql.tags   2020-11-25 23:33:27.945656500 +0100
@@ -1,7 +1,3 @@
 # format=tagmanager
 db0001Ì256Ö0
-db0002Ì256Ö0
-db0003Ì256Ö0
-errÌ16384Ö0
-nÌ16384Ö0
 xÌ16384Ö0
FAIL ingres_procedures.sql.tags (exit status: 2)
</code></pre>
<p>and the test fails not because of different line endings in the tags file, but because some real tags are missing in the output. From what I understood, when you change line endings from CRLF to LF in the test, this diff goes away. But then it means that the CRLFs in the test are the cause of the missing tags and there's some problem with parsing.</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/issues/2677#issuecomment-737771462">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3O33GMMEGKEYDJOALSS5JIVANCNFSM4UGQMLEQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJYWONAWDU6HAWHFXSDSS5JIVA5CNFSM4UGQMLE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFP4X7RQ.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/2677#issuecomment-737771462",
"url": "https://github.com/geany/geany/issues/2677#issuecomment-737771462",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>