Thread overview | ||||||
---|---|---|---|---|---|---|
|
June 16, 2021 [Issue 22028] importC: Parser accepts initializers for struct members | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22028 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid, ImportC CC| |ibuclaw@gdcproject.org -- |
June 16, 2021 [Issue 22028] importC: Parser accepts initializers for struct members | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22028 --- Comment #1 from Iain Buclaw <ibuclaw@gdcproject.org> --- Checking whether this affects bit-fields, the parser finds the syntax confusing enough to emit an error (errors are emitted after WIP modifications to accept bit-field syntax in cparseDeclaration) --- struct S { int bf1 : 4 = 5; // Error: cannot modify constant `4` int : 4 = 5; // Error: cannot modify constant `4` int bf2 = 5 : 4; // Error: `=`, `;` or `,` expected (at position `:`) int = 5 : 4; // Error: `=`, `;` or `,` expected (at position `=` ???) }; -- |
June 16, 2021 [Issue 22028] importC: Parser accepts initializers for struct members | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22028 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> --- @ibuclaw created dlang/dmd pull request #12692 "fix Issue 22028 - importC: Parser accepts initializers for struct members" fixing this issue: - fix Issue 22028 - importC: Parser accepts initializers for struct members https://github.com/dlang/dmd/pull/12692 -- |
June 17, 2021 [Issue 22028] importC: Parser accepts initializers for struct members | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22028 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dmd pull request #12692 "fix Issue 22028 - importC: Parser accepts initializers for struct members" was merged into master: - f94406fa43fa08f2f4f8ec97b8d9212f5014287f by Iain Buclaw: fix Issue 22028 - importC: Parser accepts initializers for struct members https://github.com/dlang/dmd/pull/12692 -- |
Copyright © 1999-2021 by the D Language Foundation