On Saturday 05 April 2008 09:53:49 Bernhard Schmalhofer wrote:

> Pheme should be converted to using PCT/PAST.pbc, so that PAST-pm can be
> retired, I have started on that road, but ended up with one remaining test
> failure.  The failing test case is test 4 of 'quote.t'.
>
> Could somebody with PAST knowledge take a look at the attached patch and
> possible find out what is wrong or missing?

Index: languages/pheme/lib/pge2past.tg
===================================================================
--- languages/pheme/lib/pge2past.tg     (Revision 26781)
+++ languages/pheme/lib/pge2past.tg     (Arbeitskopie)
@@ -267,7 +267,7 @@
     name  = "'" . name
     name .= "'"
     result.'name'( name )
-    result.'vtype'( '.Undef' )
+    result.'returns'( 'Undef' )
 
     .local pmc children
     children = node.'get_array'()

Change 'name' to 'value' and it works.

Applied with this tweak as r26794.

-- c

Reply via email to