Make in() static since it's not supposed to be used outside the lexer.

This commit is contained in:
Stefano Sanfilippo 2014-12-01 09:55:06 +01:00
parent d031031e4e
commit ffb2c6f975

View File

@ -30,7 +30,7 @@ typedef Parser::token token;
#define YY_USER_ACTION location->begin.columns(yyleng);
inline
static inline
bool in(const char *sub, const std::string &str) {
return str.find(sub) != std::string::npos;
}