Revision: 48931 http://brlcad.svn.sourceforge.net/brlcad/?rev=48931&view=rev Author: bob1961 Date: 2012-01-19 23:34:48 +0000 (Thu, 19 Jan 2012) Log Message: ----------- Move variable declarations to top of code block.
Modified Paths: -------------- brlcad/trunk/src/other/lemon/lempar.c Modified: brlcad/trunk/src/other/lemon/lempar.c =================================================================== --- brlcad/trunk/src/other/lemon/lempar.c 2012-01-19 23:22:52 UTC (rev 48930) +++ brlcad/trunk/src/other/lemon/lempar.c 2012-01-19 23:34:48 UTC (rev 48931) @@ -321,8 +321,11 @@ static int yy_pop_parser_stack(yyParser *pParser){ YYCODETYPE yymajor; + yyStackEntry *yytos; + if( pParser->yyidx < 0 ) return 0; - yyStackEntry *yytos = &pParser->yystack[pParser->yyidx]; + yytos = &pParser->yystack[pParser->yyidx]; + #ifndef NDEBUG if( yyTraceFILE && pParser->yyidx>=0 ){ fprintf(yyTraceFILE,"%sPopping %s\n", This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits