From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Move psql's psqlscan.l into src/fe_utils.
Date: Fri, 25 Mar 2016 00:29:04 +0000
Message-ID: <E1ajFce-0007ss-VR@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Move psql's psqlscan.l into src/fe_utils.
This completes (at least for now) the project of getting rid of ad-hoc
linkages among the src/bin/ subdirectories. Everything they share is now
in src/fe_utils/ and is included from a static library at link time.
A side benefit is that we can restore the FLEX_NO_BACKUP check for
psqlscanslash.l. We might need to think of another way to do that check
if we ever need to build two lexers with that property in the same source
directory, but there's no foreseeable reason to need that.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/c1156411ad0879a71956b64aa487babe7572685b
Modified Files
--------------
src/backend/parser/scan.l | 2 +-
src/bin/pgbench/Makefile | 17 +-
src/bin/pgbench/exprscan.l | 2 +-
src/bin/pgbench/pgbench.h | 2 +-
src/bin/psql/.gitignore | 1 -
src/bin/psql/Makefile | 15 +-
src/bin/psql/command.h | 2 +-
src/bin/psql/mainloop.c | 1 +
src/bin/psql/mainloop.h | 2 +-
src/bin/psql/nls.mk | 4 +-
src/bin/psql/prompt.h | 13 +-
src/bin/psql/psqlscan.h | 62 --
src/bin/psql/psqlscan.l | 1424 ----------------------------------
src/bin/psql/psqlscan_int.h | 129 ----
src/bin/psql/psqlscanslash.h | 2 +-
src/bin/psql/psqlscanslash.l | 4 +-
src/fe_utils/.gitignore | 1 +
src/fe_utils/Makefile | 27 +-
src/fe_utils/psqlscan.l | 1428 +++++++++++++++++++++++++++++++++++
src/include/fe_utils/psqlscan.h | 85 +++
src/include/fe_utils/psqlscan_int.h | 144 ++++
src/tools/msvc/Mkvcbuild.pm | 17 +-
src/tools/msvc/clean.bat | 2 +-
23 files changed, 1708 insertions(+), 1678 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Move psql's psqlscan.l into src/fe_utils.
In-Reply-To: <E1ajFce-0007ss-VR@gemulon.postgresql.org>
References: <E1ajFce-0007ss-VR@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