chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f34de25
)
commitid.scad.pl: Simply gentextmodule_demo_start_batch
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 19:16:19 +0000
(19:16 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 5 Feb 2016 19:16:19 +0000
(19:16 +0000)
commitid.scad.pl
patch
|
blob
|
history
diff --git
a/commitid.scad.pl
b/commitid.scad.pl
index 9b344e264aba88966800a0694f818bd4a1e36cf4..6d7459e5f88eaf88ae7c2982f729b6b08bf0ee62 100755
(executable)
--- a/
commitid.scad.pl
+++ b/
commitid.scad.pl
@@
-141,9
+141,9
@@
our $gtm_demo_i = -1;
our $gtm_demo_j;
our @gtm_demo_o;
our $gtm_demo_j;
our @gtm_demo_o;
-sub gentextmodule_demo_start_batch (
$;$
) {
-
($gtm_demo_i, $gtm_demo_j) = @_
;
- $gtm_demo_
j //= 0
;
+sub gentextmodule_demo_start_batch () {
+
$gtm_demo_j = 0
;
+ $gtm_demo_
i++
;
}
sub gentextmodule ($@) {
}
sub gentextmodule ($@) {
@@
-356,7
+356,7
@@
sub do_git () {
}
foreach my $sz (3..10) {
}
foreach my $sz (3..10) {
- gentextmodule_demo_start_batch(
$sz-3
);
+ gentextmodule_demo_start_batch();
gentextmodule_plusq("Small$sz", rjustt($sz, $git_count, $git_dirty))
if defined $git_count;
gentextmodule_plusq("Small$sz", rjustt($sz, $git_count, $git_dirty))
if defined $git_count;
@@
-402,7
+402,7
@@
while (@ARGV) {
$do_git //= defined($argcounter) ? '' : 'co';
$do_git //= defined($argcounter) ? '' : 'co';
-gentextmodule_demo_start_batch(
-1
);
+gentextmodule_demo_start_batch();
gentextmodule('FontDemo', @demo);
do_git();
gentextmodule('FontDemo', @demo);
do_git();