Fix C macro example

This commit is contained in:
Stephen (Ziyun) Li 2016-01-17 14:56:23 -05:00
parent bff52927f5
commit 8a829704cb

View File

@ -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);
}
}
```