summaryrefslogtreecommitdiff
path: root/py/mpqstrraw.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-15 21:23:31 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-15 21:23:31 +0000
commit9528cd66d7c94d7376884a53c2080b29e9bc3a0a (patch)
tree7c3ad5d4af03b7760f7c3be4ae1a1e9555113324 /py/mpqstrraw.h
parent24224d7c72e1d6572ef0d24f08eb882dcac8dc50 (diff)
Convert parse errors to exceptions.
Parser no longer prints an error, but instead returns an exception ID and message.
Diffstat (limited to 'py/mpqstrraw.h')
-rw-r--r--py/mpqstrraw.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/py/mpqstrraw.h b/py/mpqstrraw.h
index c3cda84b4..84b24f274 100644
--- a/py/mpqstrraw.h
+++ b/py/mpqstrraw.h
@@ -24,13 +24,14 @@ Q(StopIteration)
Q(AssertionError)
Q(AttributeError)
+Q(IndentationError)
Q(IndexError)
Q(KeyError)
Q(NameError)
+Q(OSError)
Q(SyntaxError)
Q(TypeError)
Q(ValueError)
-Q(OSError)
Q(abs)
Q(all)