mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 11:23:45 +00:00
Handle backslash at end of line
This occurs when importing the sampleart.ltx file from ltugboat document class.
This commit is contained in:
parent
d6fba3b94e
commit
a2c1229ac1
@ -882,6 +882,9 @@ void Parser::tokenize_one()
|
||||
if (!is_) {
|
||||
error("unexpected end of input");
|
||||
} else {
|
||||
// A single \ at the end of a line is like "\ "
|
||||
if (catcode(c) == catNewline)
|
||||
c = ' ';
|
||||
docstring s(1, c);
|
||||
if (catcode(c) == catLetter) {
|
||||
// collect letters
|
||||
|
Loading…
Reference in New Issue
Block a user