Suggested by Tomas Malecek
}
sub get_nested($$$) {
- my ($r,$left,$right) = @_;
- pos $$r = pos($$r)-1;
+ my ($r, $left, $right) = @_;
+ pos $$r = pos($$r) - 1;
my $z = "";
my $nest = 0;
do {
$current_file_name = $name;
$current_string = \$t;
pos $t = 0;
- for(;;) {
+ for (;;) {
$current_pos = pos $t;
if ($t =~ /\G([^\@]+)/cgs) {
out $1 if $cond[0] > 0;
parse_string($text, $name);
}
-sub start(;$)
-{
+sub start(;$) {
$arguments = $_[0];
@cond = (1);
}
-sub finish()
-{
+sub finish() {
$#cond and error "Unterminated \@if (depth $#cond)";
}