FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

nested comments and \n

 
Post new topic   Reply to topic     Forum Index -> Build
View previous topic :: View next topic  
Author Message
Carlos



Joined: 19 Mar 2004
Posts: 396
Location: Canyon, TX

PostPosted: Thu Apr 28, 2005 11:14 am    Post subject: nested comments and \n Reply with quote

Here's an odd bug:

Code:
/+
+/


Save it and try to run build on it. If you're on Windows and saved the file with Unix endlines (\n instead of \r\n, notice there're 2 \n), build will complain: "Error: Mismatched nested comments in test.d". I haven't tested on linux. This doesn't happen if using Mac endlines (\r).
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Derek Parnell



Joined: 22 Apr 2004
Posts: 408
Location: Melbourne, Australia

PostPosted: Thu Apr 28, 2005 3:31 pm    Post subject: Re: nested comments and \n Reply with quote

Carlos wrote:
Here's an odd bug:

Code:
/+
+/


Save it and try to run build on it. If you're on Windows and saved the file with Unix endlines (\n instead of \r\n, notice there're 2 \n), build will complain: "Error: Mismatched nested comments in test.d". I haven't tested on linux. This doesn't happen if using Mac endlines (\r).

Embarassed Yep, I got that wrong. Fix is on its way ...
_________________
--
Derek
skype name: derek.j.parnell
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Build All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group