Cosmetic changes for jsonpath_gram.y and jsonpath_scan.l
Alexander Korotkov <akorotkov@postgresql.org>
Cosmetic changes for jsonpath_gram.y and jsonpath_scan.l This commit include formatting improvements, renamings and comments. Also, it makes jsonpath_scan.l be more uniform with other our lexers. Firstly, states names are renamed to more short alternatives. Secondly, <INITIAL> prefix removed from the rules. Corresponding rules are moved to the tail, so they would anyway work only in initial state. Author: Alexander Korotkov Reviewed-by: John Naylor
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/jsonpath_gram.y | modified | +50 −30 |
| src/backend/utils/adt/jsonpath_scan.l | modified | +173 −159 |