[flang][runtime] Catch infinite unlimited format repetition better
The runtime check for infinite unlimited format repetition is missing the case of implicit unlimited format repetition at the top level without finding the next data edit descriptor that corresponds with a data list item. Replace the check with a Boolean flag that detects unlimited repetition hitting a right parenthesis and restarting, and fail when it happens the second time. Differential Revision: https://reviews.llvm.org/D145745
Loading
Please sign in to comment