Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Specy committed Nov 18, 2024
1 parent cf845fe commit 5ba5e6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/tables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ impl FirstTable {
pub fn construct(grammar: &Grammar) -> FirstTable {
let mut first_table = IndexMap::new();
let mut indirectly_empty_symbols = IndexSet::new();

let mut done = false;
while !done {
done = true;
Expand Down
2 changes: 1 addition & 1 deletion tests/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ fn raising_correct_error_when_creating_lalr_parser_for_non_lalr_grammar() {
fn correctly_creating_first_and_follow_sets_for_indirectly_empty_grammar() {
let grammar = Grammar::parse(common::grammars::INDIRECT_EMPTY).unwrap();
let parser = Parser::lr(grammar).unwrap();

let first_table = parser.first_table();
{
// +--------+-----------+
Expand Down

0 comments on commit 5ba5e6b

Please sign in to comment.