mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
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:
parent
ff74dbd043
commit
7fea2dad0f
@ -302,6 +302,10 @@ int yylex()
|
|||||||
yylval.i = LM_OT_EQUATION;
|
yylval.i = LM_OT_EQUATION;
|
||||||
return LM_TK_END;
|
return LM_TK_END;
|
||||||
}
|
}
|
||||||
|
if (c == '|') {
|
||||||
|
yytext = "|";
|
||||||
|
return LM_TK_UNDEF;
|
||||||
|
}
|
||||||
if (contains(latex_special_chars, c)) {
|
if (contains(latex_special_chars, c)) {
|
||||||
yylval.i = c;
|
yylval.i = c;
|
||||||
return LM_TK_SPECIAL;
|
return LM_TK_SPECIAL;
|
||||||
|
Loading…
Reference in New Issue
Block a user