[dylan-lang/melange] 0da270: Test named enums.

GitHub <[email protected]> Mon, 19 Oct 2015 09:25:52 -0700
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <562519903f00b_646b3fdc8c2152c07381@hookshot-fe2-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/master
  Home:   https://github.com/dylan-lang/melange
  Commit: 0da2702a32c7016289a60e4754abe2f0c4431f88
      https://github.com/dylan-lang/melange/commit/0da2702a32c7016289a60e4754abe2f0c4431f88
  Author: Bruce Mitchener <[email protected]>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M tests/test.enum/enum.h
    M tests/test.enum/expected-c-ffi.dylan

  Log Message:
  -----------
  Test named enums.

* tests/test.enum: Test enum XXX { ... }; syntax.


  Commit: 5d83fb4efdad0cc09b5eee87879255f864eaa971
      https://github.com/dylan-lang/melange/commit/5d83fb4efdad0cc09b5eee87879255f864eaa971
  Author: Bruce Mitchener <[email protected]>
  Date:   2015-10-19 (Mon, 19 Oct 2015)

  Changed paths:
    M melange-core/c-decl-write-mindy.dylan
    M tests/test.enum/expected-mindy.dylan

  Log Message:
  -----------
  Initial mindy support for enums.

This brings over old code from long-ago melange and updates it
to fit in with our changes and things like excluding enum values.

* melange-core/c-decl-write-mindy.dylan
  (write-declaration on <enum-declaration>): Implement.
  (write-declaration on <enum-slot-declaration>): Likewise.

* tests/test.enum/expected-mindy.dylan: Update to match new code.


Compare: https://github.com/dylan-lang/melange/compare/b954cf2c282d...5d83fb4efdad

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter