Get rid of jsonpath_gram.h and jsonpath_scanner.h
Alexander Korotkov <akorotkov@postgresql.org>
Get rid of jsonpath_gram.h and jsonpath_scanner.h Jsonpath grammar and scanner are both quite small. It doesn't worth complexity to compile them separately. This commit makes grammar and scanner be compiled at once. Therefore, jsonpath_gram.h and jsonpath_gram.h are no longer needed. This commit also does some reorganization of code in jsonpath_gram.y. Discussion: https://postgr.es/m/d47b2023-3ecb-5f04-d253-d557547cf74f%402ndQuadrant.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/Makefile | modified | +2 −11 |
| src/backend/utils/adt/.gitignore | modified | +0 −1 |
| src/backend/utils/adt/jsonpath_gram.y | modified | +259 −226 |
| src/backend/utils/adt/jsonpath_scan.l | modified | +1 −3 |
| src/backend/utils/adt/Makefile | modified | +4 −17 |
| src/include/Makefile | modified | +2 −2 |
| src/include/utils/.gitignore | modified | +0 −1 |
| src/include/utils/jsonpath_scanner.h | deleted | +0 −32 |
| src/tools/msvc/Solution.pm | modified | +0 −18 |
Discussion
- jsonpath 198 messages · 2018-01-07 → 2019-05-17