aligrudi / neateqn

An eqn preprocessor for Neatroff
http://litcave.rudi.ir/
11 stars 10 forks source link

eqn: fix crash for unterminated pile and matrix col #6

Closed edeemer closed 1 year ago

edeemer commented 1 year ago

The proposed commit fixes the crash for the following cases:

.EQ
rpile {
.EN

and

.EQ
matrix { lcol {
.EN

The reason for the crash is infinite loop with eqn_boxuntil().

aligrudi commented 1 year ago

edeemer @.***> wrote:

The proposed commit fixes the crash for the following cases:

..EQ
rpile {
..EN

and

..EQ
matrix { lcol {
..EN

The reason for the crash is infinite loop with eqn_boxuntil(). You can view, comment on, or merge this pull request online at:

Thanks. Applied.

Ali