[dylan-lang/melange] 9d941b: [docs] Stop documenting excluding struct slots.
GitHub <[email protected]> Thu, 24 Sep 2015 01:57:48 -0700
| Newsgroups | gmane.comp.lang.dylan.gwydion.cvs |
|---|---|
| Message-ID | <5603bb0cacaa9_17e23fe16a71f29c921f7@hookshot-fe5-cp1-prd.iad.github.net.mail> |
Branch: refs/heads/master
Home: https://github.com/dylan-lang/melange
Commit: 9d941bb42314e8b1b19f49faaa2447b8a43a8ad2
https://github.com/dylan-lang/melange/commit/9d941bb42314e8b1b19f49faaa2447b8a43a8ad2
Author: Bruce Mitchener <[email protected]>
Date: 2015-09-24 (Thu, 24 Sep 2015)
Changed paths:
M documentation/source/struct-union-clauses.rst
Log Message:
-----------
[docs] Stop documenting excluding struct slots.
We don't support excluding struct slots as the C-FFI definition
must list all struct members.
Commit: 957053f06103cc4a4b2af3eb71c68e2faeb6c61c
https://github.com/dylan-lang/melange/commit/957053f06103cc4a4b2af3eb71c68e2faeb6c61c
Author: Bruce Mitchener <[email protected]>
Date: 2015-09-24 (Thu, 24 Sep 2015)
Changed paths:
M melange-core/c-decl-write-c-ffi.dylan
M melange-core/c-decl.dylan
M tests/test.enum/enum.h
M tests/test.enum/expected.dylan
M tests/test.enum/test.intr
Log Message:
-----------
Let excluding enumeration values work.
* melange-core/c-decl.dylan
(exclude-decl): Turn into a method so that we can specialize it.
(<enum-slot-declaration>): Add an excluded? slot.
(exclude-decl on <enum-slot-declaration>): Set excluded? as well as
declared?.
* melange-core/c-decl-write-c-ffi.dylan
(write-declaration on <enum-declaration>): Track whether or not
any values have been written out to avoid printing an extra
newline if no values were printed. Check whether or not the
<enum-slot-declaration> has been excluded and if so, don't
print it.
* tests/test.enum: Update with tests of excluding enum values.
Compare: https://github.com/dylan-lang/melange/compare/e94fb42bdbb4...957053f06103
_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter