summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--NEWS6
-rw-r--r--awkgram.c4
-rw-r--r--awkgram.y4
-rw-r--r--configh.in3
-rwxr-xr-xconfigure14
-rw-r--r--configure.ac7
7 files changed, 15 insertions, 32 deletions
diff --git a/ChangeLog b/ChangeLog
index 1a21d1c6..f66e18e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2017-10-02 Arnold D. Robbins <arnold@skeeve.com>
+ 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 <arnold@skeeve.com>
+
* config.guess, config.sub: Updated.
2017-09-28 Arnold D. Robbins <arnold@skeeve.com>
@@ -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 4521fd83..eb589425 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 97b59706..0c52841e 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 1a75e641..f8b3035d 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 e6000054..3a0e887f 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 5833cfb5..48e3dc7d 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 f04ddec4..0cef14e7 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