Hi Dan,

FYI, cpphs has a (new) bug tracker in

  https://github.com/malcolmwallace/cpphs/issues

Best,



On 9 June 2016 at 16:11, Dan Aloni <d...@kernelim.com> wrote:
> Hi Malcolm,
>
> If we pass pathnames starting with more than one slash to '-include',
> cpphs generates invalid output. These are valid UNIX pathnames.
> I've tested with version 1.20.1 on Linux.
>
> Example:
>
>     $ touch empty.hs
>     $ cpphs --cpp -include //dev/null empty.hs
>     #line 1 "test.hs"
>     #line 1 "
>     #line 2 "test.hs"
>     #line 1 "test.hs"
>
> If I remove the extra '/', I get a good output:
>
>     $ touch empty.hs
>     $ cpphs --cpp -include /dev/null empty.hs
>     #line 1 "test.hs"
>     #line 1 "/dev/null"
>     #line 2 "test.hs"
>     #line 1 "test.hs"
>
> Thanks.
>
> --
> Dan Aloni
> _______________________________________________
> ghc-devs mailing list
> ghc-devs@haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
> "La información contenida en este correo electrónico está dirigida únicamente 
> a su destinatario y puede contener información confidencial, material 
> privilegiado o información protegida por derecho de autor. Está prohibida 
> cualquier copia, utilización, indebida retención, modificación, difusión, 
> distribución o reproducción total o parcial. Si usted recibe este mensaje por 
> error, por favor contacte al remitente y elimínelo. La información aquí 
> contenida es responsabilidad exclusiva de su remitente por lo tanto la 
> Universidad EAFIT no se hace responsable de lo que el mensaje contenga."
>
> "The information contained in this email is addressed to its recipient only 
> and may contain confidential information, privileged material or information 
> protected by copyright. Its prohibited any copy, use, improper retention, 
> modification, dissemination, distribution or total or partial reproduction. 
> If you receive this message by error, please contact the sender and delete 
> it. The information contained herein is the sole responsibility of the sender 
> therefore Universidad EAFIT is not responsible for what the message contains."



--
Andrés

"La información contenida en este correo electrónico está dirigida únicamente a 
su destinatario y puede contener información confidencial, material 
privilegiado o información protegida por derecho de autor. Está prohibida 
cualquier copia, utilización, indebida retención, modificación, difusión, 
distribución o reproducción total o parcial. Si usted recibe este mensaje por 
error, por favor contacte al remitente y elimínelo. La información aquí 
contenida es responsabilidad exclusiva de su remitente por lo tanto la 
Universidad EAFIT no se hace responsable de lo que el mensaje contenga."

"The information contained in this email is addressed to its recipient only and 
may contain confidential information, privileged material or information 
protected by copyright. Its prohibited any copy, use, improper retention, 
modification, dissemination, distribution or total or partial reproduction. If 
you receive this message by error, please contact the sender and delete it. The 
information contained herein is the sole responsibility of the sender therefore 
Universidad EAFIT is not responsible for what the message contains."
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to