<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/gretl/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/gretl/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/gretl/bugs/</id><updated>2026-03-23T18:14:08.823000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>#329 make: gfn file skips trailing comments from inp code file</title><link href="https://sourceforge.net/p/gretl/bugs/329/?limit=25#6246" rel="alternate"/><published>2026-03-23T18:14:08.823000Z</published><updated>2026-03-23T18:14:08.823000Z</updated><author><name>Sven Schreiber</name><uri>https://sourceforge.net/u/svetosch/</uri></author><id>https://sourceforge.net1d2f7f3b5c1c8b7a68fc46a2cbcbf80938ce3d02</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#329 make: gfn file skips trailing comments from inp code file</title><link href="https://sourceforge.net/p/gretl/bugs/329/?limit=25#5958/3191" rel="alternate"/><published>2026-03-23T16:26:57.754000Z</published><updated>2026-03-23T16:26:57.754000Z</updated><author><name>Allin Cottrell</name><uri>https://sourceforge.net/u/allin/</uri></author><id>https://sourceforge.netc005c665c0a0d96f0fb7c93b4e461f47a48a427a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;No, I think it can now be closed again.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#329 make: gfn file skips trailing comments from inp code file</title><link href="https://sourceforge.net/p/gretl/bugs/329/?limit=25#5958" rel="alternate"/><published>2026-03-23T14:25:17.640000Z</published><updated>2026-03-23T14:25:17.640000Z</updated><author><name>Sven Schreiber</name><uri>https://sourceforge.net/u/svetosch/</uri></author><id>https://sourceforge.net38b07a2ac3f0dd3260aba6ab08715b509c8f8df5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I tested this with some package code of my own with the latest snapshot and inline / end-of-line comments show up alright in the code view of the package.&lt;br/&gt;
So I would close this again, or did you have other tests in mind, &lt;a class="user-mention" href="/u/allin/profile/"&gt;@allin&lt;/a&gt;?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#329 make: gfn file skips trailing comments from inp code file</title><link href="https://sourceforge.net/p/gretl/bugs/329/?limit=25#83a6" rel="alternate"/><published>2026-03-20T14:06:00.977000Z</published><updated>2026-03-20T14:06:00.977000Z</updated><author><name>Allin Cottrell</name><uri>https://sourceforge.net/u/allin/</uri></author><id>https://sourceforge.net28b3810b1692ddbd7d344ede313793ba402f37a5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: closed --&amp;gt; open&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#327 problem with strsub</title><link href="https://sourceforge.net/p/gretl/bugs/327/?limit=25#0248" rel="alternate"/><published>2026-03-19T14:04:31.736000Z</published><updated>2026-03-19T14:04:31.736000Z</updated><author><name>Sven Schreiber</name><uri>https://sourceforge.net/u/svetosch/</uri></author><id>https://sourceforge.net2554b6c544ecf6ae9e1f6acef0614b112c2f8fec</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#329 make: gfn file skips trailing comments from inp code file</title><link href="https://sourceforge.net/p/gretl/bugs/329/?limit=25#13ac" rel="alternate"/><published>2026-03-19T14:02:54.438000Z</published><updated>2026-03-19T14:02:54.438000Z</updated><author><name>Sven Schreiber</name><uri>https://sourceforge.net/u/svetosch/</uri></author><id>https://sourceforge.netc4eb4d800fed2bc458fe04eefccca3311984d0f3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#329 make: gfn file skips trailing comments from inp code file</title><link href="https://sourceforge.net/p/gretl/bugs/329/?limit=25#7c75" rel="alternate"/><published>2026-03-19T14:02:44.051000Z</published><updated>2026-03-19T14:02:44.051000Z</updated><author><name>Sven Schreiber</name><uri>https://sourceforge.net/u/svetosch/</uri></author><id>https://sourceforge.net4c8d8564745ed3edcfa581037d11052bf204851d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The more or less official recommendation right now is what you said before: if you want the comments to appear to the user in the code view, then only put them on separate lines, not inline.&lt;br/&gt;
Of course, for non-packaged functions and especially for your own codebase you can continue to put the comments wherever you like. Personally, I also use the inline commenting style a lot, but I understand that currently the cost-benefit ratio of preserving those inside a packaged function is too large.&lt;br/&gt;
So I'm going to close this.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#329 make: gfn file skips trailing comments from inp code file</title><link href="https://sourceforge.net/p/gretl/bugs/329/?limit=25#eeb5" rel="alternate"/><published>2026-03-18T18:21:04.110000Z</published><updated>2026-03-18T18:21:04.110000Z</updated><author><name>Allin Cottrell</name><uri>https://sourceforge.net/u/allin/</uri></author><id>https://sourceforge.net4d359a14e792ca4ca46ec83a2bdd6d8803de2c20</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I wouldn't say this is a feature, exactly. But it's not inadvertent and I wouldn't say it's a bug. It's kind of a forced move to ensure greatest efficiency of hansl function code. We can fairly easily detect lines that are entirely comment, and store them but mark them as IGNORE for execution purposes. It would no doubt be possible, but would be a good deal more complicated, to preserve trailing inline comments. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#327 problem with strsub</title><link href="https://sourceforge.net/p/gretl/bugs/327/?limit=25#546b" rel="alternate"/><published>2026-03-17T18:26:49.164000Z</published><updated>2026-03-17T18:26:49.164000Z</updated><author><name>Sven Schreiber</name><uri>https://sourceforge.net/u/svetosch/</uri></author><id>https://sourceforge.nete1f22fea93965568e06e75b68f0632f93c053d49</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Some further discussion about the situation with escaping in string (literals) has been added to the guide, see &lt;a href="https://sourceforge.net/p/gretl/git/ci/6fdeea228dfe5fba0f0038b475063fbeb797587c/"&gt;https://sourceforge.net/p/gretl/git/ci/6fdeea228dfe5fba0f0038b475063fbeb797587c/&lt;/a&gt;&lt;br/&gt;
It seems there is no clean and backwards-compatible way out of this puzzle; but OTOH you can already do everything you need to do, so it's not a big deal. When in doubt, use sprintf() where you have the full backslash escaping rules in effect.&lt;br/&gt;
So this ticket may probably be closed soon, even though part of the problem will persist.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#329 make: gfn file skips trailing comments from inp code file</title><link href="https://sourceforge.net/p/gretl/bugs/329/?limit=25#db19" rel="alternate"/><published>2026-03-17T18:18:20.109000Z</published><updated>2026-03-17T18:18:20.109000Z</updated><author><name>Sven Schreiber</name><uri>https://sourceforge.net/u/svetosch/</uri></author><id>https://sourceforge.net960c8217102890381c44fb2ca3a3d7b80aef59b0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Not sure this is a feature instead of a bug. I believe it is actually a recent change that comments are preserved at all in the gfn, and so I'd guess that the removal of trailing comments is perhaps  an oversight. (It still seems to happen, at least for me with a recent snapshot.)&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>