Jean-Marc Lasgouttes wrote:
OK, but how does this work on the first string you encounter? I.e., we have something like:The parser for this file just uses LyX's general-purpose lexer. Apparently, it does not know about escaped quotes.Of course it does (when you ask nicely). Lexer::next(true) should do the trick.
lex.setFile(...)
while (lex.isOK()) {
s = lex.getString();
lex.next(true);
}
but will this work the first time?
I don't think we need it for the present issue.
rh
