vsrc_life: fix comment in parse_rule()
This commit is contained in:
parent
3af5ddb24b
commit
7ecabc8505
1 changed files with 2 additions and 2 deletions
|
|
@ -108,8 +108,8 @@ static int parse_rule(uint16_t *born_rule, uint16_t *stay_rule,
|
|||
if (*p)
|
||||
goto error;
|
||||
} else {
|
||||
/* parse the rule as a number, expressed in the form STAY|(BORN<<9),
|
||||
* where STAY and DEATH encode the corresponding 9-bits rule */
|
||||
/* parse rule as a number, expressed in the form STAY|(BORN<<9),
|
||||
* where STAY and BORN encode the corresponding 9-bits rule */
|
||||
long int rule = strtol(rule_str, &tail, 10);
|
||||
if (*tail)
|
||||
goto error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue