fixed bug in recent xml comment whitespace fix

This commit is contained in:
nhorelik 2013-04-09 15:23:13 -04:00
parent afdb50a0d2
commit bc74a17285

View file

@ -425,7 +425,7 @@ subroutine xml_get( info, tag, endtag, attribs, no_attribs, &
enddo
if ( kend > kspace ) then
kend = kspace
else if (info%line(1:4) == '<!--' .and. kend > kcend) then
else if (info%line(1:4) == '<!--' .and. kcend > 0) then
kend = kcend-1
else
close_bracket = .true.