Pretty trivial really.

This chestnut pops up all over the place ever since the wide wonderful
world of perl made the decision that "Unescaped left brace in regex" is
to be deprecated and even throw a permanent error.  Any day, real soon
now.

arm7$ cat tests/testsuite.dir/503/testsuite.log
#                             -*- compilation -*-
503. autoscan.at:20: testing autoscan ...
./autoscan.at:44: autoscan
--- /dev/null   2016-11-03 17:16:43.210000000 +0000
+++ /opt/bw/build/autoconf-2.69_arm7.001/tests/testsuite.dir/at-groups/503/stderr 2018-12-24 05:44:25.025087921 +0000
@@ -0,0 +1 @@
+Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE [^\}]*}/ at /opt/bw/build/autoconf-2.69_arm7.001/bin/autoscan line 361.
503. autoscan.at:20: 503. autoscan (autoscan.at:20): FAILED (autoscan.at:44)
arm7$

arm7$ diff -c /opt/bw/build/autoconf-2.69_arm7.001/bin/autoscan.backup /opt/bw/build/autoconf-2.69_arm7.001/bin/autoscan *** /opt/bw/build/autoconf-2.69_arm7.001/bin/autoscan.backup Mon Dec 24 05:06:21 2018 --- /opt/bw/build/autoconf-2.69_arm7.001/bin/autoscan Mon Dec 24 07:12:54 2018
***************
*** 358,364 ****
      {
        # Strip out comments and variable references.
        s/#.*//;
!       s/\${[^\}]*}//g;
        s/@[^@]*@//g;

        # Tokens in the code.
--- 358,364 ----
      {
        # Strip out comments and variable references.
        s/#.*//;
!       s/\$\{[^\}]*}//g;
        s/@[^@]*@//g;

        # Tokens in the code.
arm7$

arm7$ tests/testsuite.dir/503/run
## ----------------------------- ##
## GNU Autoconf 2.69 test suite. ##
## ----------------------------- ##
503. autoscan.at:20: testing autoscan ...
./autoscan.at:44: autoscan
./autoscan.at:45: grep subpkg/Makefile configure.scan
stderr:
503. autoscan.at:20:  ok

## ------------- ##
## Test results. ##
## ------------- ##

1 test was successful.
arm7$

So that's that.

Dennis Clarke


















Reply via email to