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

help

 
Post new topic   Reply to topic     Forum Index -> Descent
View previous topic :: View next topic  
Author Message
dholling



Joined: 28 Oct 2007
Posts: 5

PostPosted: Sat Dec 08, 2007 5:12 am    Post subject: help Reply with quote

I get syntax errors on tokens such as "int"

Also, how do you install rebuild and where do I get it.

Maybe you should beef up your docs?
Back to top
View user's profile Send private message
fraserofthenight



Joined: 08 Apr 2007
Posts: 33
Location: Seattle, WA

PostPosted: Wed Dec 12, 2007 6:22 am    Post subject: Reply with quote

Just "int" alone? Indeed, that's a syntax error :-). It should go away when you type the rest of the declaration.

You can get rebuild here: http://www.dsource.org/projects/dsss/wiki/Rebuild

Hopefully in an upcoming version we'll have build support built in.

Yes, I want to add docs soon, I think I might do that after finish unit test support. However, for now, I'd suggest using JDT docs, since most of the functionality we have is ported from JDT.

So much to do!
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
dholling



Joined: 28 Oct 2007
Posts: 5

PostPosted: Wed Dec 12, 2007 6:42 am    Post subject: Reply with quote

too much to do indeed Smile

the "int" problem doesn't seem to go away. not sure at all what to do. maybe it's my version of eclipse (latest) or jre (1.6) that's the problem.


cheers
Back to top
View user's profile Send private message
fraserofthenight



Joined: 08 Apr 2007
Posts: 33
Location: Seattle, WA

PostPosted: Wed Dec 12, 2007 2:27 pm    Post subject: Reply with quote

What's the syntax that's giving you the error?

It's probably not the Eclipse version or JRE, since that's my setup, too.
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
dholling



Joined: 28 Oct 2007
Posts: 5

PostPosted: Thu Dec 13, 2007 12:45 am    Post subject: Reply with quote

Code:
module Main;

int main(char[][] args){   
   return 0;
}


The tooltip is: "The word 'int' is not correctly spelled"
Back to top
View user's profile Send private message
doob



Joined: 06 Jan 2007
Posts: 367

PostPosted: Thu Dec 13, 2007 8:46 am    Post subject: Reply with quote

There you have the solution, the spell checking is on. If you look real close you can see that the underline color is actually orange and not red, indicating that the word isn't correctly spelled and not a syntax error.

Last edited by doob on Tue Dec 18, 2007 8:31 am; edited 1 time in total
Back to top
View user's profile Send private message
dholling



Joined: 28 Oct 2007
Posts: 5

PostPosted: Thu Dec 13, 2007 5:22 pm    Post subject: Reply with quote

That explains it.... I am red-green colorblind which makes all sorts of subtle shades hard to differentiate.

Thanks so much
Back to top
View user's profile Send private message
fraserofthenight



Joined: 08 Apr 2007
Posts: 33
Location: Seattle, WA

PostPosted: Mon Dec 17, 2007 5:30 pm    Post subject: Reply with quote

More particularly, spell checking is set to the "Default Spelling Engine" instead of the "D Spelling Engine". In the spell checker prefs page, st it to the "D Spelling Engine" and enjoy!
Back to top
View user's profile Send private message Send e-mail AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Descent 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