On dinsdag, feb 25, 2003, at 22:16 Europe/Amsterdam, Neal Norwitz wrote: > On Sun, Feb 23, 2003 at 10:29:59PM -0500, Tim Peters wrote: >> [from a checkin comment] >>> Need to make sure that preprocessor directives start in first column. >>> This means we can't indent code which has preprocessor directives, >>> nor have a space between [ #include for example. >> >> [Neil Schemenauer] >>> What does the C standard say about this? I'm curious. >> >> Spaces and horizontal tabs are fine before '#', and between '#' and >> the >> directive name; other kinds of whitespace are not OK in directive >> lines (and >> directive lines are special this way); sounds like we're catering to a >> broken compiler here. Before ANSI C said it is okay to have whitespace before the # most compilers would require the # to be in column one. And I've seen quite a couple of sources that had something like #if __STDC__ #pragma or other ansi construct #endif -- - Jack Jansen <Jack.Jansen@oratrix.com> http://www.cwi.nl/~jack - - If I can't dance I don't want to be part of your revolution -- Emma Goldman -
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4