February 12, 2024 General » [Language construct idea] The for loop with prepare step | |||
|---|---|---|---|
| |||
...if (!condition) goto end;
body;
increment;
goto start;
end:
```
`continue` is also `goto start`.
Sometimes... | |||
January 25, 2024 Issues » [Issue 24356] goto case label not correctly generated by CTFE | |||
|---|---|---|---|
| |||
...edit Work around for goto case CTFE bug Shows that goto case does work with... | |||
January 25, 2024 Issues » [Issue 24356] New: goto case label not correctly generated by CTFE | |||
|---|---|---|---|
| |||
...action=edit Goto case CTFE compilation error If the label in a `goto case` is... | |||
January 16, 2024 General » Re: An idea; Coroutines | |||
|---|---|---|---|
| |||
...output) {
switch(state) {
case 0:
goto LABEL0;
case 1:
goto LABEL1;
default:
assert(0);
}
LABEL0... | |||
December 31, 2023 Announce » D Language Foundation October Monthly Meeting Summary | |||
|---|---|---|---|
| |||
...post about how D handles it with `goto case`. It got a lot of upvotes... | |||
December 30, 2023 Issues » [Issue 24291] ImportC: support computed goto | |||
|---|---|---|---|
| |||
https://issues.dlang.org/show_bug.cgi?id=24291 --- Comment #9 from Walter Bright <bugzilla... | |||
December 30, 2023 Issues » [Issue 24291] ImportC: support computed goto | |||
|---|---|---|---|
| |||
...cannot compile |ImportC: support computed
|janet.c |goto
OS|Linux |All
--- Comment #8 from Walter... | |||
December 25, 2023 Issues » [Issue 24300] New: error message for a jump over `scope(exit)` leaks internal details | |||
|---|---|---|---|
| |||
...C) int puts(const char*);
int main () {
goto L0;
scope(exit) puts("meow");
L0:
puts... | |||
December 21, 2023 Issues » [Issue 24291] New: ImportC: cannot compile janet.c | |||
|---|---|---|---|
| |||
...expected following `goto` src/core/vm.c(643): Error: found `*` when expecting `;` following `goto` statement... | |||
December 20, 2023 Learn » Re: Compiler analysis fault? | |||
|---|---|---|---|
| |||
...a goto statement or labeled break/continue.
```D
bool foo()
{
while(true)
{
L2:
goto L2... | |||
Copyright © 1999-2021 by the D Language Foundation