Kaydet (Commit) 0a6f6cb0 authored tarafından Noel Grandin's avatar Noel Grandin

fix indentation

Change-Id: Icd67d066eb72b951f3e4846d45d00e7863a6000e
üst a28e7f7a
...@@ -621,7 +621,8 @@ static int eq_word(MzString& outs, istream *strm, int status) ...@@ -621,7 +621,8 @@ static int eq_word(MzString& outs, istream *strm, int status)
(token[0] == '_' && status && !(status & SCRIPT_SUB)) || (token[0] == '_' && status && !(status & SCRIPT_SUB)) ||
strcmp("over", token) == 0 || strcmp("atop", token) == 0 || strcmp("over", token) == 0 || strcmp("atop", token) == 0 ||
strchr("{}#&`", token[0]) || strchr("{}#&`", token[0]) ||
(!strchr("^_", token[0]) && white.length()) ) { (!strchr("^_", token[0]) && white.length()) )
{
push_token(white, token, strm); push_token(white, token, strm);
break; break;
} }
...@@ -691,7 +692,8 @@ static char eq2ltxconv(MzString& sstr, istream *strm, const char *sentinel) ...@@ -691,7 +692,8 @@ static char eq2ltxconv(MzString& sstr, istream *strm, const char *sentinel)
} }
else if( eq && (eq->flag & EQ_ENV) ) { else if( eq && (eq->flag & EQ_ENV) ) {
next_token(white, token, strm); next_token(white, token, strm);
if( token[0] != '{' ) return 0; if( token[0] != '{' )
return 0;
sstr << "\\begin" << "{" << eq->key << "}" << ENDL ; sstr << "\\begin" << "{" << eq->key << "}" << ENDL ;
eq2ltxconv(sstr, strm, "}"); eq2ltxconv(sstr, strm, "}");
if( sstr[sstr.length() - 1] != '\n' ) if( sstr[sstr.length() - 1] != '\n' )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment