|
|
Hi!
Thanks for elua - it looks like a great system. I just have one beginner's question: using elua-svn (rev 765) I go scons -f cross-lua.py scons board=atevk1100 and get an immediate failure: File "src/platform/avr32/conf.py", line 28 def progfunc_avr32( comp[ 'target' ], source, env ): SyntaxError: invalid syntax which can be avoided by modifying: --- elua-svn2/src/platform/avr32/conf.py 2010-07-28 10:35:50.000000000 +0 200 +++ elua-svn/src/platform/avr32/conf.py 2010-07-27 19:43:32.000000000 +0200 @@ -28,1 +28,1 @@ -def progfunc_avr32( comp[ 'target' ], source, env ): +def progfunc_avr32( target, source, env ): ...then the build runs successfully to completion. Is there something obvious I'm missing here? Sorry, I'm new to Lua and eLua. Cheers M _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
|
|
Yep. That's correct. Fix committed. We (I) recently made some build
changes and I think that was just an overzealous find/replace. -jsnyder On Wed, Jul 28, 2010 at 3:48 AM, Martin Guy <[hidden email]> wrote: > Hi! > Thanks for elua - it looks like a great system. > I just have one beginner's question: using elua-svn (rev 765) I go > > scons -f cross-lua.py > scons board=atevk1100 > > and get an immediate failure: > > File "src/platform/avr32/conf.py", line 28 > def progfunc_avr32( comp[ 'target' ], source, env ): > SyntaxError: invalid syntax > > which can be avoided by modifying: > > --- elua-svn2/src/platform/avr32/conf.py 2010-07-28 10:35:50.000000000 +0 > 200 > +++ elua-svn/src/platform/avr32/conf.py 2010-07-27 19:43:32.000000000 +0200 > @@ -28,1 +28,1 @@ > -def progfunc_avr32( comp[ 'target' ], source, env ): > +def progfunc_avr32( target, source, env ): > > ...then the build runs successfully to completion. > > Is there something obvious I'm missing here? Sorry, I'm new to Lua and eLua. > > Cheers > > M > _______________________________________________ > eLua-dev mailing list > [hidden email] > https://lists.berlios.de/mailman/listinfo/elua-dev > -- James Snyder Biomedical Engineering Northwestern University [hidden email] PGP: http://fanplastic.org/key.txt Phone: (847) 448-0386 _______________________________________________ eLua-dev mailing list [hidden email] https://lists.berlios.de/mailman/listinfo/elua-dev |
| Free forum by Nabble | Edit this page |