From 8d36d7709b40ad1a1fb309bdba8c785c744d9c08 Mon Sep 17 00:00:00 2001 From: ptmcg Date: Fri, 3 Apr 2020 20:25:43 -0500 Subject: Enhanced error messages and error locations when parsing fails on the Keyword or CaselessKeyword classes due to the presence of a preceding or trailing keyword character. See issue #201. --- pyparsing/exceptions.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pyparsing/exceptions.py') diff --git a/pyparsing/exceptions.py b/pyparsing/exceptions.py index e5f665f..362b4c1 100644 --- a/pyparsing/exceptions.py +++ b/pyparsing/exceptions.py @@ -1,5 +1,6 @@ # exceptions.py +import sys from pyparsing.util import col, line, lineno -- cgit v1.2.1