Closed Lyphion closed 1 month ago
@Lyphion -- the proposal looks good. However, the resulting translated code is not accepted by IFX. Not sure if the input (OpenACC) code is legit Fortran, I'm not an expert. Still, I will merge the code -- but I cannot add a test for this specific case as it won't compile.
Fixed wrong removal of last
&
on multiline construct when reading empty line. The following Fortran code provides an example on how to reproduce the error:When using the code above the internal construct would save
data present(a create(b)
after parsing, because it would suppress the last char after reading an empty line without checking if the char is really an&
.