View previous topic :: View next topic |
Author |
Message |
Carlos
Joined: 19 Mar 2004 Posts: 396 Location: Canyon, TX
|
Posted: Mon Jul 26, 2004 8:22 pm Post subject: [bug] dstripcopy |
|
|
In line 402 of net/BurtonRadons/digc/strip.d, "export" and "extern" are handled the same way. However they're not the same (you can do extern(...) but not export (...)), so export should be removed from that case. It seems to work well if it's just removed, but I don't know if any particular circumstance should be explicitely treated. |
|
Back to top |
|
|
jcc7
Joined: 22 Feb 2004 Posts: 657 Location: Muskogee, OK, USA
|
Posted: Thu Jul 29, 2004 6:01 pm Post subject: Re: [bug] dstripcopy |
|
|
Carlos wrote: | In line 402 of net/BurtonRadons/digc/strip.d, "export" and "extern" are handled the same way. However they're not the same (you can do extern(...) but not export (...)), so export should be removed from that case. It seems to work well if it's just removed, but I don't know if any particular circumstance should be explicitely treated. | My line numbers are apparently different than yours, so I'm guessing you're using an older version. Even if don't want to use a SVN client, you can still get the latest file from the repository: strip.d.
I did observe a proble with export and extern (and I fixed it differently than you suggested), but it may be a different problem than the problem you found. I fixed my problem, so if you still have a problem with your code, please post some code that makes it fail.
I think the problem is that it was taking out too many spaces (it should have left one). So, I fixed it by commenting out one of the spots where spaces are removed. I don't think people care so much that every last space is removed. They care more about the result being accepted by the compiler. |
|
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
|