1
0
Fork 0
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:
Dave Davenport 2018-04-28 15:29:17 +02:00
parent 3a726eabba
commit 02baaf4df4

View file

@ -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);
}
}