]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
tests/m4sh.at: prevent an undesirable expansion of __oline__.
authorZack Weinberg <zackw@panix.com>
Thu, 29 Oct 2020 13:21:52 +0000 (09:21 -0400)
committerZack Weinberg <zackw@panix.com>
Thu, 29 Oct 2020 13:24:41 +0000 (09:24 -0400)
The descriptive comment for AT_DATA_LINENO mentions __oline__, and
this is expanded when generating the testsuite, which is confusing
to anyone reading the generated testuite.  Defang it with @&t@.

* tests/m4sh.at (AT_DATA_LINENO): Prevent expansion of __oline__
  in the descriptive comment.

tests/m4sh.at

index 30e3fa58a1fd085eea362e90911b933cb0214729..633becdd1a628f57e161e1b879284464dcff95d1 100644 (file)
@@ -229,7 +229,7 @@ AT_CHECK([test ${ZSH_VERSION+y} && exit 77], ignore)
 # Use COUNTER, COUNTER-RE = [__LINENO__], [LINENO]
 #  or                     = [__OLINE__],  [_oline__]
 #
-# instead of the obvious $LINENO and __oline__, because they would
+# instead of the obvious $LINENO and __oline@&t@__, because they would
 # be replaced in the test suite itself, even before creating these
 # scripts.  For the same reason, grep for LINENO and _oline__ (sic).
 #