easier to understand
This commit is contained in:
parent
03b9a7679f
commit
00671f943b
|
@ -1348,8 +1348,8 @@ subroutine tList_append(self,node)
|
||||||
type(tItem), pointer :: item
|
type(tItem), pointer :: item
|
||||||
|
|
||||||
if (.not. associated(self%first)) then
|
if (.not. associated(self%first)) then
|
||||||
allocate(self%first)
|
allocate(item)
|
||||||
item => self%first
|
self%first => item
|
||||||
else
|
else
|
||||||
item => self%first
|
item => self%first
|
||||||
do while (associated(item%next))
|
do while (associated(item%next))
|
||||||
|
|
Loading…
Reference in New Issue