3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-05-10 17:25:49 +00:00

Fixing coverage of packed assignments

A list can either start with '{ or {, this commit fixes this
This commit is contained in:
David Lanzendörfer 2024-08-19 20:59:38 +01:00
parent 5fb3c0b1d9
commit 173f591c06
2 changed files with 19 additions and 5 deletions

View file

@ -524,6 +524,10 @@ import[ \t\r\n]+\"(DPI|DPI-C)\"[ \t\r\n]+function[ \t\r\n]+ {
"{*" { return DEFATTR_BEGIN; }
"*}" { return DEFATTR_END; }
"'{" { return LIST_SIZED_BEGIN; }
"{" { return LIST_BEGIN; }
"}" { return LIST_END; }
"**" { return OP_POW; }
"||" { return OP_LOR; }
"&&" { return OP_LAND; }