]> git.lyx.org Git - features.git/commit
Avoid an infinite loop
authorEnrico Forestieri <forenr@lyx.org>
Fri, 9 Feb 2018 22:35:33 +0000 (23:35 +0100)
committerEnrico Forestieri <forenr@lyx.org>
Fri, 9 Feb 2018 22:42:24 +0000 (23:42 +0100)
commit8e8b3f610495493f4f1bff3f4a0ff48f4eab4539
tree6be2b778cc1fb097599d770180a12c899304ec25
parent8f86b72cf4b88ae74adc5d94f6cbb60b64b8fb28
Avoid an infinite loop

When pasting "\big" without any following delimiter, avoid
processing the same token again and again. For unknown reasons,
the delim docstring turns out to always be not empty: even when
it simply contains a '0' (no delimiter follows), its length is 1.

Fixes bug #11027.
src/mathed/MathParser.cpp