Also interpret '&' in liberty functions

This commit is contained in:
Sergiusz Bazanski 2018-05-12 19:53:24 +01:00 committed by Clifford Wolf
parent 587056447e
commit 7d076f071e
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ static RTLIL::SigSpec parse_func_expr(RTLIL::Module *module, const char *expr)
}
token_t next_token(0);
if (*expr == '(' || *expr == ')' || *expr == '\'' || *expr == '!' || *expr == '^' || *expr == '*' || *expr == '+' || *expr == '|')
if (*expr == '(' || *expr == ')' || *expr == '\'' || *expr == '!' || *expr == '^' || *expr == '*' || *expr == '+' || *expr == '|' || *expr == '&')
next_token = token_t(*(expr++));
else
next_token = token_t(0, parse_func_identifier(module, expr));