version 1.2, 2002/01/31 17:32:25
|
version 1.4, 2002/02/05 01:29:22
|
Line 30
|
Line 30
|
# http://www.lon-capa.org/ |
# http://www.lon-capa.org/ |
# |
# |
# YEAR=2002 |
# YEAR=2002 |
# 1/28 - Scott Harrison |
# 1/28,1/29,1/30,1/31 - Scott Harrison |
# |
# |
### |
### |
|
|
Line 76 END
|
Line 76 END
|
# ------------------------------------------------- Grab command line arguments |
# ------------------------------------------------- Grab command line arguments |
|
|
my $mode; |
my $mode; |
if (@ARGV==4) { |
if (@ARGV==3) { |
$mode = shift @ARGV; |
$mode = shift @ARGV; |
} |
} |
else { |
else { |
Line 190 while ($token = $parser->get_token()) {
|
Line 190 while ($token = $parser->get_token()) {
|
$cleanstring.=$token->[4]; |
$cleanstring.=$token->[4]; |
} |
} |
if ($token->[4]=~/\/>$/) { |
if ($token->[4]=~/\/>$/) { |
$hloc--; |
# $hloc--; |
} |
} |
} |
} |
if ($token->[0] eq 'E') { |
if ($token->[0] eq 'E') { |
Line 236 my $fileglob_count;
|
Line 236 my $fileglob_count;
|
my $fileglobnames_count; |
my $fileglobnames_count; |
my %categorycount; |
my %categorycount; |
|
|
|
my $mode; |
|
|
my @buildall; |
my @buildall; |
my @buildinfo; |
my @buildinfo; |
|
|
Line 323 sub format_targetroot {
|
Line 325 sub format_targetroot {
|
# -------------------------------------------------- Format perl script section |
# -------------------------------------------------- Format perl script section |
sub format_perlscript { |
sub format_perlscript { |
my (@tokeninfo)=@_; |
my (@tokeninfo)=@_; |
|
$mode=$tokeninfo->[2]{'mode'}; |
my $text=$parser->get_text('/perlscript'); |
my $text=$parser->get_text('/perlscript'); |
$parser->get_tag('/perlscript'); |
$parser->get_tag('/perlscript'); |
return $text; |
return $text; |