From: SourceForge.net <no...@so...> - 2007-01-11 16:38:40
|
Feature Requests item #1494169, was opened at 2006-05-24 12:15 Message generated for change (Comment added) made by frief You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350599&aid=1494169&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed Priority: 1 Private: No Submitted By: Frieder Ferlemann (frief) Assigned to: Nobody/Anonymous (nobody) Summary: unmatched apostrophe in outcommented code Initial Comment: SDCC gives the error: comment.c:2:12: missing terminating ' character on the following code: ----------8<------------------------------------- #if 0 SDCC doesn't like the apostrophe in this sentence #endif void main(void){} ---------------------------------------------------------------------- >Comment By: Frieder Ferlemann (frief) Date: 2007-01-11 17:38 Message: Logged In: YES user_id=589052 Originator: YES compiles without hickup know, I lost track since when:) Thanks! ---------------------------------------------------------------------- Comment By: Frieder Ferlemann (frief) Date: 2006-09-09 23:09 Message: Logged In: YES user_id=589052 Thank you Thad for the explanation. I moved the bug report to the feature request section as gcc (4.02) compiles the example without complaint. ---------------------------------------------------------------------- Comment By: Thad Smith (thadsmith) Date: 2006-09-09 17:47 Message: Logged In: YES user_id=965944 The example code is incorrect. In Standard C character constants are converted to tokens in translation phase 3. #if is processed in translation phase 4. #if is designed to surround code that is properly tokenized in C. This is an example of something that does not tokenize properly. This is not a compiler bug. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=350599&aid=1494169&group_id=599 |