[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#103239: 2*(x)-0.1


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 %prec OPEN 

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

Martin Stigge

Reply to: