double inclusion of '-p' flex flag

From: Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: double inclusion of '-p' flex flag
Date: 2022-04-26 12:16:39
Message-ID: CAE9k0PkY-Nic6Hih+QbTybBX5zs8e_btv8S=8xraqTpqjKRN+Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I see that we have included '-p' flex flag twice in the commands used
to generate the scanner files. See below:

src/backend/parser/Makefile:60: scan.c: FLEXFLAGS = -CF -p -p
src/backend/utils/adt/Makefile:122: jsonpath_scan.c: FLEXFLAGS = -CF -p -p
src/bin/psql/Makefile:61: psqlscanslash.c: FLEXFLAGS = -Cfe -p -p
src/fe_utils/Makefile:43: psqlscan.c: FLEXFLAGS = -Cfe -p -p
src/backend/utils/adt/Makefile:122: jsonpath_scan.c: FLEXFLAGS = -CF -p -p
src/bin/psql/Makefile:61: psqlscanslash.c: FLEXFLAGS = -Cfe -p -p

Do we need this or can the extra -p flag be removed?

--
With Regards,
Ashutosh Sharma.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ashutosh Sharma 2022-04-26 12:19:35 orafce: some of the build time generated files are not present in .gitignore and also checked into the repository
Previous Message Jiří Fejfar 2022-04-26 11:55:14 Re: variable filename for psql \copy