1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

[Lexer] Remove Ambiguity in parser on empty input.

This commit is contained in:
Dave Davenport 2018-07-21 18:43:03 +02:00
parent 06165f867a
commit 0058088962

View file

@ -258,8 +258,7 @@ static ThemeColor hwb_to_rgb ( double h, double w, double b)
* First have the configuration blocks, then the theme.
*/
t_main
: %empty {}
| t_configuration_list t_entry_list {
: t_configuration_list t_entry_list {
// Dummy at this point.
}
;
@ -276,9 +275,8 @@ t_entry_list:
$$ = rofi_theme;
}
}
| t_entry_list
t_entry {
}
| t_entry_list t_entry {
}
;
/**