aboutsummaryrefslogtreecommitdiff
path: root/mammoth/styles/parser
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-11-24 21:39:18 +0000
committerMichael Williamson <mike@zwobble.org>2016-11-24 21:39:18 +0000
commitcfc0df82457acff6d8ac1abf930901b8baafbe17 (patch)
tree256b3369301bce4ab946d8b91eff899bff11264b /mammoth/styles/parser
parent1de9198f0c69152fe6f474185ac351e9500a4ce8 (diff)
Add TODO for raising
Diffstat (limited to 'mammoth/styles/parser')
-rw-r--r--mammoth/styles/parser/document_matcher_parser.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mammoth/styles/parser/document_matcher_parser.py b/mammoth/styles/parser/document_matcher_parser.py
index 77eae3e..3f9687d 100644
--- a/mammoth/styles/parser/document_matcher_parser.py
+++ b/mammoth/styles/parser/document_matcher_parser.py
@@ -39,6 +39,9 @@ def parse_document_matcher(tokens):
elif tokens.try_skip(TokenType.IDENTIFIER, "comment-reference"):
return document_matchers.comment_reference
+ else:
+ # TODO: raise
+ pass
def _parse_style_name(tokens):
if tokens.try_skip(TokenType.SYMBOL, "["):