mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-09 18:52:46 +00:00
ignore again space at the beginning of formulae
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2579 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
6dac02d3bb
commit
403915f5ff
@ -439,7 +439,7 @@ void Parser::tokenize(string const & buffer)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 1
|
||||||
lyxerr << "\nTokens: ";
|
lyxerr << "\nTokens: ";
|
||||||
for (unsigned i = 0; i < tokens_.size(); ++i)
|
for (unsigned i = 0; i < tokens_.size(); ++i)
|
||||||
lyxerr << tokens_[i];
|
lyxerr << tokens_[i];
|
||||||
@ -538,6 +538,9 @@ MathMacroTemplate * Parser::parse_macro()
|
|||||||
|
|
||||||
MathMatrixInset * Parser::parse_normal()
|
MathMatrixInset * Parser::parse_normal()
|
||||||
{
|
{
|
||||||
|
while (nextToken().cat() == catSpace)
|
||||||
|
getToken();
|
||||||
|
|
||||||
Token const & t = getToken();
|
Token const & t = getToken();
|
||||||
|
|
||||||
if (t.cat() == catMath || t.cs() == "(") {
|
if (t.cat() == catMath || t.cs() == "(") {
|
||||||
|
Loading…
Reference in New Issue
Block a user