[mlir] Fix emitting an error at EOF
Emitting at error at EOF will emit the diagnostic past the end of the file. When emitting an error during parsing at EOF, emit it at the previous character. Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D122295
parent
88da78dd
Please register or sign in to comment