On Fri, 16 May 2008, Achim Schneider wrote:

> "test.l" (line 7, column 1):
> unexpected end of input
> expecting "(", Lambda abstraction, Let binding, Atom, end of input or
> Function application
> 
> I obviously don't know anything about Parsec's inner workings. I'm
> going to investigate as soon as I stopped despairing.
> 

One gotcha here, which really wants fixing: if the show instance for your 
token type returns "", Parsec assumes that's EOF for error purposes. Guess 
who ran into that with a separate token for layout-inserted braces?

-- 
[EMAIL PROTECTED]

Sometimes you gotta fight fire with fire. Most
of the time you just get burnt worse though.
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to