diff options
Diffstat (limited to 'mparser.py')
| -rw-r--r-- | mparser.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mparser.py b/mparser.py index 1f7de2110..7796dd849 100644 --- a/mparser.py +++ b/mparser.py @@ -16,11 +16,11 @@ import re import sys +from coredata import MesonException -class ParseException(Exception): +class ParseException(MesonException): def __init__(self, text, lineno, colno): - super().__init__() - self.text = text + super().__init__(text) self.lineno = lineno self.colno = colno |
