cvs commit: hugs98/src output.c

Andy Gill andy@glass.cse.ogi.edu
Wed, 11 Jul 2001 11:59:21 -0700


andy        2001/07/11 11:59:21 PDT

  Modified files:
    src                  output.c 
  Log:
  Fixed a backslash problem
  
  Internally, Hugs backslashes any backslash.
  So the string \ (one slash) is stored as \\ (two slashes).
  One of the printers removes this slash when rendering a string,
  the other was leaving the extra slash in.
  Example
  
  :t "\\"
  
  was giving
  
  "\\\\" :: String
  
  It now gives
  
  "\\" :: String
  
  (This was stopping shc from bootstrapping).
  
  Revision  Changes    Path
  1.20      +12 -3     hugs98/src/output.c