[swift-evolution] [Proposal] Eliminating Swift's Screaming Snake Case Identifiers

Chris Lattner clattner at apple.com
Fri Jan 22 18:40:59 CST 2016


> On Jan 22, 2016, at 1:43 PM, Jack Lawrence <jackl at apple.com> wrote:
> 
> Indeed. Here’s the grammar from TSPL:
> 
> line-control-statement → #line­
>  <>line-control-statement → #line­line-number <https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/Statements.html#//apple_ref/swift/grammar/line-number>­file-name <https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/Statements.html#//apple_ref/swift/grammar/file-name>  <>line-number → A decimal integer greater than zero
>  <>file-name → static-string-literal <https://developer.apple.com/library/ios/documentation/Swift/Conceptual/Swift_Programming_Language/LexicalStructure.html#//apple_ref/swift/grammar/static-string-literal
Huh ok, I forgot we supported that.  We could handle that by requiring that form of #line to be at the start of a line, if necessary.

-Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160122/35ffe9fd/attachment.html>


More information about the swift-evolution mailing list