Underscores in qualified names in HsParser

2002-07-13 Thread Anders Lau Olsen
HsParser is confused by the combination of qualified names and identifiers starting with underscores. For example: module M where _f _ _ = 0 x = 0 `M._f` 0 -- parse error at '.' y = M._f 0 0 -- parses as M . (_f 0 0) I have tested this only for GHC 5.02. For what it's worth,

Position calculations in HsParser

2001-12-16 Thread Anders Lau Olsen
that the '=' is located at the column marked by the ^. Anders Lau Olsen ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Repeated calls to installHandler

2001-11-19 Thread Anders Lau Olsen
program: fatal error: getStablePtr: too light % uname -a Linux localhost 2.2.5-15 #1 Mon Apr 19 22:21:09 EDT 1999 i586 unknown % ghc --version The Glorious Glasgow Haskell Compilation System, version 5.02 Anders Lau Olsen ___ Glasgow

Misc. bugs in HsParser

2001-11-08 Thread Anders Lau Olsen
why this example fails to parse too: f x = do y where y = x Anders Lau Olsen ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

RE: installHandler, sleep, and interrupts.

2001-10-30 Thread Anders Lau Olsen
not shortly after the signal is received, but only after a sufficient amount of I/O or processing has been done by the main process. Anders Lau Olsen ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow

installHandler, sleep, and interrupts.

2001-10-29 Thread Anders Lau Olsen
as expected: % ./program ^C Hello, world! This is for GHC version 5.02, run on Linux 2.2.5-15. Anders Lau Olsen ___ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Handling of non-layout sections in HsParser

2001-10-16 Thread Anders Lau Olsen
HsParser fails on any of these 6 examples: data Data = A { x :: Int } f1 x = let { s = x } in s f2 x = do { x } f3 x = case x of { _ - 12 } f4 x = s where { s = 12 } f5 y = A { x = 45 } The problem seems to be the