commit | b2ddbb60368b190d8e0a4af71e2d2dccfb9cf763 | [log] [tgz] |
---|---|---|
author | Jacques Pienaar <jpienaar@google.com> | Tue Jun 26 08:56:55 2018 -0700 |
committer | jpienaar <jpienaar@google.com> | Fri Mar 29 12:26:16 2019 -0700 |
tree | a83362690680a6c0b542772acd79ec47729649cc | |
parent | ca4c4a03b02dd8da3378cd9a2ec2834a74948d7d [diff] |
Report parsing error check failures wrt file being parsed. For checking parse errors, the input file is split and failures reported per memory buffer. Simply reporting the errors loses the mapping back to the original file. Change the reporting to instead relate the error reported back to the original file. Use SourceMgr's PrintMessage consistently for errors and relates back to file being parsed. PiperOrigin-RevId: 202136152