Charj: Fix to add namespace on pup method
authorJonathan Lifflander <jliffl2@illinois.edu>
Tue, 29 Jun 2010 04:02:16 +0000 (23:02 -0500)
committerJonathan Lifflander <jliffl2@illinois.edu>
Tue, 29 Jun 2010 04:02:16 +0000 (23:02 -0500)
src/langs/charj/src/charj/translator/Charj.stg

index 0bcbdc6557d25ad37abf3b423a95d01c7559fe55..8756d2608064fcfeb13d235a6ae06eef1a428d84 100644 (file)
@@ -190,12 +190,12 @@ chareDeclaration_cc_cont(pds, sym, ident, ext, csds, pupers, pupInits) ::=
 <csds; separator="\n\n">
 
 <if(pupInits)>
-void pupInitMethod() {
+void <ident>::pupInitMethod() {
     <pupInits; separator="\n">
 }
 <endif>
 
-void pup(PUP::er &p) {
+void <ident>::pup(PUP::er &p) {
 <if(pupInits)>
     pupInitMethod();