On Sat, Apr 10, 2010 at 11:12 PM, Maciej Piechotka
<[email protected]> wrote:

> Hmm. Is it possible to find out the list of LANGUAGE pragmas at top of
> file? Well - probably access to AST of Haskell file would be
> sufficient ;)
>
> I'm trying, partially for practice, to have a function to insert
> LANGUAGE pragma in alphabetic order.
>

The pragmas are not specially recognized by any of our parsers I think.
The comment lexemes are available though.

Cheers,
JP.

-- 
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel

Reply via email to