Only accept exact matches for selection keywords
[alexxy/gromacs.git] / src / gromacs / selection / scanner_internal.cpp
index fc20e46890510bb666bcaa2f5790bbfd04846861..1f3be505e5d192e406ce9824d30b916a1942ad54 100644 (file)
@@ -281,7 +281,7 @@ _gmx_sel_lexer_process_identifier(YYSTYPE *yylval, YYLTYPE *yylloc,
 
     /* Check if the identifier matches with a symbol */
     const gmx::SelectionParserSymbol *symbol
-        = state->sc->symtab->findSymbol(std::string(yytext, yyleng), false);
+        = state->sc->symtab->findSymbol(std::string(yytext, yyleng));
     /* If there is no match, return the token as a string */
     if (!symbol)
     {