mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Merge branch 'YosysHQ:master' into main/issue2525
This commit is contained in:
commit
693c609eec
18 changed files with 2505 additions and 57 deletions
|
@ -236,10 +236,10 @@ LibertyAst *LibertyParser::parse()
|
|||
|
||||
if (tok == ':' && ast->value.empty()) {
|
||||
tok = lexer(ast->value);
|
||||
if (tok != 'v')
|
||||
error();
|
||||
tok = lexer(str);
|
||||
while (tok == '+' || tok == '-' || tok == '*' || tok == '/') {
|
||||
if (tok == 'v') {
|
||||
tok = lexer(str);
|
||||
}
|
||||
while (tok == '+' || tok == '-' || tok == '*' || tok == '/' || tok == '!') {
|
||||
ast->value += tok;
|
||||
tok = lexer(str);
|
||||
if (tok != 'v')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue