v20251230-0004-Possibly-unnecessary-changes.patch
text/x-patch
Filename: v20251230-0004-Possibly-unnecessary-changes.patch
Type: text/x-patch
Part: 2
From a0c600c4d7ada849de81f6728e0fd66be6bcf623 Mon Sep 17 00:00:00 2001
From: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Date: Tue, 30 Dec 2025 14:45:42 +0530
Subject: [PATCH v20251230 4/4] Possibly unnecessary changes
This commit reverts some changes from 422b0b187fac6a0a7651435be3b252073485b6aa.
It is not clear if these changes were necessary. Reverting them does not show
any test failures. Trying CIBot.
---
src/fe_utils/psqlscan.l | 2 +-
src/interfaces/ecpg/preproc/pgc.l | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/fe_utils/psqlscan.l b/src/fe_utils/psqlscan.l
index 053329fb7e6..933d0e6a76c 100644
--- a/src/fe_utils/psqlscan.l
+++ b/src/fe_utils/psqlscan.l
@@ -306,7 +306,7 @@ right_arrow "->"
* If you change either set, adjust the character lists appearing in the
* rule for "operator"!
*/
-self [,()\[\].;\:\|\+\-\*\/\%\^\<\>\=]
+self [,()\[\].;\:\+\-\*\/\%\^\<\>\=]
op_chars [\~\!\@\#\^\&\|\`\?\+\-\*\/\%\<\>\=]
operator {op_chars}+
diff --git a/src/interfaces/ecpg/preproc/pgc.l b/src/interfaces/ecpg/preproc/pgc.l
index 4888bdeb95c..13fc6d5b1ed 100644
--- a/src/interfaces/ecpg/preproc/pgc.l
+++ b/src/interfaces/ecpg/preproc/pgc.l
@@ -348,7 +348,7 @@ right_arrow "->"
* If you change either set, adjust the character lists appearing in the
* rule for "operator"!
*/
-self [,()\[\].;\:\|\+\-\*\/\%\^\<\>\=]
+self [,()\[\].;\:\+\-\*\/\%\^\<\>\=]
op_chars [\~\!\@\#\^\&\|\`\?\+\-\*\/\%\<\>\=]
operator {op_chars}+
--
2.34.1