mirror of https://github.com/YosysHQ/yosys.git
Fixed minor bug in parsing delays
This commit is contained in:
parent
56c7d1e266
commit
76c83283c4
|
@ -342,7 +342,10 @@ import[ \t\r\n]+\"(DPI|DPI-C)\"[ \t\r\n]+function[ \t\r\n]+ {
|
||||||
[ \t\r\n] /* ignore whitespaces */
|
[ \t\r\n] /* ignore whitespaces */
|
||||||
\\[\r\n] /* ignore continuation sequence */
|
\\[\r\n] /* ignore continuation sequence */
|
||||||
"//"[^\r\n]* /* ignore one-line comments */
|
"//"[^\r\n]* /* ignore one-line comments */
|
||||||
"#"[$a-zA-Z_0-9\.]+ /* ignore simulation timings */
|
|
||||||
|
"#"\ *[0-9][0-9_]* /* ignore simulation timings */
|
||||||
|
"#"\ *[0-9][0-9_]*\.[0-9][0-9_]* /* ignore simulation timings */
|
||||||
|
"#"\ *[$a-zA-Z_\.][$a-zA-Z_0-9\.]* /* ignore simulation timings */
|
||||||
|
|
||||||
. { return *yytext; }
|
. { return *yytext; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue