The regex pattern in function scan_variable_expansions() fails to report a portability warning when a dollar-escaped dollar sign precedes the variable:
foo_SOURCES = a.c $$$(patsubst a.c,a,b) Thanks Jan. Any chance you could add a check to one of the tests, I guess dollarvar.sh or dollarvar2.sh? (I haven't looked at them closely.) -k