Changeset 3636 for src/Pugs/Shell.hs

Show
Ignore:
Timestamp:
05/22/05 15:06:08 (4 years ago)
Author:
iblech
svk:copy_cache_prev:
5201
Message:

Added ".." as a shell command which outputs the AST unformatted.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Shell.hs

    r3372 r3636  
    2222   | CmdQuit 
    2323   | CmdParse String 
     24   | CmdParseRaw String 
    2425   | CmdRun RunOptions String 
    2526   | CmdHelp 
     
    5051parseCommandLine ('?':str)      = CmdRun (RunOpts True True  True) str 
    5152parseCommandLine ('!':str)      = CmdRun (RunOpts True False True) str 
     53parseCommandLine ('.':'.':str)  = CmdParseRaw str 
    5254parseCommandLine ('.':str)      = CmdParse str 
    5355parseCommandLine (':':'q':_)    = CmdQuit