tex2lyx: update a command

Parser.cpp: improve a command as discussed
This commit is contained in:
Uwe Stöhr 2012-07-03 00:39:41 +02:00
parent 40fb3cca64
commit 487c8b5bd3

View File

@ -399,7 +399,7 @@ Parser::Arg Parser::getFullArg(char left, char right)
putback();
return make_pair(false, string());
} else {
// for \verb a single '\' is allowed no matter what the delimiter is
// a single '\' is only allowed within \verb, no matter what the delimiter is,
// for example "\verb+\+" (reported as bug #4468)
// To support this, we allow single '\' if it is the only character
// within equal delimiters