1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-08 15:29:37 +00:00

Updated switch statement comments.

* Now comments represent the fact that there may not be curly braces.
This commit is contained in:
Chris Cacciatore 2016-08-19 20:21:10 -07:00
parent ac4bdbd411
commit 7919812378
2 changed files with 3 additions and 3 deletions

View File

@ -144,8 +144,8 @@ void SwitchStatement (void)
/* Create a loop so we may use break. */
AddLoop (ExitLabel, 0);
/* Parse the following statement, which will actually be a compound
** statement because of the curly brace at the current input position
/* Parse the following statement, which may actually be a compound
** statement if there is a curly brace at the current input position
*/
HaveBreak = Statement (&RCurlyBrace);

View File

@ -22,7 +22,7 @@ void switch_no_body(void)
void switch_empty_body(void)
{
switch(0) {};
switch(0) {}
}
/* only worried about this file compiling successfully */