diff options
Diffstat (limited to 'lib/Automake/Variable.pm')
-rw-r--r-- | lib/Automake/Variable.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Automake/Variable.pm b/lib/Automake/Variable.pm index 4f6a88d61..1269d5d9f 100644 --- a/lib/Automake/Variable.pm +++ b/lib/Automake/Variable.pm @@ -857,6 +857,9 @@ sub define ($$$$$$$$) msg ('portability', $where, "':='-style assignments are not portable") if $type eq ':'; + msg ('portability', $where, "escaping \\# comment markers is not portable") + if index ($value, '\#') != -1; + check_variable_expansions ($value, $where); # If there's a comment, make sure it is \n-terminated. |