[Issue 23883] `#line` is off by one and off by two if a line comment follows

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 9 15:40:34 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23883

--- Comment #2 from Bolpat <qs.il.paperinik at gmail.com> ---
So, you’re suggesting that we make a bug a feature. Checking for comments
before the directive ends isn’t that big of a deal.

You don’t even have to handle it correctly, you can make it an error if that is
easier. It’s surprising, and you shouldn’t surprise users.

--


More information about the Digitalmars-d-bugs mailing list