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

Diff for /pegasus/src/Pegasus/CQL/CQLYACC.cpp between version 1.17 and 1.18

version 1.17, 2007/07/17 20:58:31 version 1.18, 2007/09/10 08:50:51
Line 255 
Line 255 
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END
  
  
   void CQL_Arglist_Cleanup()
   {
       _arglist.clear();
   }
   
 void CQL_Bison_Cleanup(){ void CQL_Bison_Cleanup(){
     for(Uint32 i = 0; i < _ptrs.size(); i++)     for(Uint32 i = 0; i < _ptrs.size(); i++)
     {     {
Line 294 
Line 299 
         }         }
       }       }
     }     }
       CQL_Arglist_Cleanup();
     _ptrs.clear();     _ptrs.clear();
    _factory.cleanup();    _factory.cleanup();
     _factory = CQLFactory();     _factory = CQLFactory();
Line 321 
Line 327 
  
 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
 typedef union YYSTYPE typedef union YYSTYPE
 #line 129 "CQL.y"  #line 135 "CQL.y"
 { {
     char * strValue;     char * strValue;
     String * _string;     String * _string;
Line 333 
Line 339 
     void * _node;     void * _node;
 } }
 /* Line 193 of yacc.c.  */ /* Line 193 of yacc.c.  */
 #line 336 "CQLtemp"  #line 342 "CQLtemp"
         YYSTYPE;         YYSTYPE;
 # define yystype YYSTYPE /* obsolescent; will be withdrawn */ # define yystype YYSTYPE /* obsolescent; will be withdrawn */
 # define YYSTYPE_IS_DECLARED 1 # define YYSTYPE_IS_DECLARED 1
Line 346 
Line 352 
  
  
 /* Line 216 of yacc.c.  */ /* Line 216 of yacc.c.  */
 #line 349 "CQLtemp"  #line 355 "CQLtemp"
  
 #ifdef short #ifdef short
 # undef short # undef short
Line 660 
Line 666 
 /* YYRLINE[YYN] -- source line where rule number YYN was defined.  */ /* YYRLINE[YYN] -- source line where rule number YYN was defined.  */
 static const yytype_uint16 yyrline[] = static const yytype_uint16 yyrline[] =
 { {
        0,   253,   253,   279,   288,   304,   337,   366,   376,   390,         0,   259,   259,   285,   294,   310,   343,   372,   382,   396,
      400,   414,   424,   438,   448,   461,   470,   475,   480,   485,       406,   420,   430,   444,   454,   467,   476,   481,   486,   491,
      490,   500,   513,   527,   537,   546,   555,   564,   577,   586,       496,   506,   519,   533,   543,   552,   561,   570,   583,   592,
      597,   639,   677,   723,   782,   790,   879,   910,   939,   970,       603,   645,   683,   729,   788,   796,   885,   916,   945,   976,
      985,   992,  1004,  1011,  1017,  1024,  1030,  1036,  1044,  1051,       991,   998,  1010,  1017,  1023,  1030,  1036,  1042,  1050,  1057,
     1063,  1074,  1104,  1134,  1151,  1167,  1174,  1184,  1191,  1206,      1069,  1080,  1110,  1140,  1157,  1173,  1180,  1190,  1197,  1212,
     1213,  1227,  1246,  1305,  1312,  1324,  1337,  1344,  1353,  1370,      1219,  1233,  1252,  1311,  1318,  1330,  1343,  1350,  1359,  1376,
     1392,  1401,  1410,  1412,  1422,  1431,  1433,  1444      1398,  1407,  1416,  1418,  1428,  1437,  1439,  1450
 }; };
 #endif #endif
  
Line 1667 
Line 1673 
   switch (yyn)   switch (yyn)
     {     {
         case 2:         case 2:
 #line 254 "CQL.y"  #line 260 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "identifier";         CQL_globalParserState->currentRule = "identifier";
         CQL_DEBUG_TRACE("BISON::identifier\n");         CQL_DEBUG_TRACE("BISON::identifier\n");
Line 1694 
Line 1700 
     break;     break;
  
   case 3:   case 3:
 #line 280 "CQL.y"  #line 286 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "class_name";         CQL_globalParserState->currentRule = "class_name";
         CQL_DEBUG_TRACE2("BISON::class_name = %s\n",         CQL_DEBUG_TRACE2("BISON::class_name = %s\n",
Line 1704 
Line 1710 
     break;     break;
  
   case 4:   case 4:
 #line 289 "CQL.y"  #line 295 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "class_path";         CQL_globalParserState->currentRule = "class_path";
         CQL_DEBUG_TRACE("BISON::class_path\n");         CQL_DEBUG_TRACE("BISON::class_path\n");
Line 1713 
Line 1719 
     break;     break;
  
   case 5:   case 5:
 #line 305 "CQL.y"  #line 311 "CQL.y"
     {     {
         /*         /*
         TOK_SCOPED_PROPERTY can be:         TOK_SCOPED_PROPERTY can be:
Line 1746 
Line 1752 
     break;     break;
  
   case 6:   case 6:
 #line 338 "CQL.y"  #line 344 "CQL.y"
     {     {
         /*         /*
         Make sure the literal is valid UTF8, then make a String         Make sure the literal is valid UTF8, then make a String
Line 1775 
Line 1781 
     break;     break;
  
   case 7:   case 7:
 #line 367 "CQL.y"  #line 373 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "binary_value->TOK_BINARY";         CQL_globalParserState->currentRule = "binary_value->TOK_BINARY";
         CQL_DEBUG_TRACE2("BISON::binary_value-> %s\n", CQL_lval.strValue);         CQL_DEBUG_TRACE2("BISON::binary_value-> %s\n", CQL_lval.strValue);
Line 1788 
Line 1794 
     break;     break;
  
   case 8:   case 8:
 #line 377 "CQL.y"  #line 383 "CQL.y"
     {     {
         CQL_globalParserState->currentRule =         CQL_globalParserState->currentRule =
             "binary_value->TOK_NEGATIVE_BINARY";             "binary_value->TOK_NEGATIVE_BINARY";
Line 1802 
Line 1808 
     break;     break;
  
   case 9:   case 9:
 #line 391 "CQL.y"  #line 397 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "hex_value->TOK_HEXADECIMAL";         CQL_globalParserState->currentRule = "hex_value->TOK_HEXADECIMAL";
         CQL_DEBUG_TRACE2("BISON::hex_value-> %s\n", CQL_lval.strValue);         CQL_DEBUG_TRACE2("BISON::hex_value-> %s\n", CQL_lval.strValue);
Line 1815 
Line 1821 
     break;     break;
  
   case 10:   case 10:
 #line 401 "CQL.y"  #line 407 "CQL.y"
     {     {
         CQL_globalParserState->currentRule =         CQL_globalParserState->currentRule =
             "hex_value->TOK_NEGATIVE_HEXADECIMAL";             "hex_value->TOK_NEGATIVE_HEXADECIMAL";
Line 1829 
Line 1835 
     break;     break;
  
   case 11:   case 11:
 #line 415 "CQL.y"  #line 421 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "decimal_value->TOK_INTEGER";         CQL_globalParserState->currentRule = "decimal_value->TOK_INTEGER";
         CQL_DEBUG_TRACE2("BISON::decimal_value-> %s\n", CQL_lval.strValue);         CQL_DEBUG_TRACE2("BISON::decimal_value-> %s\n", CQL_lval.strValue);
Line 1842 
Line 1848 
     break;     break;
  
   case 12:   case 12:
 #line 425 "CQL.y"  #line 431 "CQL.y"
     {     {
         CQL_globalParserState->currentRule =         CQL_globalParserState->currentRule =
             "decimal_value->TOK_NEGATIVE_INTEGER";             "decimal_value->TOK_NEGATIVE_INTEGER";
Line 1856 
Line 1862 
     break;     break;
  
   case 13:   case 13:
 #line 439 "CQL.y"  #line 445 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "real_value->TOK_REAL";         CQL_globalParserState->currentRule = "real_value->TOK_REAL";
         CQL_DEBUG_TRACE2("BISON::real_value-> %s\n", CQL_lval.strValue);         CQL_DEBUG_TRACE2("BISON::real_value-> %s\n", CQL_lval.strValue);
Line 1869 
Line 1875 
     break;     break;
  
   case 14:   case 14:
 #line 449 "CQL.y"  #line 455 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "real_value->TOK_NEGATIVE_REAL";         CQL_globalParserState->currentRule = "real_value->TOK_NEGATIVE_REAL";
         CQL_DEBUG_TRACE2("BISON::real_value-> %s\n", CQL_lval.strValue);         CQL_DEBUG_TRACE2("BISON::real_value-> %s\n", CQL_lval.strValue);
Line 1882 
Line 1888 
     break;     break;
  
   case 15:   case 15:
 #line 462 "CQL.y"  #line 468 "CQL.y"
     {     {
             CQL_globalParserState->currentRule = "literal->literal_string";             CQL_globalParserState->currentRule = "literal->literal_string";
             CQL_DEBUG_TRACE("BISON::literal->literal_string\n");             CQL_DEBUG_TRACE("BISON::literal->literal_string\n");
Line 1894 
Line 1900 
     break;     break;
  
   case 16:   case 16:
 #line 471 "CQL.y"  #line 477 "CQL.y"
     {     {
             CQL_globalParserState->currentRule = "literal->decimal_value";             CQL_globalParserState->currentRule = "literal->decimal_value";
             CQL_DEBUG_TRACE("BISON::literal->decimal_value\n");             CQL_DEBUG_TRACE("BISON::literal->decimal_value\n");
Line 1902 
Line 1908 
     break;     break;
  
   case 17:   case 17:
 #line 476 "CQL.y"  #line 482 "CQL.y"
     {     {
             CQL_globalParserState->currentRule = "literal->binary_value";             CQL_globalParserState->currentRule = "literal->binary_value";
             CQL_DEBUG_TRACE("BISON::literal->binary_value\n");             CQL_DEBUG_TRACE("BISON::literal->binary_value\n");
Line 1910 
Line 1916 
     break;     break;
  
   case 18:   case 18:
 #line 481 "CQL.y"  #line 487 "CQL.y"
     {     {
             CQL_globalParserState->currentRule = "literal->hex_value";             CQL_globalParserState->currentRule = "literal->hex_value";
             CQL_DEBUG_TRACE("BISON::literal->hex_value\n");             CQL_DEBUG_TRACE("BISON::literal->hex_value\n");
Line 1918 
Line 1924 
     break;     break;
  
   case 19:   case 19:
 #line 486 "CQL.y"  #line 492 "CQL.y"
     {     {
             CQL_globalParserState->currentRule = "literal->real_value";             CQL_globalParserState->currentRule = "literal->real_value";
             CQL_DEBUG_TRACE("BISON::literal->real_value\n");             CQL_DEBUG_TRACE("BISON::literal->real_value\n");
Line 1926 
Line 1932 
     break;     break;
  
   case 20:   case 20:
 #line 491 "CQL.y"  #line 497 "CQL.y"
     {     {
             CQL_globalParserState->currentRule = "literal->TOK_TRUE";             CQL_globalParserState->currentRule = "literal->TOK_TRUE";
             CQL_DEBUG_TRACE("BISON::literal->TOK_TRUE\n");             CQL_DEBUG_TRACE("BISON::literal->TOK_TRUE\n");
Line 1939 
Line 1945 
     break;     break;
  
   case 21:   case 21:
 #line 501 "CQL.y"  #line 507 "CQL.y"
     {     {
             CQL_globalParserState->currentRule = "literal->TOK_FALSE";             CQL_globalParserState->currentRule = "literal->TOK_FALSE";
             CQL_DEBUG_TRACE("BISON::literal->TOK_FALSE\n");             CQL_DEBUG_TRACE("BISON::literal->TOK_FALSE\n");
Line 1952 
Line 1958 
     break;     break;
  
   case 22:   case 22:
 #line 514 "CQL.y"  #line 520 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "array_index->expr";         CQL_globalParserState->currentRule = "array_index->expr";
         CQL_DEBUG_TRACE("BISON::array_index->expr\n");         CQL_DEBUG_TRACE("BISON::array_index->expr\n");
Line 1966 
Line 1972 
     break;     break;
  
   case 23:   case 23:
 #line 528 "CQL.y"  #line 534 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "array_index_list->array_index";         CQL_globalParserState->currentRule = "array_index_list->array_index";
         CQL_DEBUG_TRACE("BISON::array_index_list->array_index\n");         CQL_DEBUG_TRACE("BISON::array_index_list->array_index\n");
Line 1976 
Line 1982 
     break;     break;
  
   case 24:   case 24:
 #line 538 "CQL.y"  #line 544 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "chain->literal";         CQL_globalParserState->currentRule = "chain->literal";
         CQL_DEBUG_TRACE("BISON::chain->literal\n");         CQL_DEBUG_TRACE("BISON::chain->literal\n");
Line 1987 
Line 1993 
     break;     break;
  
   case 25:   case 25:
 #line 547 "CQL.y"  #line 553 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "chain-> ( expr )";         CQL_globalParserState->currentRule = "chain-> ( expr )";
         CQL_DEBUG_TRACE("BISON::chain-> ( expr )\n");         CQL_DEBUG_TRACE("BISON::chain-> ( expr )\n");
Line 1998 
Line 2004 
     break;     break;
  
   case 26:   case 26:
 #line 556 "CQL.y"  #line 562 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "chain->identifier";         CQL_globalParserState->currentRule = "chain->identifier";
         CQL_DEBUG_TRACE("BISON::chain->identifier\n");         CQL_DEBUG_TRACE("BISON::chain->identifier\n");
Line 2009 
Line 2015 
     break;     break;
  
   case 27:   case 27:
 #line 565 "CQL.y"  #line 571 "CQL.y"
     {     {
         CQL_globalParserState->currentRule =         CQL_globalParserState->currentRule =
             "chain->identifier#literal_string";             "chain->identifier#literal_string";
Line 2024 
Line 2030 
     break;     break;
  
   case 28:   case 28:
 #line 578 "CQL.y"  #line 584 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "chain->scoped_property";         CQL_globalParserState->currentRule = "chain->scoped_property";
         CQL_DEBUG_TRACE("BISON::chain->scoped_property\n");         CQL_DEBUG_TRACE("BISON::chain->scoped_property\n");
Line 2035 
Line 2041 
     break;     break;
  
   case 29:   case 29:
 #line 587 "CQL.y"  #line 593 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "identifier( arg_list )";         CQL_globalParserState->currentRule = "identifier( arg_list )";
         CQL_DEBUG_TRACE("BISON::identifier( arg_list )\n");         CQL_DEBUG_TRACE("BISON::identifier( arg_list )\n");
Line 2043 
Line 2049 
         chain_state = CQLFUNCTION;         chain_state = CQLFUNCTION;
         CQLFunction _func(*(yyvsp[(1) - (4)]._identifier),_arglist);         CQLFunction _func(*(yyvsp[(1) - (4)]._identifier),_arglist);
         (yyval._node) = (CQLPredicate*)(_factory.makeObject(&_func,Predicate));         (yyval._node) = (CQLPredicate*)(_factory.makeObject(&_func,Predicate));
         _arglist.clear();          CQL_Arglist_Cleanup();
     ;}     ;}
     break;     break;
  
   case 30:   case 30:
 #line 598 "CQL.y"  #line 604 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "chain->chain.scoped_property";         CQL_globalParserState->currentRule = "chain->chain.scoped_property";
         CQL_DEBUG_TRACE2(         CQL_DEBUG_TRACE2(
Line 2092 
Line 2098 
     break;     break;
  
   case 31:   case 31:
 #line 640 "CQL.y"  #line 646 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "chain->chain.identifier";         CQL_globalParserState->currentRule = "chain->chain.identifier";
         CQL_DEBUG_TRACE2("BISON::chain->chain.identifier : chain_state = %d\n"         CQL_DEBUG_TRACE2("BISON::chain->chain.identifier : chain_state = %d\n"
Line 2132 
Line 2138 
     break;     break;
  
   case 32:   case 32:
 #line 678 "CQL.y"  #line 684 "CQL.y"
     {     {
         CQL_globalParserState->currentRule =         CQL_globalParserState->currentRule =
             "chain->chain.identifier#literal_string";             "chain->chain.identifier#literal_string";
Line 2180 
Line 2186 
     break;     break;
  
   case 33:   case 33:
 #line 724 "CQL.y"  #line 730 "CQL.y"
     {     {
         CQL_globalParserState->currentRule =         CQL_globalParserState->currentRule =
             "chain->chain[ array_index_list ]";             "chain->chain[ array_index_list ]";
Line 2240 
Line 2246 
     break;     break;
  
   case 34:   case 34:
 #line 783 "CQL.y"  #line 789 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "concat->chain";         CQL_globalParserState->currentRule = "concat->chain";
         CQL_DEBUG_TRACE("BISON::concat->chain\n");         CQL_DEBUG_TRACE("BISON::concat->chain\n");
Line 2250 
Line 2256 
     break;     break;
  
   case 35:   case 35:
 #line 791 "CQL.y"  #line 797 "CQL.y"
     {     {
         CQL_globalParserState->currentRule =         CQL_globalParserState->currentRule =
             "concat->concat || literal_string";             "concat->concat || literal_string";
Line 2340 
Line 2346 
     break;     break;
  
   case 36:   case 36:
 #line 880 "CQL.y"  #line 886 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "factor->concat";         CQL_globalParserState->currentRule = "factor->concat";
         CQL_DEBUG_TRACE("BISON::factor->concat\n");         CQL_DEBUG_TRACE("BISON::factor->concat\n");
Line 2350 
Line 2356 
     break;     break;
  
   case 37:   case 37:
 #line 911 "CQL.y"  #line 917 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "term->factor";         CQL_globalParserState->currentRule = "term->factor";
         CQL_DEBUG_TRACE("BISON::term->factor\n");         CQL_DEBUG_TRACE("BISON::term->factor\n");
Line 2360 
Line 2366 
     break;     break;
  
   case 38:   case 38:
 #line 940 "CQL.y"  #line 946 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "arith->term";         CQL_globalParserState->currentRule = "arith->term";
         CQL_DEBUG_TRACE("BISON::arith->term\n");         CQL_DEBUG_TRACE("BISON::arith->term\n");
Line 2372 
Line 2378 
     break;     break;
  
   case 39:   case 39:
 #line 971 "CQL.y"  #line 977 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "value_symbol->#literal_string";         CQL_globalParserState->currentRule = "value_symbol->#literal_string";
         CQL_DEBUG_TRACE("BISON::value_symbol->#literal_string\n");         CQL_DEBUG_TRACE("BISON::value_symbol->#literal_string\n");
Line 2388 
Line 2394 
     break;     break;
  
   case 40:   case 40:
 #line 986 "CQL.y"  #line 992 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "arith_or_value_symbol->arith";         CQL_globalParserState->currentRule = "arith_or_value_symbol->arith";
         CQL_DEBUG_TRACE("BISON::arith_or_value_symbol->arith\n");         CQL_DEBUG_TRACE("BISON::arith_or_value_symbol->arith\n");
Line 2398 
Line 2404 
     break;     break;
  
   case 41:   case 41:
 #line 993 "CQL.y"  #line 999 "CQL.y"
     {     {
         /* make into predicate */         /* make into predicate */
         CQL_globalParserState->currentRule =         CQL_globalParserState->currentRule =
Line 2411 
Line 2417 
     break;     break;
  
   case 42:   case 42:
 #line 1005 "CQL.y"  #line 1011 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "comp_op->TOK_EQ";         CQL_globalParserState->currentRule = "comp_op->TOK_EQ";
         CQL_DEBUG_TRACE("BISON::comp_op->TOK_EQ\n");         CQL_DEBUG_TRACE("BISON::comp_op->TOK_EQ\n");
Line 2421 
Line 2427 
     break;     break;
  
   case 43:   case 43:
 #line 1012 "CQL.y"  #line 1018 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "comp_op->TOK_NE";         CQL_globalParserState->currentRule = "comp_op->TOK_NE";
         CQL_DEBUG_TRACE("BISON::comp_op->TOK_NE\n");         CQL_DEBUG_TRACE("BISON::comp_op->TOK_NE\n");
Line 2430 
Line 2436 
     break;     break;
  
   case 44:   case 44:
 #line 1018 "CQL.y"  #line 1024 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "comp_op->TOK_GT";         CQL_globalParserState->currentRule = "comp_op->TOK_GT";
         CQL_DEBUG_TRACE("BISON::comp_op->TOK_GT\n");         CQL_DEBUG_TRACE("BISON::comp_op->TOK_GT\n");
Line 2440 
Line 2446 
     break;     break;
  
   case 45:   case 45:
 #line 1025 "CQL.y"  #line 1031 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "comp_op->TOK_LT";         CQL_globalParserState->currentRule = "comp_op->TOK_LT";
         CQL_DEBUG_TRACE("BISON::comp_op->TOK_LT\n");         CQL_DEBUG_TRACE("BISON::comp_op->TOK_LT\n");
Line 2449 
Line 2455 
     break;     break;
  
   case 46:   case 46:
 #line 1031 "CQL.y"  #line 1037 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "comp_op->TOK_GE";         CQL_globalParserState->currentRule = "comp_op->TOK_GE";
         CQL_DEBUG_TRACE("BISON::comp_op->TOK_GE\n");         CQL_DEBUG_TRACE("BISON::comp_op->TOK_GE\n");
Line 2458 
Line 2464 
     break;     break;
  
   case 47:   case 47:
 #line 1037 "CQL.y"  #line 1043 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "comp_op->TOK_LE";         CQL_globalParserState->currentRule = "comp_op->TOK_LE";
         CQL_DEBUG_TRACE("BISON::comp_op->TOK_LE\n");         CQL_DEBUG_TRACE("BISON::comp_op->TOK_LE\n");
Line 2467 
Line 2473 
     break;     break;
  
   case 48:   case 48:
 #line 1045 "CQL.y"  #line 1051 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "comp->arith";         CQL_globalParserState->currentRule = "comp->arith";
         CQL_DEBUG_TRACE("BISON::comp->arith\n");         CQL_DEBUG_TRACE("BISON::comp->arith\n");
Line 2477 
Line 2483 
     break;     break;
  
   case 49:   case 49:
 #line 1052 "CQL.y"  #line 1058 "CQL.y"
     {     {
         CQL_globalParserState->currentRule =         CQL_globalParserState->currentRule =
             "comp->arith TOK_IS TOK_NOT TOK_NULL";             "comp->arith TOK_IS TOK_NOT TOK_NULL";
Line 2492 
Line 2498 
     break;     break;
  
   case 50:   case 50:
 #line 1064 "CQL.y"  #line 1070 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "comp->arith TOK_IS TOK_NULL";         CQL_globalParserState->currentRule = "comp->arith TOK_IS TOK_NULL";
         CQL_DEBUG_TRACE("BISON::comp->arith TOK_IS TOK_NULL\n");         CQL_DEBUG_TRACE("BISON::comp->arith TOK_IS TOK_NULL\n");
Line 2506 
Line 2512 
     break;     break;
  
   case 51:   case 51:
 #line 1075 "CQL.y"  #line 1081 "CQL.y"
     {     {
         CQL_globalParserState->currentRule =         CQL_globalParserState->currentRule =
             "comp->arith comp_op arith_or_value_symbol";             "comp->arith comp_op arith_or_value_symbol";
Line 2539 
Line 2545 
     break;     break;
  
   case 52:   case 52:
 #line 1105 "CQL.y"  #line 1111 "CQL.y"
     {     {
         CQL_globalParserState->currentRule =         CQL_globalParserState->currentRule =
             "comp->value_symbol comp_op arith";             "comp->value_symbol comp_op arith";
Line 2572 
Line 2578 
     break;     break;
  
   case 53:   case 53:
 #line 1135 "CQL.y"  #line 1141 "CQL.y"
     {     {
         /* make sure $1 isSimple(), get its expression, make         /* make sure $1 isSimple(), get its expression, make
            simplepred->predicate            simplepred->predicate
Line 2592 
Line 2598 
     break;     break;
  
   case 54:   case 54:
 #line 1152 "CQL.y"  #line 1158 "CQL.y"
     {     {
         CQL_globalParserState->currentRule =         CQL_globalParserState->currentRule =
             "comp->arith TOK_LIKE literal_string";             "comp->arith TOK_LIKE literal_string";
Line 2610 
Line 2616 
     break;     break;
  
   case 55:   case 55:
 #line 1168 "CQL.y"  #line 1174 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "expr_factor->comp";         CQL_globalParserState->currentRule = "expr_factor->comp";
         CQL_DEBUG_TRACE("BISON::expr_factor->comp\n");         CQL_DEBUG_TRACE("BISON::expr_factor->comp\n");
Line 2620 
Line 2626 
     break;     break;
  
   case 56:   case 56:
 #line 1175 "CQL.y"  #line 1181 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "expr_factor->TOK_NOT comp";         CQL_globalParserState->currentRule = "expr_factor->TOK_NOT comp";
         CQL_DEBUG_TRACE("BISON::expr_factor->TOK_NOT comp\n");         CQL_DEBUG_TRACE("BISON::expr_factor->TOK_NOT comp\n");
Line 2631 
Line 2637 
     break;     break;
  
   case 57:   case 57:
 #line 1185 "CQL.y"  #line 1191 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "expr_term->expr_factor";         CQL_globalParserState->currentRule = "expr_term->expr_factor";
         CQL_DEBUG_TRACE("BISON::expr_term->expr_factor\n");         CQL_DEBUG_TRACE("BISON::expr_term->expr_factor\n");
Line 2641 
Line 2647 
     break;     break;
  
   case 58:   case 58:
 #line 1192 "CQL.y"  #line 1198 "CQL.y"
     {     {
         CQL_globalParserState->currentRule =         CQL_globalParserState->currentRule =
             "expr_term->expr_term AND expr_factor";             "expr_term->expr_term AND expr_factor";
Line 2657 
Line 2663 
     break;     break;
  
   case 59:   case 59:
 #line 1207 "CQL.y"  #line 1213 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "expr->expr_term";         CQL_globalParserState->currentRule = "expr->expr_term";
         CQL_DEBUG_TRACE("BISON::expr->expr_term\n");         CQL_DEBUG_TRACE("BISON::expr->expr_term\n");
Line 2667 
Line 2673 
     break;     break;
  
   case 60:   case 60:
 #line 1214 "CQL.y"  #line 1220 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "expr->expr OR expr_term";         CQL_globalParserState->currentRule = "expr->expr OR expr_term";
         CQL_DEBUG_TRACE("BISON::expr->expr OR expr_term\n");         CQL_DEBUG_TRACE("BISON::expr->expr OR expr_term\n");
Line 2682 
Line 2688 
     break;     break;
  
   case 61:   case 61:
 #line 1227 "CQL.y"  #line 1233 "CQL.y"
     {;;}     {;;}
     break;     break;
  
   case 62:   case 62:
 #line 1247 "CQL.y"  #line 1253 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "arg_list->arg_list_sub->expr";         CQL_globalParserState->currentRule = "arg_list->arg_list_sub->expr";
         CQL_DEBUG_TRACE("BISON::arg_list->arg_list_sub->expr\n");         CQL_DEBUG_TRACE("BISON::arg_list->arg_list_sub->expr\n");
Line 2704 
Line 2710 
     break;     break;
  
   case 63:   case 63:
 #line 1306 "CQL.y"  #line 1312 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "from_specifier->class_path";         CQL_globalParserState->currentRule = "from_specifier->class_path";
         CQL_DEBUG_TRACE("BISON::from_specifier->class_path\n");         CQL_DEBUG_TRACE("BISON::from_specifier->class_path\n");
Line 2714 
Line 2720 
     break;     break;
  
   case 64:   case 64:
 #line 1313 "CQL.y"  #line 1319 "CQL.y"
     {     {
         CQL_globalParserState->currentRule =         CQL_globalParserState->currentRule =
             "from_specifier->class_path TOK_AS identifier";             "from_specifier->class_path TOK_AS identifier";
Line 2729 
Line 2735 
     break;     break;
  
   case 65:   case 65:
 #line 1325 "CQL.y"  #line 1331 "CQL.y"
     {     {
         CQL_globalParserState->currentRule =         CQL_globalParserState->currentRule =
             "from_specifier->class_path identifier";             "from_specifier->class_path identifier";
Line 2743 
Line 2749 
     break;     break;
  
   case 66:   case 66:
 #line 1338 "CQL.y"  #line 1344 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "from_criteria->from_specifier";         CQL_globalParserState->currentRule = "from_criteria->from_specifier";
         CQL_DEBUG_TRACE("BISON::from_criteria->from_specifier\n");         CQL_DEBUG_TRACE("BISON::from_criteria->from_specifier\n");
Line 2751 
Line 2757 
     break;     break;
  
   case 67:   case 67:
 #line 1345 "CQL.y"  #line 1351 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "star_expr->TOK_STAR";         CQL_globalParserState->currentRule = "star_expr->TOK_STAR";
         CQL_DEBUG_TRACE("BISON::star_expr->TOK_STAR\n");         CQL_DEBUG_TRACE("BISON::star_expr->TOK_STAR\n");
Line 2763 
Line 2769 
     break;     break;
  
   case 68:   case 68:
 #line 1354 "CQL.y"  #line 1360 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "star_expr->chain.*";         CQL_globalParserState->currentRule = "star_expr->chain.*";
         CQL_DEBUG_TRACE("BISON::star_expr->chain.*\n");         CQL_DEBUG_TRACE("BISON::star_expr->chain.*\n");
Line 2781 
Line 2787 
     break;     break;
  
   case 69:   case 69:
 #line 1371 "CQL.y"  #line 1377 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "selected_entry->expr";         CQL_globalParserState->currentRule = "selected_entry->expr";
         CQL_DEBUG_TRACE("BISON::selected_entry->expr\n");         CQL_DEBUG_TRACE("BISON::selected_entry->expr\n");
Line 2806 
Line 2812 
     break;     break;
  
   case 70:   case 70:
 #line 1393 "CQL.y"  #line 1399 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "selected_entry->star_expr";         CQL_globalParserState->currentRule = "selected_entry->star_expr";
         CQL_DEBUG_TRACE("BISON::selected_entry->star_expr\n");         CQL_DEBUG_TRACE("BISON::selected_entry->star_expr\n");
Line 2816 
Line 2822 
     break;     break;
  
   case 71:   case 71:
 #line 1402 "CQL.y"  #line 1408 "CQL.y"
     {     {
         CQL_globalParserState->currentRule =         CQL_globalParserState->currentRule =
             "select_list->selected_entry select_list_tail";             "select_list->selected_entry select_list_tail";
Line 2826 
Line 2832 
     break;     break;
  
   case 72:   case 72:
 #line 1410 "CQL.y"  #line 1416 "CQL.y"
     {;;}     {;;}
     break;     break;
  
   case 73:   case 73:
 #line 1413 "CQL.y"  #line 1419 "CQL.y"
     {     {
         CQL_globalParserState->currentRule =         CQL_globalParserState->currentRule =
             "select_list_tail->TOK_COMMA selected_entry select_list_tail";             "select_list_tail->TOK_COMMA selected_entry select_list_tail";
Line 2842 
Line 2848 
     break;     break;
  
   case 74:   case 74:
 #line 1423 "CQL.y"  #line 1429 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "search_condition->expr";         CQL_globalParserState->currentRule = "search_condition->expr";
         CQL_DEBUG_TRACE("BISON::search_condition->expr\n");         CQL_DEBUG_TRACE("BISON::search_condition->expr\n");
Line 2852 
Line 2858 
     break;     break;
  
   case 75:   case 75:
 #line 1431 "CQL.y"  #line 1437 "CQL.y"
     {;}     {;}
     break;     break;
  
   case 76:   case 76:
 #line 1434 "CQL.y"  #line 1440 "CQL.y"
     {     {
         CQL_globalParserState->currentRule =         CQL_globalParserState->currentRule =
             "optional_where->TOK_WHERE search_condition";             "optional_where->TOK_WHERE search_condition";
Line 2869 
Line 2875 
     break;     break;
  
   case 77:   case 77:
 #line 1445 "CQL.y"  #line 1451 "CQL.y"
     {     {
         CQL_globalParserState->currentRule = "select_statement";         CQL_globalParserState->currentRule = "select_statement";
         CQL_DEBUG_TRACE("select_statement\n");         CQL_DEBUG_TRACE("select_statement\n");
Line 2880 
Line 2886 
  
  
 /* Line 1267 of yacc.c.  */ /* Line 1267 of yacc.c.  */
 #line 2883 "CQLtemp"  #line 2889 "CQLtemp"
       default: break;       default: break;
     }     }
   YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);   YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
Line 3094 
Line 3100 
 } }
  
  
 #line 1454 "CQL.y"  #line 1460 "CQL.y"
  
 /*int yyerror(char * err){yyclearin; yyerrok;throw Exception(String(err)); /*int yyerror(char * err){yyclearin; yyerrok;throw Exception(String(err));
 return 1;}*/ return 1;}*/


Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2