3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-13 04:28:18 +00:00

[YOSYS-2525] fix read_liberty newline handling #2525

- newlines can be allowed in function parsing
This commit is contained in:
Muthu Annamalai 2023-05-04 22:30:27 -07:00
parent f93671eb85
commit 81e089cb60

View file

@ -314,8 +314,8 @@ LibertyAst *LibertyParser::parse()
switch(tok) switch(tok)
{ {
case 'n': case 'n':
error("Unexpected newline."); //fprintf(stderr,"Unexpected newline at %d\n",line);
break; continue;
case '[': case '[':
case ']': case ']':
case '}': case '}':