3
0
Fork 0
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:
Peter Crozier 2020-03-24 14:35:21 +00:00
parent ecc22f7fed
commit 9a8a644ad1
2 changed files with 11 additions and 3 deletions

View file

@ -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