diff options
author | Ian Lynagh <igloo@earth.li> | 2008-01-24 15:12:23 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-01-24 15:12:23 +0000 |
commit | 23d68e078bc3476cc9cd57a4b51e2b55ea2d9df0 (patch) | |
tree | 69491eb0f94239ff4cdd4686050adc66125d7625 /compiler/parser/Parser.y.pp | |
parent | bf61a20559071d042ebeabb3c65383d1c90dd35c (diff) | |
download | haskell-23d68e078bc3476cc9cd57a4b51e2b55ea2d9df0.tar.gz |
Make sL strict in /both/ arguments to L
Diffstat (limited to 'compiler/parser/Parser.y.pp')
-rw-r--r-- | compiler/parser/Parser.y.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/parser/Parser.y.pp b/compiler/parser/Parser.y.pp index 167c8b6118..7104a0dfb3 100644 --- a/compiler/parser/Parser.y.pp +++ b/compiler/parser/Parser.y.pp @@ -1977,7 +1977,7 @@ comb4 a b c d = combineSrcSpans (getLoc a) $ combineSrcSpans (getLoc b) $ -- strict constructor version: {-# INLINE sL #-} sL :: SrcSpan -> a -> Located a -sL span a = span `seq` L span a +sL span a = span `seq` a `seq` L span a -- Make a source location for the file. We're a bit lazy here and just -- make a point SrcSpan at line 1, column 0. Strictly speaking we should |