Accept real-valued delay values
authorClifford Wolf <clifford@clifford.at>
Sat, 18 Nov 2017 09:01:30 +0000 (10:01 +0100)
committerClifford Wolf <clifford@clifford.at>
Sat, 18 Nov 2017 09:01:30 +0000 (10:01 +0100)
frontends/verilog/verilog_parser.y

index ec92f66283be7f052f34fdd327804f97408e768f..3b9134797e8da5ce90fb59a75484e78ce419c3fd 100644 (file)
@@ -359,6 +359,7 @@ package_body_stmt:
 non_opt_delay:
        '#' TOK_ID { delete $2; } |
        '#' TOK_CONSTVAL { delete $2; } |
+       '#' TOK_REALVAL { delete $2; } |
        '#' '(' expr ')' { delete $3; } |
        '#' '(' expr ':' expr ':' expr ')' { delete $3; delete $5; delete $7; };