From 27410ce72b2586b6b590011bf163112f0b9a61ab Mon Sep 17 00:00:00 2001 From: Alex Jordan Date: Tue, 30 Jun 2020 01:41:31 -0700 Subject: [PATCH] Make function parenPrecedence greater than unary negative, postive --- lib/Parser/Context/Default.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Parser/Context/Default.pm b/lib/Parser/Context/Default.pm index e988e0e570..ff06dc4c6a 100644 --- a/lib/Parser/Context/Default.pm +++ b/lib/Parser/Context/Default.pm @@ -82,7 +82,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},