diff --git a/src/fj_parser.py b/src/fj_parser.py index 0904bc6..d2e90f8 100644 --- a/src/fj_parser.py +++ b/src/fj_parser.py @@ -308,7 +308,7 @@ def error(self, token: Token) -> None: error_occurred = True print() if token is None: - print(f'Syntax Error in {get_position(self.line_position(None))}, unknown token') + print(f'Syntax Error in {get_position(self.line_position(None))}. Maybe missing }} or {{ before this line?') else: print(f'Syntax Error in {get_position(token.lineno)}, token=("{token.type}", {token.value})')