biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactor for testing interactive selection input
[alexxy/gromacs.git]
/
src
/
gromacs
/
selection
/
scanner.l
diff --git
a/src/gromacs/selection/scanner.l
b/src/gromacs/selection/scanner.l
index f41234b2de01ea6d47b9acfe7560e89d1990633c..d2d2fd97ecbd8bc7edcfd52df34ceeaf32a89d0d 100644
(file)
--- 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;