Search the web
Sign In
New User? Sign Up
d_lab · D Lab
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
DigC problems   Message List  
Reply | Forward Message #155 of 169 |
Re: DigC problems

--- In d_lab@yahoogroups.com, "klassasin" <klassasin@...> wrote:
>
> I just got an "updated" version of digc from smock.com. The only
> problem is that I can't get it to compile. I get these problems:
>
> Source\autodoc.d(584): found 'scope' when expecting ')'
> Source\autodoc.d(584): semicolon expected following function declaration
> Source\autodoc.d(584): Declaration expected, not ','
> Source\autodoc.d(587): Declaration expected, not 'if'
> Source\autodoc.d(590): no identifier for declarator index
> Source\autodoc.d(591): Declaration expected, not 'return'
> Source\autodoc.d(592): Declaration expected, not ')'
> Source\autodoc.d(595): Declaration expected, not 'return'
> Source\autodoc.d(596): unrecognized declaration

I haven't looked at the smock.com code (at least not recently), but I
think I know what the problem is. Fairly recently, "scope" was made a
keyword in D. It sounds like the code uses scope as a variable
identifier. So just use search-and-replace to change "scope" to
something legal like "scopeVar" and it should work (or at least the
compile process will go farther).

By the way, I don't know your purpose in using DigC, but you might
find that Build (http://www.dsource.org/projects/build) will serve
your purposes. DigC was released earlier, but Build is being actively
maintained and Build can do much of what DigC and do and many things
that it can't do.






Fri Jul 7, 2006 3:15 am

jccalvarese
Offline Offline
Send Email Send Email

Forward
Message #155 of 169 |
Expand Messages Author Sort by Date

I just got an "updated" version of digc from smock.com. The only problem is that I can't get it to compile. I get these problems: Source\autodoc.d(584):...
klassasin
Offline Send Email
Jul 7, 2006
1:19 am

... I haven't looked at the smock.com code (at least not recently), but I think I know what the problem is. Fairly recently, "scope" was made a keyword in D....
J C Calvarese
jccalvarese
Offline Send Email
Jul 7, 2006
3:37 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help