somewhat better support for \| when reading

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2372 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-07-27 14:50:33 +00:00
parent ff74dbd043
commit 7fea2dad0f

View File

@ -302,6 +302,10 @@ int yylex()
yylval.i = LM_OT_EQUATION;
return LM_TK_END;
}
if (c == '|') {
yytext = "|";
return LM_TK_UNDEF;
}
if (contains(latex_special_chars, c)) {
yylval.i = c;
return LM_TK_SPECIAL;