pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: flex code modernization: Replace YY_EXTRA_TYPE define with flex
Date: Mon, 06 Jan 2025 08:48:39 +0000
Message-ID: <E1tUimt-0007U1-JN@gemulon.postgresql.org> (raw)

flex code modernization: Replace YY_EXTRA_TYPE define with flex option

Replace #define YY_EXTRA_TYPE with %option extra-type.  The latter is
the way recommended by the flex manual (available since flex 2.5.34).

Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Discussion: https://www.postgresql.org/message-id/flat/eb6faeac-2a8a-4b69-9189-c33c520e5b7b@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b1ef48980ddd082a90ed39aa5914af45e53059e6

Modified Files
--------------
src/backend/parser/scan.l                 |  7 +------
src/backend/replication/repl_scanner.l    |  2 +-
src/backend/replication/syncrep_scanner.l |  2 +-
src/backend/utils/adt/jsonpath_scan.l     |  2 +-
src/bin/psql/psqlscanslash.l              | 12 ++++++------
src/fe_utils/psqlscan.l                   | 12 ++++++------
6 files changed, 16 insertions(+), 21 deletions(-)



Message-ID: <E1tUimt-0007U1-JN@gemulon.postgresql.org>
Permalink:  ../E1tUimt-0007U1-JN@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tUimt-0007U1-JN@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: flex code modernization: Replace YY_EXTRA_TYPE define with flex
  In-Reply-To: <E1tUimt-0007U1-JN@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