mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
Fix colon issue
This commit is contained in:
parent
b7e51a90e4
commit
a2ea3c1e7a
1 changed files with 5 additions and 1 deletions
|
@ -319,12 +319,16 @@ LibertyAst *LibertyParser::parse()
|
|||
{
|
||||
case 'n':
|
||||
continue;
|
||||
case ':': // SILIMATE HACK: eat up the ':' and the next thing too
|
||||
tok = lexer(arg);
|
||||
if (tok != 'v')
|
||||
error("Expecting string after ':'.");
|
||||
break;
|
||||
case '[':
|
||||
case ']':
|
||||
case '}':
|
||||
case '{':
|
||||
case '\"':
|
||||
case ':':
|
||||
eReport = "Unexpected '";
|
||||
eReport += static_cast<char>(tok);
|
||||
eReport += "'.";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue