On Tue, Nov 05, 2002 at 09:53:52PM +0000, Alastair Reid wrote:
> 
> If it isn't spelled out explicitly already, it would be good to do that.

How about something like this?

Maximal munch applies.

token -> special | "&" | fname | cid | whitespace
special -> "static" | "dynamic" | "wrapper"
fname -> ... ".h"              (... as I don't have [3] handy)
cid -> ... excluding special   (... as I don't have [3] handy)
whitespace -> { ' ' | '\t' }

...strip whitespace tokens...

ccall_impent -> [ "static" ] [ fname ] [ & ] [ cid | special ]
              | "dynamic"
              | "wrapper"


Thanks
Ian

_______________________________________________
FFI mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/ffi

Reply via email to