summaryrefslogtreecommitdiff
path: root/examples/simpleSQL.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simpleSQL.py')
-rw-r--r--examples/simpleSQL.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/simpleSQL.py b/examples/simpleSQL.py
index a806ad6..ebed658 100644
--- a/examples/simpleSQL.py
+++ b/examples/simpleSQL.py
@@ -19,9 +19,12 @@ from pyparsing import (
opAssoc,
restOfLine,
CaselessKeyword,
+ ParserElement,
pyparsing_common as ppc,
)
+ParserElement.enablePackrat()
+
# define SQL tokens
selectStmt = Forward()
SELECT, FROM, WHERE, AND, OR, IN, IS, NOT, NULL = map(