(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.1.2.7 and 1.1.2.9

version 1.1.2.7, 2001/12/03 00:08:00 version 1.1.2.9, 2001/12/12 17:45:52
Line 141 
Line 141 
 selectList selectList
     : '*'     : '*'
     {     {
         globalParserState->statement->appendPropertyName("*");          globalParserState->statement->appendSelectPropertyName("*");
     }     }
     | propertyList     | propertyList
     {     {
Line 151 
Line 151 
 propertyList propertyList
     : propertyName     : propertyName
     {     {
         globalParserState->statement->appendPropertyName($1);          globalParserState->statement->appendSelectPropertyName($1);
     }     }
     | propertyList ',' propertyName     | propertyList ',' propertyName
     {     {
         globalParserState->statement->appendPropertyName($3);          globalParserState->statement->appendSelectPropertyName($3);
     }     }
  
 selectExpression selectExpression
Line 300 
Line 300 
     : propertyName     : propertyName
     {     {
         globalParserState->statement->appendOperand(         globalParserState->statement->appendOperand(
             WQLOperand($1, WQLOperand::PROPERTY_NAME_TAG));              WQLOperand($1, WQL_PROPERTY_NAME_TAG));
           globalParserState->statement->appendWherePropertyName($1);
     }     }
     | TOK_INTEGER     | TOK_INTEGER
     {     {
         globalParserState->statement->appendOperand(         globalParserState->statement->appendOperand(
             WQLOperand($1, WQLOperand::INTEGER_VALUE_TAG));              WQLOperand($1, WQL_INTEGER_VALUE_TAG));
     }     }
     | TOK_DOUBLE     | TOK_DOUBLE
     {     {
         globalParserState->statement->appendOperand(         globalParserState->statement->appendOperand(
             WQLOperand($1, WQLOperand::DOUBLE_VALUE_TAG));              WQLOperand($1, WQL_DOUBLE_VALUE_TAG));
     }     }
     | TOK_STRING     | TOK_STRING
     {     {
         globalParserState->statement->appendOperand(         globalParserState->statement->appendOperand(
             WQLOperand($1, WQLOperand::STRING_VALUE_TAG));              WQLOperand($1, WQL_STRING_VALUE_TAG));
     }     }
     | truthValue     | truthValue
     {     {
         globalParserState->statement->appendOperand(         globalParserState->statement->appendOperand(
             WQLOperand($1 != 0, WQLOperand::BOOLEAN_VALUE_TAG));              WQLOperand($1 != 0, WQL_BOOLEAN_VALUE_TAG));
     }     }
  
 %% %%


Legend:
Removed from v.1.1.2.7  
changed lines
  Added in v.1.1.2.9

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2