id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	lang	patch	platform
217	fix badly named variable in generated code	coke		"The id here isn't tracking the id of the pmc, but of the HLL.

{{{
--- lib/Parrot/Pmc2c/PMCEmitter.pm      (revision 35922)
+++ lib/Parrot/Pmc2c/PMCEmitter.pm      (working copy)
@@ -683,13 +683,13 @@

         {
             /* Register this PMC as a HLL mapping */
-            const INTVAL pmc_id = Parrot_get_HLL_id( interp, CONST_STRING_GEN(interp, ""$hll"")
+            const INTVAL hll_id = Parrot_get_HLL_id( interp, CONST_STRING_GEN(interp, ""$hll"")
             );
-            if (pmc_id > 0) {
+            if (hll_id > 0) {
 EOC
         foreach my $maps ( sort keys %{ $self->{flags}{maps} } ) {
             $cout .= <<""EOC"";
-                Parrot_register_HLL_type( interp, pmc_id, enum_class_$maps, entry);
+                Parrot_register_HLL_type( interp, hll_id, enum_class_$maps, entry);
 EOC
         }
         $cout .= <<""EOC"";
}}}"	patch	closed	normal		core		low	fixed				applied	
