aboutsummaryrefslogtreecommitdiff
path: root/mparser.py
diff options
context:
space:
mode:
Diffstat (limited to 'mparser.py')
-rw-r--r--mparser.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mparser.py b/mparser.py
index 1f7de21..7796dd8 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