--- a/bin/autoscan.in 2012-04-25 04:37:26.000000000 +0200 +++ a/bin/autoscan.in 2015-07-17 15:06:16.849269680 +0200 @@ -358,7 +358,7 @@ { # Strip out comments and variable references. s/#.*//; - s/\${[^\}]*}//g; + s/\$\{[^\}]*}//g; s/@[^@]*@//g; # Tokens in the code.