summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-07-31 12:40:32 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2022-07-31 13:28:52 -0700
commit6d58f297cc45c053f706da991e5b58c5505af7c4 (patch)
tree784b5cf42ac14ad41d22c4cb2d7a6ed5ce861dbe /doc
parentd95df5028d37b6d347e3afcdb349c182b0a6ce4c (diff)
downloadbison-6d58f297cc45c053f706da991e5b58c5505af7c4.tar.gz
maint: don’t use \] in BREs and EREs
* .travis.yml (jobs): * doc/local.mk ($(top_srcdir)/%D%/bison.help): * tests/regression.at (Web2c Actions, Useless Tokens): * tests/scanner.at (Token numbers: $1): Use plain ], not \], in a POSIX regular expression, as POSIX says the interpretation of \] is undefined.
Diffstat (limited to 'doc')
-rw-r--r--doc/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/local.mk b/doc/local.mk
index 1911c2a1..1abe658e 100644
--- a/doc/local.mk
+++ b/doc/local.mk
@@ -114,7 +114,7 @@ $(top_srcdir)/%D%/bison.help: src/bison$(EXEEXT)
$(AM_V_at) LC_ALL=C tests/bison --version >%D%/bison.help.tmp
$(AM_V_at) LC_ALL=C tests/bison --help | \
## Avoid depending on the path to Bison.
- sed -e 's,^Usage: .*/bison \[OPTION\],Usage: bison [OPTION],g' \
+ sed -e 's,^Usage: .*/bison \[OPTION],Usage: bison [OPTION],g' \
## Avoid variations in the output depending on whether we are
## on a glibc system.
-e '/translation bugs/d' >>%D%/bison.help.tmp