@@ -1304,7 +1304,7 @@ specify_item:
1304
1304
specify_rise_fall_ptr_t timing = std::move ($9 );
1305
1305
1306
1306
if (specify_edge != 0 && target->dat == nullptr )
1307
- err_at_loc (@3 , " Found specify edge but no data spec.\n " );
1307
+ err_at_loc (@3 , " Found specify edge but no data spec." );
1308
1308
1309
1309
auto cell_owned = std::make_unique<AstNode>(@$, AST_CELL);
1310
1310
auto cell = cell_owned.get ();
@@ -1379,7 +1379,7 @@ specify_item:
1379
1379
TOK_ID TOK_LPAREN specify_edge expr specify_condition TOK_COMMA specify_edge expr specify_condition TOK_COMMA specify_triple specify_opt_triple TOK_RPAREN TOK_SEMICOL {
1380
1380
if (*$1 != " $setup" && *$1 != " $hold" && *$1 != " $setuphold" && *$1 != " $removal" && *$1 != " $recovery" &&
1381
1381
*$1 != " $recrem" && *$1 != " $skew" && *$1 != " $timeskew" && *$1 != " $fullskew" && *$1 != " $nochange" )
1382
- err_at_loc (@1 , " Unsupported specify rule type: %s\n " , $1 ->c_str ());
1382
+ err_at_loc (@1 , " Unsupported specify rule type: %s" , $1 ->c_str ());
1383
1383
1384
1384
auto src_pen = AstNode::mkconst_int (@3 , $3 != 0 , false , 1 );
1385
1385
auto src_pol = AstNode::mkconst_int (@3 , $3 == ' p' , false , 1 );
@@ -1518,19 +1518,19 @@ specify_rise_fall:
1518
1518
$$ = std::make_unique<struct specify_rise_fall >();
1519
1519
$$->rise = std::move (*$2 );
1520
1520
$$->fall = std::move (*$4 );
1521
- err_at_loc (@$, " Path delay expressions beyond rise/fall not currently supported. Ignoring.\n " );
1521
+ warn_at_loc (@$, " Path delay expressions beyond rise/fall not currently supported. Ignoring." );
1522
1522
} |
1523
1523
TOK_LPAREN specify_triple TOK_COMMA specify_triple TOK_COMMA specify_triple TOK_COMMA specify_triple TOK_COMMA specify_triple TOK_COMMA specify_triple TOK_RPAREN {
1524
1524
$$ = std::make_unique<struct specify_rise_fall >();
1525
1525
$$->rise = std::move (*$2 );
1526
1526
$$->fall = std::move (*$4 );
1527
- err_at_loc (@$, " Path delay expressions beyond rise/fall not currently supported. Ignoring.\n " );
1527
+ warn_at_loc (@$, " Path delay expressions beyond rise/fall not currently supported. Ignoring." );
1528
1528
} |
1529
1529
TOK_LPAREN specify_triple TOK_COMMA specify_triple TOK_COMMA specify_triple TOK_COMMA specify_triple TOK_COMMA specify_triple TOK_COMMA specify_triple TOK_COMMA specify_triple TOK_COMMA specify_triple TOK_COMMA specify_triple TOK_COMMA specify_triple TOK_COMMA specify_triple TOK_COMMA specify_triple TOK_RPAREN {
1530
1530
$$ = std::make_unique<struct specify_rise_fall >();
1531
1531
$$->rise = std::move (*$2 );
1532
1532
$$->fall = std::move (*$4 );
1533
- err_at_loc (@$, " Path delay expressions beyond rise/fall not currently supported. Ignoring.\n " );
1533
+ warn_at_loc (@$, " Path delay expressions beyond rise/fall not currently supported. Ignoring." );
1534
1534
}
1535
1535
1536
1536
specify_triple:
@@ -2585,7 +2585,7 @@ assert:
2585
2585
node->str = *$1 ;
2586
2586
}
2587
2587
if (!$3 )
2588
- err_at_loc (@$ , " SystemVerilog does not allow \" restrict\" without \" property\" .\n " );
2588
+ warn_at_loc (@ 3 , " SystemVerilog does not allow \" restrict\" without \" property\" ." );
2589
2589
} |
2590
2590
opt_sva_label TOK_RESTRICT opt_property TOK_LPAREN TOK_EVENTUALLY expr TOK_RPAREN TOK_SEMICOL {
2591
2591
if (mode->norestrict ) {
@@ -2596,7 +2596,7 @@ assert:
2596
2596
node->str = *$1 ;
2597
2597
}
2598
2598
if (!$3 )
2599
- err_at_loc (@$ , " SystemVerilog does not allow \" restrict\" without \" property\" .\n " );
2599
+ warn_at_loc (@ 3 , " SystemVerilog does not allow \" restrict\" without \" property\" ." );
2600
2600
};
2601
2601
2602
2602
assert_property:
0 commit comments