You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 the parse() procedure.
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 : victorsndvg@a9c201a
Do you think I'm right or there is something that I'm missing?
The text was updated successfully, but these errors were encountered: