From: <ka...@us...> - 2009-07-27 15:42:42
|
Revision: 2251 http://paintown.svn.sourceforge.net/paintown/?rev=2251&view=rev Author: kazzmir Date: 2009-07-27 15:42:34 +0000 (Mon, 27 Jul 2009) Log Message: ----------- typo Modified Paths: -------------- trunk/src/mugen/parser/peg.py Modified: trunk/src/mugen/parser/peg.py =================================================================== --- trunk/src/mugen/parser/peg.py 2009-07-27 15:40:55 UTC (rev 2250) +++ trunk/src/mugen/parser/peg.py 2009-07-27 15:42:34 UTC (rev 2251) @@ -50,9 +50,9 @@ static Result rule_%s(){ Result %s = 0; %s - return Result; + return %s; } - """ % (self.name, result, '\n'.join([pattern.generate(result) for pattern in self.patterns])) + """ % (self.name, result, '\n'.join([pattern.generate(result) for pattern in self.patterns]), result) return data This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |