Hi,

one of the shortest expressions where this problem occurs is
"2*(x)-0.1" which is plotted as "2*(x-0.1)" instead of "(2*x)-0.1". I
took a look at the grammar definition in src/mathparse.y and saw the
following rule:

exp:
[...]
        | '(' exp ')' '-' exp %prec OPEN 
[...]

Apparently, this whole grammar is somewhat weird, maybe I'll think about
some corrections.

-- 
Martin Stigge
[EMAIL PROTECTED]


Reply via email to