mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-11 13:50:48 -05:00
[Lexer] Remove Ambiguity in parser on empty input.
This commit is contained in:
parent
06165f867a
commit
0058088962
1 changed files with 3 additions and 5 deletions
|
@ -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 {
|
||||
}
|
||||
;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue