Menu

#420 Parser Error using new line

v1.0_(example)
closed-fixed
None
9
2016-03-26
2016-03-21
Vinay Jain
No

Hi,

In below case Parse gives an error

            `uvm_error(get_type_name(),"More than 256 items have accumulated in the \
transaction layer, and a sequence continues to send items")

if I use {} before string I dont see that error. But I dont see any issue in above synatax.

uvm_error(get_type_name(),{"More than 256 items have accumulated in the \
transaction layer, and a sequence continues to send items"})

Discussion

  • Vinay Jain

    Vinay Jain - 2016-03-21
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -12,5 +12,5 @@
    
     ~~~~
     uvm_error(get_type_name(),{"More than 256 items have accumulated in the \
    -transaction layer, and a sequence continues to send items"}
    -~~~~)
    +transaction layer, and a sequence continues to send items"})
    +~~~~
    
     
  • Matthew Ballance

    • status: open --> closed-fixed
     
  • Matthew Ballance

    Thanks! This will be fixed in the 1.8.4 release

     

Log in to post a comment.