chiark / gitweb /
commitid.scad.pl: generate comment showing what the string is
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 17:29:45 +0000 (17:29 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 17:29:45 +0000 (17:29 +0000)
commitid.scad.pl

index a2793ea..422926e 100755 (executable)
@@ -89,6 +89,7 @@ sub gentextmodule ($@) {
     my ($form, @lines) = @_;
     my $modb = "Commitid_$form";
     p "module ${modb}_2D(){\n";
+    p " // |$_|\n" foreach @lines;
     p " scale(Commitid__scale()){\n";
     my $y = @lines;
     my $cols = 1;