[swift-evolution] [Discussion]: Renaming #line, the line control statement

Erica Sadun erica at ericasadun.com
Mon Feb 8 13:30:10 CST 2016


> +1 for the idea, but...
> 
> I don't think we should make this change without also making the feature
> useful for things like gyb, which has to use its own home-brew line
> directive machinery because #line is AFAIK currently useless for any
> known application.  The way it currently works you can only put the
> directive at grammatical boundaries in the program where #if would also
> work.  For #if this is a feature, but for #resetfilecontext it's a bug.
> 
> Isn't it the case that making this feature useful would require a lot
> more than the simple syntactic shuffle being proposed here?

If so, I'll put it on my "defer" list. Let me know one way or the other.

Basically I have a bunch of dangling to-do's left over from SE-0028 and I'd like to get them closed out.

-- E, who does not multitask gladly or well

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160208/4b93da98/attachment.html>


More information about the swift-evolution mailing list