Commit 7ecabc85 authored by Stefano Sabatini's avatar Stefano Sabatini

vsrc_life: fix comment in parse_rule()

parent 3af5ddb2
...@@ -108,8 +108,8 @@ static int parse_rule(uint16_t *born_rule, uint16_t *stay_rule, ...@@ -108,8 +108,8 @@ static int parse_rule(uint16_t *born_rule, uint16_t *stay_rule,
if (*p) if (*p)
goto error; goto error;
} else { } else {
/* parse the rule as a number, expressed in the form STAY|(BORN<<9), /* parse rule as a number, expressed in the form STAY|(BORN<<9),
* where STAY and DEATH encode the corresponding 9-bits rule */ * where STAY and BORN encode the corresponding 9-bits rule */
long int rule = strtol(rule_str, &tail, 10); long int rule = strtol(rule_str, &tail, 10);
if (*tail) if (*tail)
goto error; goto error;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment