Changeset 5444 for script

Show
Ignore:
Timestamp:
07/11/05 21:48:20 (3 years ago)
Author:
bsmith
svk:copy_cache_prev:
7349
Message:

* Moved version variables from Pugs.Help to Pugs.Version.
* Pugs.Help now import Pugs.CodeGen? so that it can produce a correct list of
backends in the -h message.
* Fixed script/pugscc to use the Ghc backend rather than the Haskell backend
for --haskell and --ghc.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • script/pugscc

    r5354 r5444  
    2929 
    3030my $backend = 'Pugs'; 
    31 if ($ARGV[0] =~ /^(?:-H|--haskell)$/) { 
    32     $backend = 'Haskell'; 
     31if ($ARGV[0] =~ /^(?:-H|--haskell|--ghc)$/) { 
     32    $backend = 'Ghc'; 
    3333    shift @ARGV; 
    3434}