report the file that had a masonize error
authorivan <ivan>
Wed, 18 May 2005 16:37:24 +0000 (16:37 +0000)
committerivan <ivan>
Wed, 18 May 2005 16:37:24 +0000 (16:37 +0000)
bin/masonize

index 169ba71..509ef3e 100755 (executable)
@@ -52,7 +52,7 @@ foreach $file ( split(/\n/, `find . -depth -print`) ) {
         $mode = 'html';
         next;
       }
-      die 'unterminated <%= ???';
+      die "unterminated <%= ??? (in  $file):";
 
     } elsif ( $mode eq 'perlc' ) {