X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Fselection%2Fscanner.l;h=d2d2fd97ecbd8bc7edcfd52df34ceeaf32a89d0d;hb=180cf1538ad2b19bd6b4108662adc4a519565fcb;hp=f41234b2de01ea6d47b9acfe7560e89d1990633c;hpb=1d597ac0415f9a847715ef65daa55fe1312bd59f;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/selection/scanner.l b/src/gromacs/selection/scanner.l index f41234b2de..d2d2fd97ec 100644 --- a/src/gromacs/selection/scanner.l +++ b/src/gromacs/selection/scanner.l @@ -135,7 +135,7 @@ COMMENT (#.*) \\\n { _gmx_sel_lexer_add_token(yylloc, " ", 1, state); break; } ";"|\n { - if (yytext[0] == ';' || state->bInteractive) + if (yytext[0] == ';' || state->statusWriter != NULL) { rtrim(state->pselstr); state->bCmdStart = true;