develooper Front page | perl.cvs.parrot | Postings from January 2009

[svn:parrot] r35411 - trunk/languages/ecmascript/src/parser

From:
bernhard
Date:
January 11, 2009 04:50
Subject:
[svn:parrot] r35411 - trunk/languages/ecmascript/src/parser
Message ID:
20090111125019.7FCE0CB9F9@x12.develooper.com
Author: bernhard
Date: Sun Jan 11 04:50:18 2009
New Revision: 35411

Modified:
   trunk/languages/ecmascript/src/parser/actions.pm

Log:
[codingstd] remove trailing spaces


Modified: trunk/languages/ecmascript/src/parser/actions.pm
==============================================================================
--- trunk/languages/ecmascript/src/parser/actions.pm	(original)
+++ trunk/languages/ecmascript/src/parser/actions.pm	Sun Jan 11 04:50:18 2009
@@ -683,8 +683,8 @@
 
     my $type := PAST::Var.new( :name('JSObject'), :scope('package'), :node($/) );
     my $objvar := PAST::Var.new(:scope('register'), :name('obj'));
-    $past.push( 
-        PAST::Op.new(:pasttype('bind'), 
+    $past.push(
+        PAST::Op.new(:pasttype('bind'),
           PAST::Var.new(:scope('register'), :name('obj'), :isdecl(1)),
           PAST::Op.new( :pasttype('callmethod'), :name("new"), :node($/), $type),
           :node($/)));
@@ -719,14 +719,14 @@
 
     my $type := PAST::Var.new( :name('JSArray'), :scope('package'), :node($/) );
     my $objvar := PAST::Var.new(:scope('register'), :name('obj'));
-    $past.push( 
-        PAST::Op.new(:pasttype('bind'), 
+    $past.push(
+        PAST::Op.new(:pasttype('bind'),
           PAST::Var.new(:scope('register'), :name('obj'), :isdecl(1)),
           PAST::Op.new( :pasttype('callmethod'), :name("new"), :node($/), $type),
           :node($/)));
     my $i := 0;
     for $<assignment_expression> {
-      $past.push( 
+      $past.push(
           PAST::Op.new( :pasttype('callmethod'), :name('Set'), $objvar, $i, $($_), :node($/) ));
       $i := $i + 1;
     }
@@ -755,7 +755,7 @@
 method elision($/) {
     my $past := PAST::Stmts.new( :node($/) );
     my $undef := PAST::Var.new( :name('undef'), :namespace('JSUndefined'), :scope('package'), :node($/) );
-    
+
     for $<comma> {
       $past.push(PAST::Op.new( :pasttype('callmethod'), :name('append'), $undef, :node($/) ));
     }



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About