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

Diff for /pegasus/src/Pegasus/WQL/WQL.y between version 1.7 and 1.8

version 1.7, 2005/05/16 20:51:25 version 1.8, 2005/05/24 20:26:33
Line 106 
Line 106 
 %token <intValue> TOK_FALSE %token <intValue> TOK_FALSE
 %token <intValue> TOK_NULL %token <intValue> TOK_NULL
 %token <intValue> TOK_ISA %token <intValue> TOK_ISA
   %token <intValue> TOK_DOT
  
 %token <intValue> TOK_EQ %token <intValue> TOK_EQ
 %token <intValue> TOK_NE %token <intValue> TOK_NE
Line 293 
Line 294 
     {     {
     WQL_TRACE(("YACC: TOK_ISA\n"));     WQL_TRACE(("YACC: TOK_ISA\n"));
     #ifndef PEGASUS_SNIA_EXTENSIONS     #ifndef PEGASUS_SNIA_EXTENSIONS
           // If SNIA tests, allow the ISA but do not pass className
         yyerror("ISA Token Not Supported");         yyerror("ISA Token Not Supported");
     #endif     #endif
     }     }
Line 318 
Line 320 
     {     {
         $$ = 0;         $$ = 0;
     }     }
   /**************
 propertyName propertyName
     : TOK_IDENTIFIER     : TOK_IDENTIFIER
     {     {
         WQL_TRACE(("YACC: propertyName : TOK_IDENTIFIER(%s)\n", $1));         WQL_TRACE(("YACC: propertyName : TOK_IDENTIFIER(%s)\n", $1));
         $$ = $1;         $$ = $1;
     }     }
   *****************/
   propertyName
       : TOK_IDENTIFIER
       {
           WQL_TRACE(("YACC: propertyName : TOK_IDENTIFIER(%s)\n", $1));
           $$ = $1;
       }
       | TOK_IDENTIFIER TOK_DOT TOK_IDENTIFIER
       {
           WQL_TRACE(("YACC: propertyName : TOK_IDENTIFIER(%s.%s)\n", $1, $3));
   #ifdef PEGASUS_SNIA_EXTENSIONS
           // Pass anything as a property name to fool parser for SNIA testing
           $$ = strdup("dummy");
   #else
           yyerror("Scoped (dotted) property names not supported");
   #endif
       }
   
  
 className : TOK_IDENTIFIER className : TOK_IDENTIFIER
     {     {


Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2