Skip to content

Commit

Permalink
Remove pointless production for (!)
Browse files Browse the repository at this point in the history
  • Loading branch information
athas committed Nov 26, 2021
1 parent a64a596 commit b6845e8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Language/Futhark/Parser/Parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -646,8 +646,6 @@ Atom : PrimLit { Literal (fst $1) (snd $1) }
QualParens (QualName qs name, loc) $2 (srcspan $1 $>) }

-- Operator sections.
| '(' '!' ')'
{ Var (qualName "!") NoInfo (srcspan $2 $>) }
| '(' '-' ')'
{ OpSection (qualName (nameFromString "-")) NoInfo (srcspan $1 $>) }
| '(' Exp2 '-' ')'
Expand Down

0 comments on commit b6845e8

Please sign in to comment.