Anonymous user
Talk:Comments: Difference between revisions
C: #if 0 and syntax errors
(reply) |
(C: #if 0 and syntax errors) |
||
Line 25:
::Thanks for the clarification! I guess my memory was faulty. Personally, I always used { } in Turbo Pascal. --[[User:IanOsgood|IanOsgood]] 18:33, 29 September 2007 (MDT)
== [[C]]: #if 0 and syntax errors ==
The assertion was made that
#if 0
This isn't valid.
#endif
would cause a compile error due to an unmatched apostrophe in a character literal. This is false. The preprocessor removes this text from the source before the compiler has a chance to parse it. --[[User:IanOsgood|IanOsgood]] 18:59, 29 September 2007 (MDT)
|