I've run across some C code targeting TI microcontrollers that looks like this:
statement;
statement;
{
statement;
{
statement;
statement;
}
{
statement;
statement;
}
}
I'm confused by the use of the { ... }
blocks without a loop or control statement or anything. The comments suggest that this is an "atomic subsystem," but I understand the need for nested sets of { { ... } }
in that situation.
- Do the curly braces have any meaning here?
- If so, is this meaning inherent to TI's compiler or is it a standard part of C?