mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
Merge pull request #3755 from RTLWorks/muthu/issue3498
[YOSYS] Issue #3498 - Fix Synopsys style unquoted Liberty style
This commit is contained in:
commit
acfdc5cc42
2 changed files with 12 additions and 4 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