diff options
| author | Tyge Lovset <[email protected]> | 2023-06-21 00:35:30 +0200 |
|---|---|---|
| committer | Tyge Lovset <[email protected]> | 2023-06-21 00:35:30 +0200 |
| commit | bc6b781548c10935ec6e72e42ece905f46105ec3 (patch) | |
| tree | af0bfe7415950fd377f1b214ad0b1d45d7ec9866 /include | |
| parent | 3aa8a04f4fe38d828006b4713beb390ef526cea7 (diff) | |
| download | STC-modified-bc6b781548c10935ec6e72e42ece905f46105ec3.tar.gz STC-modified-bc6b781548c10935ec6e72e42ece905f46105ec3.zip | |
Minor fix.
Diffstat (limited to 'include')
| -rw-r--r-- | include/stc/algo/coroutine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/algo/coroutine.h b/include/stc/algo/coroutine.h index 727ce2a8..a2496d25 100644 --- a/include/stc/algo/coroutine.h +++ b/include/stc/algo/coroutine.h @@ -69,7 +69,7 @@ enum { /* Always use { } after cco_switch(x), cco_case(val), and cco_default. */ #define cco_switch(x) for (intmax_t _sw = (intmax_t)(x), _once=1; _once; _once=0) #define cco_case(val) if (_sw == (intmax_t)(val)) -#define cco_default else +#define cco_default #define cco_routine(co) \ for (int *_state = &(co)->cco_state; *_state != cco_state_done; *_state = cco_state_done) \ |
