Tokenizer exceptions are not catched
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user