projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a728193
)
Skip spaces around macro arguments
author
Jim Paris
<jim@jtan.com>
Thu, 17 May 2018 04:06:49 +0000
(
00:06
-0400)
committer
Jim Paris
<jim@jtan.com>
Thu, 17 May 2018 04:06:49 +0000
(
00:06
-0400)
frontends/verilog/preproc.cc
patch
|
blob
|
history
diff --git
a/frontends/verilog/preproc.cc
b/frontends/verilog/preproc.cc
index c43ff4e3a7efe745f4a73339006e0c575edda7e3..00124cb42628965d175aab60bf8cd6b6e77e76bd 100644
(file)
--- a/
frontends/verilog/preproc.cc
+++ b/
frontends/verilog/preproc.cc
@@
-244,6
+244,7
@@
static bool try_expand_macro(std::set<std::string> &defines_with_args,
args.push_back(std::string());
while (1)
{
+ skip_spaces();
tok = next_token(true);
if (tok == ")" || tok == "}" || tok == "]")
level--;