Re: White space in ccall impents

2002-11-05 Thread Alastair Reid
Ian Lynagh [EMAIL PROTECTED] writes: Is it just me or does the FFI spec not explain what whitespace is needed between the components of the ccall impent? 4.1.1 is the obvious place for it to be. In particular, even after reading between the lines, questions like are multiple spaces between

Re: White space in ccall impents

2002-11-05 Thread Ian Lynagh
On Tue, Nov 05, 2002 at 09:53:52PM +, 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

Re: White space in ccall impents

2002-11-05 Thread Alastair Reid
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' } For what it's worth, Hugs uses 'any non-empty sequence of