Fix C macro example
This commit is contained in:
parent
bff52927f5
commit
8a829704cb
1 changed files with 5 additions and 3 deletions
|
|
@ -285,9 +285,11 @@ This expands to
|
|||
|
||||
```text
|
||||
const char *state = "reticulating splines";
|
||||
int state = get_log_state();
|
||||
if (state > 0) {
|
||||
printf("log(%d): %s\n", state, state);
|
||||
{
|
||||
int state = get_log_state();
|
||||
if (state > 0) {
|
||||
printf("log(%d): %s\n", state, state);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue