Skip to content

Commit

Permalink
Merge pull request #487 from Alex-Jordan/parenprecedence
Browse files Browse the repository at this point in the history
Make function parenPrecedence greater than unary negative, postive
  • Loading branch information
taniwallach authored Mar 13, 2021
2 parents c7692ec + 27410ce commit 20f4e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Parser/Context/Default.pm
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ $operators = {
class => 'Parser::BOP::multiply', TeX => ''},

'fn'=> {precedence => 2.9, associativity => 'left', type => 'unary', string => '',
parenPrecedence => 5, hidden => 1},
parenPrecedence => 6.5, hidden => 1},

' ' => {precedence => 3.1, associativity => 'left', type => 'bin', string => '*',
class => 'Parser::BOP::multiply', space => ' *', hidden => 1},
Expand Down

0 comments on commit 20f4e8b

Please sign in to comment.