aboutsummaryrefslogtreecommitdiff
path: root/src/SVG/SVG2zinc
diff options
context:
space:
mode:
authorribet2007-08-27 15:06:00 +0000
committerribet2007-08-27 15:06:00 +0000
commit005d64f7da73a13c7ad92e5c936265c4eb3ab71b (patch)
tree05b8d489fc0a712b38f38b8e0de7474039fb2afe /src/SVG/SVG2zinc
parent3abc97daefb12ce2141883b2e40c8d50e925efe8 (diff)
downloadmtc-005d64f7da73a13c7ad92e5c936265c4eb3ab71b.zip
mtc-005d64f7da73a13c7ad92e5c936265c4eb3ab71b.tar.gz
mtc-005d64f7da73a13c7ad92e5c936265c4eb3ab71b.tar.bz2
mtc-005d64f7da73a13c7ad92e5c936265c4eb3ab71b.tar.xz
Suppression du message "my" variable $x2 masks earlier declaration in same scope at AUTOGEN/...
Merci Romain pour le fix.
Diffstat (limited to 'src/SVG/SVG2zinc')
-rw-r--r--src/SVG/SVG2zinc/Backend/PerlClass.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SVG/SVG2zinc/Backend/PerlClass.pm b/src/SVG/SVG2zinc/Backend/PerlClass.pm
index 18ec454..7b0df4d 100644
--- a/src/SVG/SVG2zinc/Backend/PerlClass.pm
+++ b/src/SVG/SVG2zinc/Backend/PerlClass.pm
@@ -186,7 +186,7 @@ HEADER
sub fileTail {
my ($self) = @_;
$self->comment ("", "Tail of SVG2zinc::Backend::PerlScript", "");
- unshift (@{$self -> {delayed_lines}}, '$self -> {instance} = $previous = ');
+ unshift (@{$self -> {delayed_lines}}, 'my $ascent = undef;'."\n".'$self -> {instance} = $previous = ');
$self -> printLines(@{$self -> {delayed_lines}});
$self -> printLines(
<<'TAIL'