Skip to content

Commit 0489a35

Browse files
committed
Fix parsing priority issue with NULL/TRUE/FALSE. Remove deprecated Python builds.
1 parent fff7651 commit 0489a35

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.github/workflows/python-package.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: [3.7, 3.8, 3.9, '3.10', '3.11']
18+
python-version: [3.9, '3.10', '3.11']
1919

2020
steps:
2121
- uses: actions/checkout@v2

grandcypher/__init__.py

+10-6
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@
6868
6969
?entity_id_or_value : entity_id
7070
| value
71-
| "NULL"i -> null
72-
| "TRUE"i -> true
73-
| "FALSE"i -> false
71+
| NULL -> null
72+
| TRUE -> true
73+
| FALSE -> false
7474
7575
op : "==" -> op_eq
7676
| "=" -> op_eq
@@ -149,9 +149,13 @@
149149
key : CNAME
150150
?value : ESTRING
151151
| NUMBER
152-
| "NULL"i -> null
153-
| "TRUE"i -> true
154-
| "FALSE"i -> false
152+
| NULL -> null
153+
| TRUE -> true
154+
| FALSE -> false
155+
156+
NULL.1 : "NULL"i
157+
TRUE.1 : "TRUE"i
158+
FALSE.1 : "FALSE"i
155159
156160
157161
%import common.CNAME -> CNAME

0 commit comments

Comments
 (0)