(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.6 and 1.8

version 1.6, 2005/02/11 19:52:49 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 291 
Line 292 
     }     }
     | propertyName TOK_ISA className     | propertyName TOK_ISA className
     {     {
   
         WQL_TRACE(("YACC: TOK_ISA\n"));         WQL_TRACE(("YACC: TOK_ISA\n"));
         // ADD statement phrase.  #ifndef PEGASUS_SNIA_EXTENSIONS
           // If SNIA tests, allow the ISA but do not pass className
           yyerror("ISA Token Not Supported");
   #endif
     }     }
  
 nullPredicate nullPredicate
Line 317 
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.6  
changed lines
  Added in v.1.8

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2