[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, feature/dev-5.0, created. gawk-4.1.0-279
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, feature/dev-5.0, created. gawk-4.1.0-2795-g24bc203 |
Date: |
Mon, 2 Oct 2017 15:19:02 -0400 (EDT) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, feature/dev-5.0 has been created
at 24bc20355fa69ea02408b6ed605fa832a6bbc46d (commit)
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=24bc20355fa69ea02408b6ed605fa832a6bbc46d
commit 24bc20355fa69ea02408b6ed605fa832a6bbc46d
Author: Arnold D. Robbins <address@hidden>
Date: Mon Oct 2 22:18:26 2017 +0300
Remove code allowing non-English letters in identifiers.
diff --git a/ChangeLog b/ChangeLog
index 1a21d1c..f66e18e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2017-10-02 Arnold D. Robbins <address@hidden>
+ Undo change of 2014-09-07:
+
+ * configure.ac: Remove the undocumented option to enable locale
+ letters in identifiers.
+ * awkgram.y (is_alpha): Remove related code.
+
+2017-10-02 Arnold D. Robbins <address@hidden>
+
* config.guess, config.sub: Updated.
2017-09-28 Arnold D. Robbins <address@hidden>
@@ -3688,6 +3696,7 @@
* configure.ac: Add an option to enable locale letters in identifiers.
Undocumented and subject to being rescinded at any time in the future.
+ * awkgram.y (is_alpha): Actual code is here.
* NEWS: Mention to look at configure --help.
Unrelated:
diff --git a/NEWS b/NEWS
index 4521fd8..eb58942 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,12 @@
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
+Changes from 4.2.0 to 5.0.0
+---------------------------
+
+1. The undocumented configure option and code that enabled the use of
+ non-English "letters" in identifiers is now gone.
+
Changes from 4.1.4 to 4.2.0
---------------------------
diff --git a/awkgram.c b/awkgram.c
index 97b5970..0c52841 100644
--- a/awkgram.c
+++ b/awkgram.c
@@ -8702,9 +8702,6 @@ install_builtins(void)
bool
is_alpha(int c)
{
-#ifdef I_DONT_KNOW_WHAT_IM_DOING
- return isalpha(c);
-#else /* ! I_DONT_KNOW_WHAT_IM_DOING */
switch (c) {
case 'a': case 'b': case 'c': case 'd': case 'e': case 'f':
case 'g': case 'h': case 'i': case 'j': case 'k': case 'l':
@@ -8719,7 +8716,6 @@ is_alpha(int c)
return true;
}
return false;
-#endif /* ! I_DONT_KNOW_WHAT_IM_DOING */
}
/* is_alnum --- return true for alphanumeric, English only letters */
diff --git a/awkgram.y b/awkgram.y
index 1a75e64..f8b3035 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -6282,9 +6282,6 @@ install_builtins(void)
bool
is_alpha(int c)
{
-#ifdef I_DONT_KNOW_WHAT_IM_DOING
- return isalpha(c);
-#else /* ! I_DONT_KNOW_WHAT_IM_DOING */
switch (c) {
case 'a': case 'b': case 'c': case 'd': case 'e': case 'f':
case 'g': case 'h': case 'i': case 'j': case 'k': case 'l':
@@ -6299,7 +6296,6 @@ is_alpha(int c)
return true;
}
return false;
-#endif /* ! I_DONT_KNOW_WHAT_IM_DOING */
}
/* is_alnum --- return true for alphanumeric, English only letters */
diff --git a/configh.in b/configh.in
index e600005..3a0e887 100644
--- a/configh.in
+++ b/configh.in
@@ -341,9 +341,6 @@
/* Define to 1 if you have the `__etoa_l' function. */
#undef HAVE___ETOA_L
-/* enable severe portability problems */
-#undef I_DONT_KNOW_WHAT_IM_DOING
-
/* disable lint checks */
#undef NO_LINT
diff --git a/configure b/configure
index 5833cfb..48e3dc7 100755
--- a/configure
+++ b/configure
@@ -765,7 +765,6 @@ enable_option_checking
enable_silent_rules
with_whiny_user_strftime
enable_lint
-enable_severe_portability_problems
enable_builtin_intdiv0
enable_mpfr
enable_dependency_tracking
@@ -1412,8 +1411,6 @@ Optional Features:
--enable-silent-rules less verbose build output (undo: "make V=1")
--disable-silent-rules verbose build output (undo: "make V=0")
--disable-lint do not compile in gawk lint checking
- --enable-severe-portability-problems
- allow really nasty portability problems
--enable-builtin-intdiv0
enable built-in intdiv0 function
--disable-mpfr do not check for MPFR
@@ -3237,17 +3234,6 @@ $as_echo "#define NO_LINT 1" >>confdefs.h
fi
-# Check whether --enable-severe-portability-problems was given.
-if test "${enable_severe_portability_problems+set}" = set; then :
- enableval=$enable_severe_portability_problems; if test "$enableval" = yes
- then
-
-$as_echo "#define I_DONT_KNOW_WHAT_IM_DOING 1" >>confdefs.h
-
- fi
-
-fi
-
# Check whether --enable-builtin-intdiv0 was given.
if test "${enable_builtin_intdiv0+set}" = set; then :
enableval=$enable_builtin_intdiv0; if test "$enableval" = yes
diff --git a/configure.ac b/configure.ac
index f04ddec..0cef14e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,13 +60,6 @@ AC_ARG_ENABLE([lint],
AC_DEFINE(NO_LINT, 1, [disable lint checks])
fi
)
-AC_ARG_ENABLE([severe-portability-problems],
- [AS_HELP_STRING([--enable-severe-portability-problems],[allow really
nasty portability problems])],
- if test "$enableval" = yes
- then
- AC_DEFINE(I_DONT_KNOW_WHAT_IM_DOING, 1, [enable severe
portability problems])
- fi
-)
AC_ARG_ENABLE([builtin-intdiv0],
[AS_HELP_STRING([--enable-builtin-intdiv0],[enable built-in intdiv0
function])],
if test "$enableval" = yes
-----------------------------------------------------------------------
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, feature/dev-5.0, created. gawk-4.1.0-2795-g24bc203,
Arnold Robbins <=