> | reading this formula with 1.2.0 gives always the message
> | that the file may be corrupted (truncated). 
> | so far so good, but lyx ignores all the text behind 
> | this formula.
> 
> so the formula parser does not read (and remove) the \end_inset...

It ignores after its own end everything up to the next \end_inset.

I think the only comparatively safe way is to have the lexer reading into a
vector<token> up to an \end_inset and let the "real parser" operate on
this thing. So an \end_inset cannot be ignored by some wierd structure the
parser does not understand...

Maybe I should simply do that.

Andre'

-- 
André Pönitz ............................................. [EMAIL PROTECTED]

Reply via email to