Skip to content

Commit

Permalink
Remove redundant paramater
Browse files Browse the repository at this point in the history
We're already taking the entire grammar, so we don't need to separately
take a field of the grammar.
  • Loading branch information
Ericson2314 authored and sgraf812 committed Sep 20, 2024
1 parent dae35bf commit 26b76ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/Main.lhs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ Print out the info file.
> g
> action
> goto
> (token_specs g)
> conflictArray
> fl_name
> unused_rules
Expand Down
4 changes: 2 additions & 2 deletions lib/tabular/src/Happy/Tabular/Info.lhs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ Produce a file of parser information, useful for debugging the parser.
> -> Grammar e
> -> ActionTable
> -> GotoTable
> -> [(Int,String)]
> -> Array Int (Int,Int)
> -> String
> -> [Int] -- unused rules
Expand All @@ -36,8 +35,9 @@ Produce a file of parser information, useful for debugging the parser.
> , lookupProdsOfName = lookupProdNos
> , non_terminals = nonterms
> , token_names = env
> , token_specs = tokens
> })
> action goto tokens conflictArray filename unused_rules unused_terminals version
> action goto conflictArray filename unused_rules unused_terminals version
> = (showHeader
> . showConflicts
> . showUnused
Expand Down

0 comments on commit 26b76ab

Please sign in to comment.