@@ -45,11 +45,14 @@ instance Show Associativity where
45-- Source position information
45-- Source position information
47data SourcePos = SourcePos
47data SourcePos = SourcePos
50 -- Line number
53 -- Line number
52− sourcePosLine :: Int
55+ , sourcePosLine :: Int
54 -- Column number
57 -- Column number
@@ -57,7 +60,7 @@ data SourcePos = SourcePos
57 } deriving (D.Data, D.Typeable)
60 } deriving (D.Data, D.Typeable)
59instance Show SourcePos where
62instance Show SourcePos where
60− show sp = "line " ++ show (sourcePosLine sp) ++ ", column " ++ show (sourcePosColumn sp)
63+ show sp = (sourceName sp) ++ " line " ++ show (sourcePosLine sp) ++ ", column " ++ show (sourcePosColumn sp)
63-- Fixity data for infix operators
66-- Fixity data for infix operators