mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-22 05:47:31 +02:00
Back port variable initialization fix from development.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1998-2012 Stephen Williams ([email protected])
|
* Copyright (c) 1998-2014 Stephen Williams ([email protected])
|
||||||
*
|
*
|
||||||
* This source code is free software; you can redistribute it
|
* This source code is free software; you can redistribute it
|
||||||
* and/or modify it in source code form under the terms of the GNU
|
* and/or modify it in source code form under the terms of the GNU
|
||||||
@@ -1449,7 +1449,7 @@ void pform_make_reginit(const struct vlltype&li,
|
|||||||
|
|
||||||
PEIdent*lval = new PEIdent(name);
|
PEIdent*lval = new PEIdent(name);
|
||||||
FILE_NAME(lval, li);
|
FILE_NAME(lval, li);
|
||||||
PAssign*ass = new PAssign(lval, expr, true);
|
PAssign*ass = new PAssign(lval, expr, generation_flag < GN_VER2001);
|
||||||
FILE_NAME(ass, li);
|
FILE_NAME(ass, li);
|
||||||
PProcess*top = new PProcess(IVL_PR_INITIAL, ass);
|
PProcess*top = new PProcess(IVL_PR_INITIAL, ass);
|
||||||
FILE_NAME(top, li);
|
FILE_NAME(top, li);
|
||||||
|
|||||||
Reference in New Issue
Block a user