Skip to content

Commit

Permalink
Support for pattern, optional changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
corywalker committed Aug 15, 2017
1 parent 8ccafdb commit e784606
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions expreduce/interp.go
Expand Up @@ -323,13 +323,13 @@ func ParserExprConv(expr *wl.Expression) Ex {
&Integer{big.NewInt(-1)},
}),
})
case 40, 71:
case 40:
return NewExpression([]Ex{
&Symbol{"System`Optional"},
ParserTokenConv(expr.Token),
ParserTokenConv(expr.Token3),
ParserTermConv(expr.Term),
})
case 72:
case 128:
return NewExpression([]Ex{
&Symbol{"System`Pattern"},
ParserTokenConv(expr.Token),
Expand Down

0 comments on commit e784606

Please sign in to comment.