Tokenizer exceptions are not catched

This commit is contained in:
2019-12-31 18:28:04 +01:00
parent 197b0700fa
commit adcbc6bb2e
12 changed files with 131 additions and 39 deletions
+1 -1
View File
@@ -261,7 +261,7 @@ class Tokenizer:
raise LexerError(f"Missing ending colon", result, i, line, column + 2 + len(result))
if result == "":
raise LexerError(f"Context name not found", result, start, line, column + 2 + len(result))
raise LexerError(f"Concept name not found", result, start, line, column + 2 + len(result))
return result