* autoconf.sh: Report full macro name for missing macros.

This commit is contained in:
Akim Demaille 2000-09-27 10:29:30 +00:00
parent c916e13f94
commit e6600f6485
4 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2000-09-27 Lars J. Aas <larsa@sim.no>
* autoconf.sh: Report full macro name for missing macros.
2000-09-27 J. David Anglin <dave@hiauly1.hia.nrc.ca>
* autoheader.sh: Fix trap (EXIT) status.

View File

@ -347,7 +347,7 @@ case $task in
# Dubious feature: we tolerate macro names when commented.
if (/^[^#]*($pattern)/)
{
match (\$0, /($pattern)[_A-Za-z0-9]*/)
match (\$0, /([_A-Za-z0-9]*($pattern)[_A-Za-z0-9]*)/)
macros [substr (\$0, RSTART, RLENGTH)] = oline
some_macros_were_not_expanded = 1
}

View File

@ -347,7 +347,7 @@ case $task in
# Dubious feature: we tolerate macro names when commented.
if (/^[^#]*($pattern)/)
{
match (\$0, /($pattern)[_A-Za-z0-9]*/)
match (\$0, /([_A-Za-z0-9]*($pattern)[_A-Za-z0-9]*)/)
macros [substr (\$0, RSTART, RLENGTH)] = oline
some_macros_were_not_expanded = 1
}

View File

@ -347,7 +347,7 @@ case $task in
# Dubious feature: we tolerate macro names when commented.
if (/^[^#]*($pattern)/)
{
match (\$0, /($pattern)[_A-Za-z0-9]*/)
match (\$0, /([_A-Za-z0-9]*($pattern)[_A-Za-z0-9]*)/)
macros [substr (\$0, RSTART, RLENGTH)] = oline
some_macros_were_not_expanded = 1
}