Line comments versus line splicing [entries|reading|network|archive]
simont

[ userinfo | dreamwidth userinfo ]
[ archive | journal archive ]

Wed 2013-06-19 14:02
Line comments versus line splicing
LinkReply
[personal profile] gerald_duckThu 2013-06-20 00:11
Indeed. I made that observation when I bumped into Simon in the pub this evening.

There is just one place I can think of where backslash-newline is nonetheless needed: splitting a #include filename across multiple lines. Why doesn't the preprocessor concatenate all strings that follow the #include directive to make the filename? I concluded some hysterical raisins might be involved. (ISTR encountering a compiler once upon a time that had a non-standard optional second parameter.)
Link Reply to this | Parent | Thread
[personal profile] fanfThu 2013-06-20 08:38
Good point - though if you need to split a #include like that then something has gone horribly wrong :-)

Also, #include delenda est: http://www.infoq.com/news/2012/11/llvm-modules
Link Reply to this | Parent
navigation
[ go | Previous Entry | Next Entry ]
[ add | to Memories ]