pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Cosmetic changes for jsonpath_gram.y and jsonpath_scan.l
Date: Mon, 25 Mar 2019 12:44:08 +0000
Message-ID: <E1h8OxU-00066c-Jb@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8b17298f0b6bb2a64b55fab0339c8fd6ec2d74fb

Modified Files
--------------
src/backend/utils/adt/jsonpath_gram.y |  80 +++++---
src/backend/utils/adt/jsonpath_scan.l | 332 ++++++++++++++++++----------------
2 files changed, 223 insertions(+), 189 deletions(-)



Message-ID: <E1h8OxU-00066c-Jb@gemulon.postgresql.org>
Permalink:  ../E1h8OxU-00066c-Jb@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1h8OxU-00066c-Jb@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: akorotkov@postgresql.org
  Subject: Re: pgsql: Cosmetic changes for jsonpath_gram.y and jsonpath_scan.l
  In-Reply-To: <E1h8OxU-00066c-Jb@gemulon.postgresql.org>
  References: <E1h8OxU-00066c-Jb@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox