mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 22:23:23 +00:00
Error duplicate declarations of a typedef name in the same scope.
This commit is contained in:
parent
ecc22f7fed
commit
9a8a644ad1
2 changed files with 11 additions and 3 deletions
|
@ -390,7 +390,7 @@ supply1 { return TOK_SUPPLY1; }
|
|||
if (pkg_user_types.count(s) > 0) {
|
||||
// package qualified typedefed name
|
||||
yylval->string = new std::string(s);
|
||||
return TOK_USER_TYPE;
|
||||
return TOK_PKG_USER_TYPE;
|
||||
}
|
||||
else {
|
||||
// backup before :: just return first part
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue