diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2014-03-16 22:26:22 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2014-03-16 22:26:22 +0200 |
commit | 5658127392c422f4760675fd23844402ea81d975 (patch) | |
tree | 228fb3af3533987cd7a25df2f2f9d23eabf609af /meson.py | |
parent | 889e4b03c02dc01f194c9affa230591dce83e0da (diff) | |
download | meson-5658127392c422f4760675fd23844402ea81d975.zip meson-5658127392c422f4760675fd23844402ea81d975.tar.gz meson-5658127392c422f4760675fd23844402ea81d975.tar.bz2 |
Here we go, starting parser transplant.
Diffstat (limited to 'meson.py')
-rwxr-xr-x | meson.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -169,8 +169,8 @@ if __name__ == '__main__': app.generate() except Exception as e: if isinstance(e, MesonException): - if hasattr(e, 'file') and hasattr(e, 'lineno'): - mlog.log(mlog.red('\nMeson encountered an error in %s:%d:' % (e.file, e.lineno))) + if hasattr(e, 'file') and hasattr(e, 'lineno') and hasattr(e, 'colno'): + mlog.log(mlog.red('\nMeson encountered an error in %s:%d,%d:' % (e.file, e.lineno, e.colno))) else: mlog.log(mlog.red('\nMeson encountered an error:')) mlog.log(e) |