[cvs-nhc98] patch applied (hat): Made the type for source code
positions in Extra, Pos, an abstract data type.
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Tue Oct 10 07:28:22 EDT 2006
Wed Jul 28 06:10:00 PDT 2004 olaf
* Made the type for source code positions in Extra, Pos, an abstract data type.
This required changes of many type annotations where Pos and Int were confused.
Also added some more type annotations.
In Gcode the internal representation of Pos still appears.
This is all the first step towards an extended Pos that contains line and column of both start (currently) and end (to do) of a syntactic construct.
M ./src/compiler98/Derive.hs -1 +1
M ./src/compiler98/Extra.hs -8 +26
M ./src/compiler98/Gcode.hs -1 +1
M ./src/compiler98/IExtract.hs -10 +10
M ./src/compiler98/Need.hs -2 +2
M ./src/compiler98/NeedLib.hs +2
M ./src/compiler98/Parse2.hs +3
M ./src/compiler98/ParseI.hs +3
M ./src/compiler98/ParseLex.hs +2
M ./src/compiler98/PreImp.hs -7 +8
M ./src/compiler98/Rename.hs -2 +2
M ./src/compiler98/STGGcode.hs -6 +6
M ./src/compiler98/TypeCtx.hs -1 +1
More information about the Cvs-nhc98
mailing list