A pyro config like 'Descending' has no value associated. When it is at
the end of the line, allow a newline to terminate the name instead of
just a space.
Signed-off-by: Keith Packard <keithp@keithp.com>
break;
for (c = 0; c < AO_PYRO_NAME_LEN - 1; c++) {
break;
for (c = 0; c < AO_PYRO_NAME_LEN - 1; c++) {
+ if (ao_cmd_is_white() || ao_cmd_lex_c == '\n')
break;
name[c] = ao_cmd_lex_c;
ao_cmd_lex();
break;
name[c] = ao_cmd_lex_c;
ao_cmd_lex();