https://bugs.freedesktop.org/show_bug.cgi?id=55853

--- Comment #6 from Frédéric Wang <[email protected]> ---
For the current bug, I think the solution is to modify SmParser::NextToken() so
that numbers and identifiers are treated as separate tokens i.e. "2n" will be
interpreted as "2 n". (BTW, we need to interpret "2 n" as a product, but this
can be done in bug 66081).

Then if we want to preserve the "x_2n" syntax asked in
https://issues.apache.org/ooo/show_bug.cgi?id=11752, the solution will be to
modify SmParser::Term() so that a list of numbers and identifiers, not
separated by spaces will be grouped into a single SmExpressionNode and
returned. Since SmParser::NextToken() skip white spaces, the absence of white
space separators should be verified in the SmParser::Term() itself when numbers
and identifiers are grouped.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to