From c9dc84c95ce5b322fa6381ec3ad9ac3b506cc5fb Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 7 Jul 2017 19:06:31 +0000 Subject: add parentheses to the output where required for disambiguation --- regress/eqn/over/noarg.out_ascii | 2 +- regress/eqn/over/precedence.out_ascii | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'regress/eqn/over') diff --git a/regress/eqn/over/noarg.out_ascii b/regress/eqn/over/noarg.out_ascii index 22ceb49e..c30afa55 100644 --- a/regress/eqn/over/noarg.out_ascii +++ b/regress/eqn/over/noarg.out_ascii @@ -4,6 +4,6 @@ NNAAMMEE oovveerr--nnooaarrgg - fraction operator without arguments DDEESSCCRRIIPPTTIIOONN - initial text // final text + initial text (/)/ final text OpenBSD July 4, 2017 OpenBSD diff --git a/regress/eqn/over/precedence.out_ascii b/regress/eqn/over/precedence.out_ascii index a77aa47f..1059b742 100644 --- a/regress/eqn/over/precedence.out_ascii +++ b/regress/eqn/over/precedence.out_ascii @@ -4,7 +4,7 @@ NNAAMMEE oovveerr--pprreecceeddeennccee - precedence of the fraction operator DDEESSCCRRIIPPTTIIOONN - initial text 1 + _x + _x^2/2 + _x^3/(2 * 3) ; _a^/_c~ ; aa/cc ; sqrt(_a)/sqrt(_c) - final text + initial text 1 + _x + (_x^2)/2 + (_x^3)/(2 * 3) ; _a^/_c~ ; aa/cc ; + sqrt(_a)/sqrt(_c) final text OpenBSD July 6, 2017 OpenBSD -- cgit