[dlang.org] [D-Programming-Language/d-programming-language.org] 534b6b: Add note about symbol names which match keywords.

GitHub noreply at github.com
Sat Dec 29 13:08:07 PST 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/d-programming-language.org
  Commit: 534b6b969d1e22431c5471a12ec5285051e7961d
      https://github.com/D-Programming-Language/d-programming-language.org/commit/534b6b969d1e22431c5471a12ec5285051e7961d
  Author: jmdavis <jmdavisProg at gmx.com>
  Date:   2012-12-29 (Sat, 29 Dec 2012)

  Changed paths:
    M dstyle.dd

  Log Message:
  -----------
  Add note about symbol names which match keywords.

If symbol's name would be a keyword, and it is undesirable to pick
another name, then the way to make it legal is to append an underscore
to it, which we've been doing. But apparently it didn't make it into the
style guide. So, this adds it.


  Commit: c422e1acb14b3ce81e97319f73c05ff79816a987
      https://github.com/D-Programming-Language/d-programming-language.org/commit/c422e1acb14b3ce81e97319f73c05ff79816a987
  Author: Alex Rønne Petersen <alex at alexrp.com>
  Date:   2012-12-29 (Sat, 29 Dec 2012)

  Changed paths:
    M dstyle.dd

  Log Message:
  -----------
  Merge pull request #227 from jmdavis/dstyle

Add note about enum member names which match keywords.


Compare: https://github.com/D-Programming-Language/d-programming-language.org/compare/11f490f289b2...c422e1acb14b


More information about the dlang.org mailing list