Browse Source

[config] fix bug in config parser (failed parsing names followed by a comma)

personal/stbuehler/wip
Stefan Bühler 9 years ago
parent
commit
e4c99e55d6
  1. 2
      src/main/config_parser.rl

2
src/main/config_parser.rl

@ -279,7 +279,7 @@ GQuark li_config_error_quark(void) {
}
noise_char = [\t \r\n#];
operator_char = [+\-*/=<>!^$~;(){}[\]] | '"' | "'";
operator_char = [+\-*/=<>!^$~;,(){}[\]] | '"' | "'";
operator_separator_char = [;,(){}[\]];
keywords = ( 'and' | 'default' | 'else' | 'false' | 'global' | 'if' | 'include' | 'include_lua' | 'include_shell' | 'local' | 'none' | 'not' | 'or' | 'setup' | 'true' );

Loading…
Cancel
Save