diff options
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) |