]> git.lyx.org Git - features.git/commit
Make tex2lyx encoding changes more robust
authorGeorg Baum <baum@lyx.org>
Sun, 17 Feb 2013 13:53:56 +0000 (14:53 +0100)
committerGeorg Baum <baum@lyx.org>
Sun, 17 Feb 2013 14:04:14 +0000 (15:04 +0100)
commit25fe87e55c2449e4305e1b200469a48c75b0ea6e
treecb5f4cb9fd36f4ff64a1282cd34d959c4986e072
parent94cb22ac432db28979ada1227e1dcea7b43666e8
Make tex2lyx encoding changes more robust

This is achieved by not calling Parse::tokenize_one() anymore in
Parser::good(): The status of the input can be tested without performing the
actual tokenizing. Now there are only two methods that may prevent an encoding
change:next_token() and next_next_token().
src/tex2lyx/Parser.cpp
src/tex2lyx/Parser.h