[cvs-nhc98] patch applied (hat): ----------------------------------------------------------------------

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Tue Oct 10 06:57:39 EDT 2006


Mon Nov 15 07:36:05 PST 1999  malcolm
  * ----------------------------------------------------------------------
  Modified Files:
  
  src/compiler98/GcodeMem.hs
  	Added a peephole optimisation.  The bytecode sequence
  	NEEDHEAP_I32, NEEDSTACK_I16 is redundant because they check the
  	same physical area, but the former checks for more space than
  	the latter.  Collapse into a single instruction where possible.
  
  src/compiler98/Lexical.hs
  	Fixed "parse-error" layout bug.  The program
            main =
              do
              f "Test"
              where
              f = putStr
  	was previously rejected because the rule which inserts a }
  	before the `where' (causing everything after to be re-lexed),
  	failed to take into account the fact that `where' opens a new
  	indentation scope.
  
  src/compiler98/Makefile
  	The compiler was not rebuilt once the executable was installed
  	correctly in the libdir, even if any of the sources had changed.
  	Fixed.
  
  ----------------------------------------------------------------------

    M ./src/compiler98/GcodeMem.hs +1
    M ./src/compiler98/Lexical.hs -6 +8
    M ./src/compiler98/Makefile -1 +1


More information about the Cvs-nhc98 mailing list