[dlang.org] [D-Programming-Language/dlang.org] 29b6d0: Decompose Decl into FuncDeclaration and VarDeclara...

GitHub via dlang.org dlang.org at puremagic.com
Wed Sep 24 05:03:44 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dlang.org
  Commit: 29b6d03e623f923b83edeb7ce6950aeacdfa01fc
      https://github.com/D-Programming-Language/dlang.org/commit/29b6d03e623f923b83edeb7ce6950aeacdfa01fc
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2014-09-23 (Tue, 23 Sep 2014)

  Changed paths:
    M declaration.dd
    M grammar.dd

  Log Message:
  -----------
  Decompose Decl into FuncDeclaration and VarDeclarations

FuncDeclarator is a dup of Declarator, and FuncDeclaratorSuffix is a dup of DeclaratorSuffix

And we need to keep function type aliasing with the old style syntax.


  Commit: 7fbb9cac0718f36e27c19905ec037f9bf692e774
      https://github.com/D-Programming-Language/dlang.org/commit/7fbb9cac0718f36e27c19905ec037f9bf692e774
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2014-09-23 (Tue, 23 Sep 2014)

  Changed paths:
    M declaration.dd
    M grammar.dd

  Log Message:
  -----------
  fix Issue 12579 - DMD rejects valid function literal

Remove FuncDeclaratorSuffixes to disallow zero, two or more parameter lists

And disallow mixing C-style suffix in function declaration, as follows:

  void foo[](int a);


  Commit: 29a53eb72657510a1899aeeb6b3dc7efdfbcb618
      https://github.com/D-Programming-Language/dlang.org/commit/29a53eb72657510a1899aeeb6b3dc7efdfbcb618
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2014-09-23 (Tue, 23 Sep 2014)

  Changed paths:
    M class.dd
    M declaration.dd
    M expression.dd
    M function.dd
    M grammar.dd
    M struct.dd
    M template.dd

  Log Message:
  -----------
  fix Issue 10235 - Grammar does not contain a rule for function declarations

Move FuncDeclaration and related non terminal symbols into function.dd

Conflicts:
	declaration.dd
	grammar.dd


  Commit: ea414cc69a59ed25a01778562d789a5cff66dad8
      https://github.com/D-Programming-Language/dlang.org/commit/ea414cc69a59ed25a01778562d789a5cff66dad8
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2014-09-23 (Tue, 23 Sep 2014)

  Changed paths:
    M function.dd
    M grammar.dd

  Log Message:
  -----------
  fix Issue 13523 - Auto function declaration does not match any grammar rule


  Commit: e222fa5f6593499caabf73421ad843befda47cec
      https://github.com/D-Programming-Language/dlang.org/commit/e222fa5f6593499caabf73421ad843befda47cec
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2014-09-23 (Tue, 23 Sep 2014)

  Changed paths:
    M declaration.dd
    M grammar.dd

  Log Message:
  -----------
  Reorder non terminal symbols in declaration.dd


  Commit: 60f040d530234e7ea095c89c0556e7d38024f916
      https://github.com/D-Programming-Language/dlang.org/commit/60f040d530234e7ea095c89c0556e7d38024f916
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2014-09-23 (Tue, 23 Sep 2014)

  Changed paths:
    M function.dd

  Log Message:
  -----------
  fix hyperlink to contracts.html


  Commit: eb5700c68fd132bf856a95f2f9c2907f3070c75d
      https://github.com/D-Programming-Language/dlang.org/commit/eb5700c68fd132bf856a95f2f9c2907f3070c75d
  Author: Hara Kenji <k.hara.pg+dev at gmail.com>
  Date:   2014-09-24 (Wed, 24 Sep 2014)

  Changed paths:
    M class.dd
    M declaration.dd
    M expression.dd
    M function.dd
    M grammar.dd
    M struct.dd
    M template.dd

  Log Message:
  -----------
  Merge pull request #660 from 9rnsr/fix_function

Fix grammar around function declaration


Compare: https://github.com/D-Programming-Language/dlang.org/compare/26df94a6425f...eb5700c68fd1


More information about the dlang.org mailing list