Author: bernhard Date: Sat Jan 3 03:34:12 2009 New Revision: 34869 Modified: trunk/languages/ecmascript/src/parser/actions.pm
Log: [codingstd] uncuddle an else Modified: trunk/languages/ecmascript/src/parser/actions.pm ============================================================================== --- trunk/languages/ecmascript/src/parser/actions.pm (original) +++ trunk/languages/ecmascript/src/parser/actions.pm Sat Jan 3 03:34:12 2009 @@ -1,5 +1,6 @@ -# Copyright (C) 2008, The Perl Foundation. +# Copyright (C) 2008-2009, The Perl Foundation. # $Id$ + class JS::Grammar::Actions; method TOP($/, $key) { @@ -146,7 +147,8 @@ my $init; if $var_decl { $init := $( $<init> ); - } else { + } + else { if $<init> { $init := $( $<init>[0] ); } }