From 7fea2dad0ff2cba84b68d1dfae661e2f075ee399 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Fri, 27 Jul 2001 14:50:33 +0000 Subject: [PATCH] somewhat better support for \| when reading git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2372 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_parser.C | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mathed/math_parser.C b/src/mathed/math_parser.C index 35bc647dd2..5ab89b2747 100644 --- a/src/mathed/math_parser.C +++ b/src/mathed/math_parser.C @@ -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;