mirror of https://github.com/YosysHQ/yosys.git
Skip spaces around macro arguments
This commit is contained in:
parent
a7281930c5
commit
872d8d49e9
|
@ -244,6 +244,7 @@ static bool try_expand_macro(std::set<std::string> &defines_with_args,
|
||||||
args.push_back(std::string());
|
args.push_back(std::string());
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
|
skip_spaces();
|
||||||
tok = next_token(true);
|
tok = next_token(true);
|
||||||
if (tok == ")" || tok == "}" || tok == "]")
|
if (tok == ")" || tok == "}" || tok == "]")
|
||||||
level--;
|
level--;
|
||||||
|
|
Loading…
Reference in New Issue