Changeset 7867 for src/Pugs.hs

Show
Ignore:
Timestamp:
11/06/05 01:46:36 (3 years ago)
Author:
autrijus
Message:

* ./pugs -C Perl5 (and -C JSON, -C Binary) are deprecated.

Use "-C PIL1-Perl5" instead; it doesn't have to be a dash;
any nonalphanumerical character would do:

./pugs -CPIL1.Perl5 -e 'say 123'

This is because "-C Perl5" will be reserved to mean the
backend that actually compiles to Perl 5.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs.hs

    r7479 r7867  
    7878run ("-c":file:_)               = readFile file >>= doCheck file 
    7979 
    80 -- -CPerl5 outputs PIL formatted as Perl 5, PIL-Run is not involved. 
    81 -- Should we rename -CPerl5, -CJSON etc. to -CPIL.Perl5, -CPIL.JSON etc.? 
     80-- -CPIL1.Perl5 outputs PIL formatted as Perl 5. 
    8281run ("-C":backend:args) | map toUpper backend == "JS" = do 
    8382    exec <- getArg0