Commit 7f4414b9 authored by albert-github's avatar albert-github
Browse files

Bug 678436 - Nested \if messes up list items

Blank spaces after an if statement have to be removed as well. Also spaces before the firs round bracket have to be removed.
parent de502ca7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1810,7 +1810,7 @@ RCSTAG "$"{ID}":"[^\n$]+"$"


  /* ----- handle arguments of if/ifnot commands ------- */
  /* ----- handle arguments of if/ifnot commands ------- */


<GuardParam>"("                         {
<GuardParam>{B}*"("                         {
                                          g_guardExpr=yytext;
                                          g_guardExpr=yytext;
                                          g_roundCount=1;
                                          g_roundCount=1;
                                          BEGIN(GuardExpr);
                                          BEGIN(GuardExpr);