Closed victorsndvg closed 7 years ago
Great @victorsndvg , I'll look into it now!
@victorsndvg You are right! Just patched! Thank you very much. New master will be uploaded soon.
P.S. I think this is the first test of %free method... I have to expand the tests suite...
@victorsndvg New v1.1.1 pushed. I think your patch is perfect, no other missing issues should be involved, many many thanks!
Hi @szaghi ,
I think there is a bug (in release mode) using FLAP while parsing CLI multiple times. If I run the code below, the second time that I call
parse(error)
,error
value is not initialized from theparse()
procedure.I think that there are 2 minor changes to fix this behaviour. First, force a successful
error
code at the begining of theparse()
procedure in this line: https://github.com/szaghi/FLAP/blob/master/src/lib/flap_command_line_interface_t.F90#L519And finally, Set
is_parsed_
variable to.false.
in thefree()
procedure.You can see this changes in my FLAP-fork in this commit : https://github.com/victorsndvg/FLAP/commit/a9c201a46b402b5a9d00a9b2db6a815ead0b3722
Do you think I'm right or there is something that I'm missing?