# New Ticket Created by  Bernhard Schmalhofer 
# Please include the string:  [perl #48657]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=48657 >


Hi,

recent changes have broken Lua.
 From the shared object file for the dynamic ops I got
   undefined symbol: CONST_STRING
This might be fixable by including an appropriate header file.
Reverting r23916 in lib/Parrot/Pmc2c/PMCEmitter.pm also works.


@@ -635,7 +635,7 @@
     foreach my $dynpmc (@$dyn_mmds) {
         next if $dynpmc eq $classname;
         $cout .= <<"EOC";
-            int my_enum_class_$dynpmc = pmc_type(interp, 
CONST_STRING(interp, "$dynpmc"));
+            int my_enum_class_$dynpmc = pmc_type(interp, 
string_from_literal(interp, "$dynpmc"));
 EOC
     }


The other problem is that the method 'ostgrammar' has been removed from 
PCT::HLLCompiler.
IMHO this should be fixed with porting languages/lua from using 
'PAST-pm' to using the shiny new
PCT::PAST.

Regards,
  Bernhard

Reply via email to