<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Sep 28, 2014 at 12:28 AM, Joshua Root <span dir="ltr"><<a href="mailto:jmr@macports.org" target="_blank">jmr@macports.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":19v" class="a3s" style="overflow:hidden">It does, with a little tweaking. But you're still right, it then<br>
proceeds to screw up the indentation in the Makefile.</div></blockquote></div><br>Yeh. I got to know this stuff all to well trying to deal with Haskell's use of CPP --- Haskell tokens just aren't compatible with C tokens, and there simply is no way to reconcile them in a way that wil alow clang's CPP to work properly in all cases. Some of those same screw cases come up here as well, but at least you're spared the really nasty ones like the way single quotes are sometimes Char literals, sometimes word characters, and then there's Template Haskell's use of prefix '' for Lisp-style quoting of types.</div><div class="gmail_extra"><br></div><div class="gmail_extra">My conclusion then was the same as now: ANSI CPP wants to be used on C, and is completely unsuited for anything else.<br clear="all"><div><br></div>-- <br><div dir="ltr"><div>brandon s allbery kf8nh sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a> <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div>
</div></div>