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

Miss stack.d...

 
Post new topic   Reply to topic     Forum Index -> Code Analyzer
View previous topic :: View next topic  
Author Message
Kuan Hsu



Joined: 15 Apr 2006
Posts: 143
Location: Taiwan

PostPosted: Sun Nov 19, 2006 5:38 am    Post subject: Miss stack.d... Reply with quote

New svn reversion is miss stack.d, can't test the new code Shocked

Maybe some infinite loop is need to fix, like lexical\strings.d( rev.36 ), the void scanOldSchool( char bound, TextScanner sc ) function seems to need to check EOF, or if we miss " or ' in our code, the parser will crash Shocked

Thanks!! Very Happy
Back to top
View user's profile Send private message Send e-mail
hasan



Joined: 02 May 2005
Posts: 58

PostPosted: Sun Nov 19, 2006 3:10 pm    Post subject: Reply with quote

Quote:
New svn reversion is miss stack.d, can't test the new code

oh, it's not really needed, you can just delete the import for it.. and if there is a class that uses it, you can delete it (I don't think there is).

Quote:

Maybe some infinite loop is need to fix, like lexical\strings.d( rev.36 ), the void scanOldSchool( char bound, TextScanner sc ) function seems to need to check EOF, or if we miss " or ' in our code, the parser will crash

ouch .. I have a lot of these bugs!!
Thanks for reporting them!
Back to top
View user's profile Send private message
hasan



Joined: 02 May 2005
Posts: 58

PostPosted: Sun Nov 19, 2006 4:28 pm    Post subject: Reply with quote

I upadated the svn.
Also added scope attribute.
Back to top
View user's profile Send private message
Kuan Hsu



Joined: 15 Apr 2006
Posts: 143
Location: Taiwan

PostPosted: Thu Nov 23, 2006 12:19 pm    Post subject: Reply with quote

Today I see the rev.45, thanks! Very Happy

And there are two loop bugs:

1. statements.d, class Statements: if we lost Closecurly, parser will non-stop.....

2. statements.d, class Asmxxxx....: it may had the same problem, but not sure...
Back to top
View user's profile Send private message Send e-mail
hasan



Joined: 02 May 2005
Posts: 58

PostPosted: Thu Nov 23, 2006 9:41 pm    Post subject: Reply with quote

Kuan Hsu wrote:
Today I see the rev.45, thanks! Very Happy

And there are two loop bugs:

1. statements.d, class Statements: if we lost Closecurly, parser will non-stop.....

2. statements.d, class Asmxxxx....: it may had the same problem, but not sure...


hmm ..I see ..
I think should've made the scanner throw an exception when reading past the end .. instead of return an invalid object!! What a baka!!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Code Analyzer 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