(file) Return to cimmof.y CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Compiler

Diff for /pegasus/src/Pegasus/Compiler/cimmof.y between version 1.31 and 1.32

version 1.31, 2003/09/05 02:12:17 version 1.32, 2003/09/09 16:31:56
Line 533 
Line 533 
            $$ = &g_typedInitializerValue;            $$ = &g_typedInitializerValue;
            };            };
  
 constantValues: constantValue { $$ = $1; }  // BUG 497 - Commmas embedded in strings in arrays change the
   // strings.  Aded function stringWComma to escape commas.
   constantValues: constantValue {
               *$$ = valueFactory::stringWComma(String(*$1)); }
               | constantValues TOK_COMMA constantValue               | constantValues TOK_COMMA constantValue
                               {                               {
                   YACCTRACE("constantValues:1, Value= " << *$3);
                                 (*$$).append(",");                                 (*$$).append(",");
                                 (*$$).append(*$3);                  //(*$$).append(*$3);
                   (*$$).append(valueFactory::stringWComma(String(*$3)));
                                 delete $3;                                 delete $3;
                               } ;                               } ;
  


Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2