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

Diff for /pegasus/src/Pegasus/WQL/WQLYACC.cpp between version 1.1.2.11 and 1.6.2.1

version 1.1.2.11, 2001/12/09 02:57:09 version 1.6.2.1, 2005/04/04 15:57:22
Line 59 
Line 59 
 #endif #endif
  
 extern int WQL_lex(); extern int WQL_lex();
 extern int WQL_error(char*);  extern int WQL_error(const char*);
  
 // //
 // Define the global parser state object: // Define the global parser state object:
Line 158 
Line 158 
    130,   136,   142,   146,   152,   156,   162,   166,   172,   179,    130,   136,   142,   146,   152,   156,   162,   166,   172,   179,
    185,   190,   195,   201,   205,   209,   214,   223,   227,   233,    185,   190,   195,   201,   205,   209,   214,   223,   227,   233,
    238,   243,   248,   253,   258,   265,   270,   277,   281,   287,    238,   243,   248,   253,   258,   265,   270,   277,   281,   287,
    293,   300,   305,   310,   315,   320     293,   300,   306,   311,   316,   321
 }; };
 #endif #endif
  
Line 796 
Line 796 
 case 3: case 3:
 #line 143 "wql.y" #line 143 "wql.y"
 { {
         globalParserState->statement->appendPropertyName("*");          globalParserState->statement->setAllProperties(true);
     ;     ;
     break;}     break;}
 case 4: case 4:
Line 808 
Line 808 
 case 5: case 5:
 #line 153 "wql.y" #line 153 "wql.y"
 { {
         globalParserState->statement->appendPropertyName(yyvsp[0].strValue);          globalParserState->statement->appendSelectPropertyName(CIMName(yyvsp[0].strValue));
     ;     ;
     break;}     break;}
 case 6: case 6:
 #line 157 "wql.y" #line 157 "wql.y"
 { {
         globalParserState->statement->appendPropertyName(yyvsp[0].strValue);          globalParserState->statement->appendSelectPropertyName(CIMName(yyvsp[0].strValue));
     ;     ;
     break;}     break;}
 case 7: case 7:
Line 833 
Line 833 
 #line 173 "wql.y" #line 173 "wql.y"
 { {
         WQL_TRACE(("YACC: fromClause: TOK_FROM className(%s)\n", yyvsp[0].strValue));         WQL_TRACE(("YACC: fromClause: TOK_FROM className(%s)\n", yyvsp[0].strValue));
         globalParserState->statement->setClassName(yyvsp[0].strValue);          globalParserState->statement->setClassName(CIMName(yyvsp[0].strValue));
     ;     ;
     break;}     break;}
 case 10: case 10:
Line 989 
Line 989 
 { {
         globalParserState->statement->appendOperand(         globalParserState->statement->appendOperand(
             WQLOperand(yyvsp[0].strValue, WQL_PROPERTY_NAME_TAG));             WQLOperand(yyvsp[0].strValue, WQL_PROPERTY_NAME_TAG));
           globalParserState->statement->appendWherePropertyName(CIMName(yyvsp[0].strValue));
     ;     ;
     break;}     break;}
 case 33: case 33:
 #line 306 "wql.y"  #line 307 "wql.y"
 { {
         globalParserState->statement->appendOperand(         globalParserState->statement->appendOperand(
             WQLOperand(yyvsp[0].intValue, WQL_INTEGER_VALUE_TAG));             WQLOperand(yyvsp[0].intValue, WQL_INTEGER_VALUE_TAG));
     ;     ;
     break;}     break;}
 case 34: case 34:
 #line 311 "wql.y"  #line 312 "wql.y"
 { {
         globalParserState->statement->appendOperand(         globalParserState->statement->appendOperand(
             WQLOperand(yyvsp[0].doubleValue, WQL_DOUBLE_VALUE_TAG));             WQLOperand(yyvsp[0].doubleValue, WQL_DOUBLE_VALUE_TAG));
     ;     ;
     break;}     break;}
 case 35: case 35:
 #line 316 "wql.y"  #line 317 "wql.y"
 { {
         globalParserState->statement->appendOperand(         globalParserState->statement->appendOperand(
             WQLOperand(yyvsp[0].strValue, WQL_STRING_VALUE_TAG));             WQLOperand(yyvsp[0].strValue, WQL_STRING_VALUE_TAG));
     ;     ;
     break;}     break;}
 case 36: case 36:
 #line 321 "wql.y"  #line 322 "wql.y"
 { {
         globalParserState->statement->appendOperand(         globalParserState->statement->appendOperand(
             WQLOperand(yyvsp[0].intValue != 0, WQL_BOOLEAN_VALUE_TAG));             WQLOperand(yyvsp[0].intValue != 0, WQL_BOOLEAN_VALUE_TAG));
Line 1241 
Line 1242 
     }     }
   return 1;   return 1;
 } }
 #line 326 "wql.y"  #line 327 "wql.y"
  


Legend:
Removed from v.1.1.2.11  
changed lines
  Added in v.1.6.2.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2