mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
[Lexer] Make not finding a configuration option a warning, not an error.
This commit is contained in:
parent
3a726eabba
commit
02baaf4df4
1 changed files with 4 additions and 0 deletions
|
@ -321,7 +321,11 @@ t_config_property
|
|||
char *error = NULL;
|
||||
if ( config_parse_set_property ( $1, &error ) ) {
|
||||
// TODO Generate error.
|
||||
#ifdef FATAL_CONFIG_ERROR
|
||||
yyerror ( &(@$), @$.filename, error );
|
||||
#else
|
||||
g_warning("%s:%d:%d: %s\n", @$.filename, @$.first_line, @$.first_column, error);
|
||||
#endif
|
||||
g_free(error);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue