Closed Sei-Lisa closed 5 years ago
After looking into the implementation of __LINE__
, I've realized that it's not trivial.
The only reason I never implemented these is because I personally didn't need them. And I still don't. But I'm happy to accept a donation of an implementation if with a rigorous test suite, and if the code is maintainable.
This directive should be easy to support:
__LINE__
and eat it, otherwise emit an error;__FILE__
and eat it;I think I can come up with a PR, if interested, but I haven't looked into it yet so I don't know if I'll be able to.