3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-27 10:55:51 +00:00

Merge pull request #2550 from zachjs/macro-arg-spaces

verilog: allow spaces in macro arguments
This commit is contained in:
whitequark 2021-01-25 10:36:07 +00:00 committed by GitHub
commit ffbd813a8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 1 deletions

View file

@ -392,7 +392,6 @@ static bool read_argument(std::string &dest)
{
std::vector<char> openers;
for (;;) {
skip_spaces();
std::string tok = next_token(true);
if (tok == ")") {
if (openers.empty())