View previous topic :: View next topic |
Author |
Message |
Kuan Hsu
Joined: 15 Apr 2006 Posts: 143 Location: Taiwan
|
Posted: Sun Nov 19, 2006 5:38 am Post subject: Miss stack.d... |
|
|
New svn reversion is miss stack.d, can't test the new code
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
Thanks!! |
|
Back to top |
|
|
hasan
Joined: 02 May 2005 Posts: 58
|
Posted: Sun Nov 19, 2006 3:10 pm Post subject: |
|
|
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 |
|
|
hasan
Joined: 02 May 2005 Posts: 58
|
Posted: Sun Nov 19, 2006 4:28 pm Post subject: |
|
|
I upadated the svn.
Also added scope attribute. |
|
Back to top |
|
|
Kuan Hsu
Joined: 15 Apr 2006 Posts: 143 Location: Taiwan
|
Posted: Thu Nov 23, 2006 12:19 pm Post subject: |
|
|
Today I see the rev.45, thanks!
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 |
|
|
hasan
Joined: 02 May 2005 Posts: 58
|
Posted: Thu Nov 23, 2006 9:41 pm Post subject: |
|
|
Kuan Hsu wrote: | Today I see the rev.45, thanks!
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 |
|
|
|
|
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
|