lib/ddbcli/ddb-parser.tab.rb in ddbcli-0.3.3 vs lib/ddbcli/ddb-parser.tab.rb in ddbcli-0.3.4

- old
+ new

@@ -12,11 +12,11 @@ module DynamoDB class Parser < Racc::Parser -module_eval(<<'...end ddb-parser.y/module_eval...', 'ddb-parser.y', 537) +module_eval(<<'...end ddb-parser.y/module_eval...', 'ddb-parser.y', 539) KEYWORDS = %w( ADD ALL ALTER @@ -182,212 +182,214 @@ ...end ddb-parser.y/module_eval... ##### State transition tables begin ### racc_action_table = [ - 3, 4, 219, 157, 157, 18, 189, 157, 157, 157, - 21, 52, 260, 19, 20, 159, 159, 52, 112, 159, - 159, 159, 125, 218, 157, 156, 156, 157, 188, 156, - 156, 156, 22, 23, 24, 25, 159, 171, 50, 159, - 26, 157, 172, 169, 50, 131, 156, 113, 52, 156, - 157, 170, 57, 159, 153, 157, 108, 27, 125, 56, - 28, 29, 159, 156, 30, 158, 158, 159, 190, 158, - 158, 158, 156, 157, 72, 50, 25, 156, 199, 52, - 54, 105, 283, 284, 93, 159, 158, 92, 199, 158, - 32, 33, 34, 49, 35, 156, 89, 48, 55, 90, - 195, 89, 115, 158, 90, 47, 50, 228, 89, 229, - 195, 90, 158, 306, 77, 78, 307, 158, 116, 203, - 196, 197, 198, 200, 202, 204, 207, 208, 209, 222, - 196, 197, 198, 200, 118, 158, 36, 37, 119, 38, - 39, 300, 301, 302, 230, 120, 231, 139, 140, 141, - 232, 280, 233, 273, 300, 301, 302, 139, 140, 141, - 315, 121, 316, 139, 140, 141, 167, 272, 168, 273, - 139, 140, 141, 139, 140, 141, 283, 284, 240, 239, - 77, 78, 107, 105, 105, 126, 103, 130, 131, 134, - 135, 136, 137, 103, 100, 144, 145, 146, 131, 148, - 149, 103, 99, 98, 161, 162, 165, 63, 97, 96, - 95, 94, 174, 176, 179, 180, 181, 63, 183, 184, - 87, 63, 130, 84, 194, 85, 210, 211, 212, 213, - 214, 215, 216, 63, 84, 220, 82, 224, 118, 226, - 131, 81, 80, 79, 165, 75, 159, 74, 73, 241, - 243, 244, 245, 246, 247, 248, 179, 70, 69, 252, - 144, 131, 63, 256, 257, 258, 259, 111, 261, 68, - 264, 265, 67, 267, 176, 63, 66, 271, 65, 274, - 64, 63, 63, 61, 279, 60, 59, 285, 286, 287, - 58, 289, 290, 291, 292, 45, 295, 296, 297, 44, - 43, 42, 304, 305, 41, 309, 311, 312, 313, 40, - 31, 317, 318, 319, 170, 172 ] + 3, 4, 220, 160, 160, 18, 191, 160, 160, 160, + 21, 52, 260, 19, 20, 162, 162, 52, 107, 162, + 162, 162, 128, 219, 160, 159, 159, 160, 190, 159, + 159, 159, 22, 23, 24, 25, 162, 173, 50, 162, + 26, 160, 174, 171, 50, 134, 159, 113, 52, 159, + 160, 172, 57, 162, 156, 160, 110, 27, 128, 56, + 28, 29, 162, 159, 30, 161, 161, 162, 192, 161, + 161, 161, 159, 160, 73, 50, 25, 159, 201, 52, + 54, 107, 284, 285, 90, 162, 161, 91, 201, 161, + 32, 33, 34, 49, 35, 159, 90, 48, 55, 91, + 197, 94, 114, 161, 93, 47, 50, 229, 90, 230, + 197, 91, 161, 307, 78, 79, 308, 161, 115, 205, + 198, 199, 200, 202, 204, 206, 209, 210, 211, 223, + 198, 199, 200, 202, 117, 161, 36, 37, 118, 38, + 39, 301, 302, 303, 142, 143, 144, 231, 233, 232, + 234, 273, 119, 274, 301, 302, 303, 142, 143, 144, + 316, 121, 317, 142, 143, 144, 142, 143, 144, 281, + 122, 274, 142, 143, 144, 241, 240, 78, 79, 284, + 285, 123, 124, 105, 107, 102, 129, 105, 133, 134, + 69, 138, 139, 140, 101, 100, 147, 148, 149, 134, + 151, 152, 105, 99, 98, 164, 165, 168, 63, 170, + 95, 97, 96, 95, 176, 178, 181, 182, 183, 63, + 185, 186, 88, 63, 133, 85, 196, 86, 212, 213, + 214, 215, 216, 217, 63, 85, 221, 83, 225, 121, + 227, 134, 82, 81, 80, 168, 76, 162, 75, 74, + 242, 244, 245, 246, 247, 248, 249, 181, 71, 70, + 253, 147, 134, 63, 257, 258, 259, 109, 261, 262, + 69, 265, 266, 67, 268, 178, 63, 66, 272, 65, + 275, 64, 63, 63, 61, 280, 60, 59, 286, 287, + 288, 58, 290, 291, 292, 293, 45, 296, 297, 298, + 44, 43, 42, 305, 306, 41, 310, 312, 313, 314, + 40, 31, 318, 319, 320, 172, 174 ] racc_action_check = [ - 0, 0, 176, 271, 126, 0, 159, 162, 267, 259, - 0, 26, 240, 0, 0, 271, 126, 98, 89, 162, - 267, 259, 127, 176, 201, 271, 126, 203, 159, 162, - 267, 259, 0, 0, 0, 0, 201, 136, 26, 203, - 0, 243, 136, 135, 98, 127, 201, 90, 48, 203, - 221, 135, 28, 243, 126, 222, 82, 0, 101, 28, - 0, 0, 221, 243, 0, 271, 126, 222, 159, 162, - 267, 259, 221, 273, 48, 48, 82, 222, 165, 25, - 27, 101, 279, 279, 67, 273, 201, 67, 179, 203, - 2, 2, 2, 25, 2, 273, 66, 25, 27, 66, - 165, 116, 92, 243, 116, 25, 25, 185, 137, 185, - 179, 137, 221, 303, 79, 79, 303, 222, 93, 165, - 165, 165, 165, 165, 165, 165, 165, 165, 165, 179, - 179, 179, 179, 179, 94, 273, 18, 18, 95, 18, - 18, 297, 297, 297, 186, 96, 186, 309, 309, 309, - 187, 277, 187, 277, 296, 296, 296, 295, 295, 295, - 310, 97, 310, 115, 115, 115, 133, 262, 133, 262, - 248, 248, 248, 291, 291, 291, 285, 285, 204, 204, - 54, 54, 81, 100, 80, 103, 104, 105, 107, 108, - 112, 113, 114, 76, 75, 117, 118, 119, 120, 121, - 122, 125, 74, 73, 128, 130, 131, 132, 72, 71, - 70, 69, 138, 143, 144, 145, 146, 147, 148, 149, - 65, 160, 161, 64, 163, 63, 167, 168, 169, 170, - 171, 172, 174, 175, 62, 177, 58, 180, 181, 183, - 184, 57, 56, 55, 194, 53, 202, 51, 49, 209, - 210, 212, 213, 214, 215, 216, 220, 47, 46, 224, - 225, 226, 227, 229, 231, 233, 237, 84, 242, 43, - 244, 246, 42, 251, 253, 254, 40, 261, 39, 266, - 37, 268, 36, 35, 274, 34, 31, 281, 283, 284, - 29, 286, 287, 289, 290, 24, 292, 293, 294, 23, - 22, 21, 298, 302, 20, 304, 305, 306, 307, 19, - 1, 312, 313, 316, 317, 318 ] + 0, 0, 178, 272, 129, 0, 162, 165, 268, 260, + 0, 26, 238, 0, 0, 272, 129, 100, 81, 165, + 268, 260, 130, 178, 203, 272, 129, 205, 162, 165, + 268, 260, 0, 0, 0, 0, 203, 139, 26, 205, + 0, 244, 139, 138, 100, 130, 203, 85, 48, 205, + 222, 138, 28, 244, 129, 223, 83, 0, 103, 28, + 0, 0, 222, 244, 0, 272, 129, 223, 162, 165, + 268, 260, 222, 274, 48, 48, 83, 223, 168, 25, + 27, 103, 280, 280, 140, 274, 203, 140, 181, 205, + 2, 2, 2, 25, 2, 274, 66, 25, 27, 66, + 168, 67, 90, 244, 67, 25, 25, 187, 118, 187, + 181, 118, 222, 304, 54, 54, 304, 223, 91, 168, + 168, 168, 168, 168, 168, 168, 168, 168, 168, 181, + 181, 181, 181, 181, 93, 274, 18, 18, 94, 18, + 18, 298, 298, 298, 249, 249, 249, 188, 189, 188, + 189, 263, 95, 263, 297, 297, 297, 296, 296, 296, + 311, 96, 311, 292, 292, 292, 117, 117, 117, 278, + 97, 278, 310, 310, 310, 206, 206, 80, 80, 286, + 286, 98, 99, 77, 102, 76, 105, 106, 107, 109, + 110, 114, 115, 116, 75, 74, 120, 121, 122, 123, + 124, 125, 128, 73, 72, 131, 133, 134, 135, 136, + 137, 71, 70, 68, 141, 146, 147, 148, 149, 150, + 151, 152, 65, 163, 164, 64, 166, 63, 170, 171, + 172, 173, 174, 176, 177, 62, 179, 58, 182, 183, + 185, 186, 57, 56, 55, 196, 53, 204, 51, 49, + 211, 212, 213, 214, 215, 216, 217, 221, 47, 46, + 225, 226, 227, 228, 230, 232, 234, 82, 241, 243, + 43, 245, 247, 42, 252, 254, 255, 40, 262, 39, + 267, 37, 269, 36, 35, 275, 34, 31, 282, 284, + 285, 29, 287, 288, 290, 291, 24, 293, 294, 295, + 23, 22, 21, 299, 303, 20, 305, 306, 307, 308, + 19, 1, 313, 314, 317, 318, 319 ] racc_action_pointer = [ - -2, 310, 88, nil, nil, nil, nil, nil, nil, nil, - nil, nil, nil, nil, nil, nil, nil, nil, 128, 300, - 291, 292, 291, 286, 282, 66, -2, 67, 21, 226, - nil, 286, nil, nil, 280, 278, 224, 270, nil, 269, - 263, nil, 259, 256, nil, nil, 220, 240, 35, 207, - nil, 227, nil, 207, 120, 230, 229, 203, 223, nil, - nil, nil, 220, 198, 209, 207, 71, 70, nil, 198, - 170, 171, 191, 176, 189, 181, 180, nil, nil, 54, - 141, 169, 39, nil, 262, nil, nil, nil, nil, -8, - 21, nil, 89, 105, 118, 120, 132, 121, 4, nil, - 140, 38, nil, 159, 173, 174, nil, 145, 176, nil, - nil, nil, 163, 164, 174, 141, 76, 152, 167, 159, - 155, 181, 162, nil, nil, 188, -1, 2, 160, nil, - 179, 193, 149, 148, nil, 23, 17, 83, 193, nil, - nil, nil, nil, 157, 201, 198, 203, 159, 180, 206, - nil, nil, nil, nil, nil, nil, nil, nil, nil, 1, - 163, 209, 2, 180, nil, 74, nil, 161, 214, 200, - 203, 205, 205, nil, 212, 175, -34, 191, nil, 84, - 224, 222, nil, 226, 197, 89, 126, 132, nil, nil, - nil, nil, nil, nil, 231, nil, nil, nil, nil, nil, - nil, 19, 229, 22, 124, nil, nil, nil, nil, 196, - 233, nil, 225, 225, 227, 227, 242, nil, nil, nil, - 243, 45, 50, nil, 241, 217, 218, 204, nil, 236, - nil, 259, nil, 198, nil, nil, nil, 222, nil, nil, - -43, nil, 248, 36, 243, nil, 244, nil, 148, nil, - nil, 229, nil, 218, 217, nil, nil, nil, nil, 4, - nil, 260, 149, nil, nil, nil, 258, 3, 223, nil, - nil, -2, nil, 68, 264, nil, nil, 133, nil, 53, - nil, 267, nil, 275, 260, 147, 274, 279, nil, 280, - 277, 151, 283, 279, 280, 135, 123, 110, 282, nil, - nil, nil, 286, 88, 292, 293, 281, 282, nil, 125, - 142, nil, 284, 285, nil, nil, 300, 286, 290, nil ] + -2, 311, 88, nil, nil, nil, nil, nil, nil, nil, + nil, nil, nil, nil, nil, nil, nil, nil, 128, 301, + 292, 293, 292, 287, 283, 66, -2, 67, 21, 227, + nil, 287, nil, nil, 281, 279, 225, 271, nil, 270, + 264, nil, 260, 257, nil, nil, 221, 241, 35, 208, + nil, 228, nil, 208, 54, 231, 230, 204, 224, nil, + nil, nil, 221, 200, 211, 209, 71, 87, 193, nil, + 199, 171, 166, 186, 168, 181, 172, 170, nil, nil, + 117, -25, 254, 39, nil, 42, nil, nil, nil, nil, + 76, 92, nil, 121, 125, 139, 145, 152, 168, 142, + 4, nil, 141, 38, nil, 160, 174, 175, nil, 146, + 177, nil, nil, nil, 164, 165, 175, 144, 83, nil, + 153, 168, 160, 156, 182, 163, nil, nil, 189, -1, + 2, 161, nil, 180, 194, 150, 191, 190, 23, 17, + 59, 195, nil, nil, nil, nil, 159, 203, 200, 205, + 161, 182, 208, nil, nil, nil, nil, nil, nil, nil, + nil, nil, 1, 165, 211, 2, 182, nil, 74, nil, + 163, 201, 204, 206, 206, nil, 213, 176, -34, 192, + nil, 84, 225, 223, nil, 227, 198, 89, 129, 130, + nil, nil, nil, nil, nil, nil, 232, nil, nil, nil, + nil, nil, nil, 19, 230, 22, 121, nil, nil, nil, + nil, 197, 234, 226, 226, 228, 228, 243, nil, nil, + nil, 244, 45, 50, nil, 242, 218, 219, 205, nil, + 237, nil, 260, nil, 199, nil, nil, nil, -32, nil, + nil, 213, nil, 249, 36, 244, nil, 245, nil, 122, + nil, nil, 230, nil, 219, 218, nil, nil, nil, nil, + 4, nil, 261, 133, nil, nil, nil, 259, 3, 224, + nil, nil, -2, nil, 68, 265, nil, nil, 151, nil, + 53, nil, 268, nil, 276, 261, 150, 275, 280, nil, + 281, 278, 141, 284, 280, 281, 135, 123, 110, 283, + nil, nil, nil, 287, 88, 293, 294, 282, 283, nil, + 150, 142, nil, 285, 286, nil, nil, 301, 287, 291, + nil ] racc_action_default = [ - -142, -142, -1, -6, -7, -8, -9, -10, -11, -12, - -13, -14, -15, -16, -17, -18, -19, -20, -142, -142, - -142, -142, -142, -142, -142, -142, -142, -142, -142, -142, - -125, -142, -2, -3, -142, -142, -101, -142, -23, -142, - -142, -28, -142, -142, -56, -57, -142, -142, -142, -142, - -64, -65, -66, -142, -142, -142, -142, -142, -142, 320, - -4, -5, -25, -142, -25, -142, -142, -142, -55, -142, - -142, -142, -142, -142, -142, -142, -142, -105, -106, -142, - -142, -142, -142, -21, -142, -102, -22, -24, -27, -142, - -142, -40, -142, -142, -68, -142, -142, -142, -142, -67, - -142, -142, -107, -142, -142, -142, -114, -83, -142, -117, - -118, -26, -142, -142, -142, -142, -30, -70, -142, -142, - -83, -142, -142, -63, -103, -142, -142, -83, -110, -111, - -142, -142, -101, -142, -119, -142, -142, -142, -142, -35, - -36, -37, -31, -98, -142, -142, -142, -101, -142, -142, - -108, -109, -126, -127, -128, -129, -130, -131, -132, -142, - -101, -142, -142, -84, -85, -142, -115, -142, -142, -142, - -142, -142, -142, -29, -32, -101, -142, -71, -72, -142, - -142, -68, -60, -142, -83, -142, -142, -142, -136, -138, - -140, -104, -112, -113, -142, -77, -78, -79, -80, -81, - -82, -142, -142, -142, -142, -91, -92, -93, -94, -142, - -142, -120, -142, -142, -142, -142, -142, -58, -99, -100, - -142, -142, -142, -76, -142, -70, -83, -101, -133, -142, - -134, -142, -135, -142, -86, -87, -88, -142, -90, -96, - -142, -95, -116, -142, -142, -41, -142, -42, -142, -73, - -74, -142, -69, -98, -101, -62, -137, -139, -141, -142, - -97, -142, -142, -123, -38, -39, -142, -142, -101, -61, - -89, -142, -121, -142, -33, -75, -59, -142, -124, -142, - -122, -34, -43, -142, -142, -142, -142, -142, -44, -142, - -142, -142, -142, -142, -142, -142, -142, -142, -48, -45, - -50, -51, -142, -46, -142, -142, -142, -142, -47, -142, - -142, -53, -142, -142, -49, -52, -142, -142, -142, -54 ] + -143, -143, -1, -6, -7, -8, -9, -10, -11, -12, + -13, -14, -15, -16, -17, -18, -19, -20, -143, -143, + -143, -143, -143, -143, -143, -143, -143, -143, -143, -143, + -124, -143, -2, -3, -143, -143, -101, -143, -23, -143, + -143, -28, -143, -143, -56, -57, -143, -143, -143, -143, + -64, -65, -66, -143, -143, -143, -143, -143, -143, 321, + -4, -5, -25, -143, -25, -143, -143, -143, -55, -141, + -143, -143, -143, -143, -143, -143, -143, -143, -105, -106, + -143, -143, -143, -143, -21, -143, -102, -22, -24, -27, + -143, -143, -40, -143, -143, -143, -68, -143, -143, -143, + -143, -67, -143, -143, -107, -143, -143, -143, -114, -83, + -143, -117, -118, -26, -143, -143, -143, -143, -30, -142, + -70, -143, -143, -83, -143, -143, -63, -103, -143, -143, + -83, -110, -111, -143, -143, -101, -143, -119, -143, -143, + -143, -143, -35, -36, -37, -31, -98, -143, -143, -143, + -101, -143, -143, -108, -109, -125, -126, -127, -128, -129, + -130, -131, -143, -101, -143, -143, -84, -85, -143, -115, + -143, -143, -143, -143, -143, -29, -32, -101, -143, -71, + -72, -143, -143, -68, -60, -143, -83, -143, -143, -143, + -135, -137, -139, -104, -112, -113, -143, -77, -78, -79, + -80, -81, -82, -143, -143, -143, -143, -91, -92, -93, + -94, -143, -143, -143, -143, -143, -143, -143, -58, -99, + -100, -143, -143, -143, -76, -143, -70, -83, -101, -132, + -143, -133, -143, -134, -143, -86, -87, -88, -143, -90, + -96, -143, -95, -116, -143, -143, -41, -143, -42, -143, + -73, -74, -143, -69, -98, -101, -62, -136, -138, -140, + -143, -97, -143, -143, -122, -38, -39, -143, -143, -101, + -61, -89, -143, -120, -143, -33, -75, -59, -143, -123, + -143, -121, -34, -43, -143, -143, -143, -143, -143, -44, + -143, -143, -143, -143, -143, -143, -143, -143, -143, -48, + -45, -50, -51, -143, -46, -143, -143, -143, -143, -47, + -143, -143, -53, -143, -143, -49, -52, -143, -143, -143, + -54 ] racc_goto_table = [ - 62, 138, 152, 132, 175, 143, 117, 12, 11, 178, - 46, 53, 164, 88, 129, 101, 147, 262, 205, 76, - 106, 282, 83, 160, 86, 299, 303, 288, 1, 281, - 294, 310, 223, 71, 114, 308, 17, 16, 193, 15, - 123, 124, 14, 127, 104, 277, 177, 13, 221, 10, - 9, 163, 8, 201, 236, 238, 206, 7, 6, 150, - 151, 128, 5, 142, 133, 242, 2, 185, 186, 187, - 192, nil, nil, nil, nil, 234, nil, 235, nil, 237, - 227, nil, nil, 122, 173, 249, nil, nil, nil, 110, - 109, nil, nil, 225, nil, nil, 166, 250, 251, nil, + 62, 141, 177, 155, 135, 146, 120, 11, 12, 46, + 53, 180, 89, 68, 167, 132, 103, 77, 150, 263, + 108, 207, 283, 1, 84, 163, 87, 295, 289, 300, + 304, 311, 72, 282, 224, 116, 309, 17, 16, 195, + 15, 126, 127, 106, 14, 130, 179, 278, 13, 222, + 10, 9, 166, 8, 203, 237, 239, 208, 7, 6, + 153, 154, 131, 5, 145, 136, 243, 2, 187, 188, + 189, nil, 194, nil, nil, nil, 235, 236, nil, 238, + 137, 228, nil, nil, 125, 250, 175, nil, nil, nil, + 111, 112, nil, 226, nil, nil, 251, 252, nil, 169, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, - nil, 182, nil, 253, 268, nil, nil, nil, nil, nil, - nil, nil, 254, nil, 191, nil, nil, nil, nil, nil, - nil, nil, nil, nil, 266, 270, nil, nil, nil, 217, - nil, nil, nil, 275, nil, nil, nil, nil, nil, 278, + 269, 254, nil, nil, 184, nil, nil, nil, nil, nil, + nil, nil, 255, nil, nil, nil, nil, 193, nil, nil, + nil, nil, nil, 267, 271, nil, nil, nil, nil, nil, + nil, 218, 276, nil, nil, nil, nil, nil, 279, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, - nil, nil, nil, nil, nil, nil, nil, 293, nil, nil, - nil, 298, nil, nil, nil, nil, nil, nil, nil, nil, - nil, 255, nil, nil, nil, 314, nil, nil, nil, nil, + nil, nil, nil, nil, nil, nil, 294, nil, nil, nil, + 299, nil, nil, nil, nil, nil, nil, nil, nil, nil, + nil, nil, 256, nil, 315, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, - nil, nil, nil, nil, nil, nil, nil, nil, 269, nil, + nil, nil, nil, nil, nil, nil, nil, nil, nil, 270, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, - nil, nil, 276 ] + nil, nil, nil, 277 ] racc_goto_check = [ - 16, 20, 37, 31, 30, 29, 28, 10, 9, 35, - 27, 27, 40, 18, 50, 46, 31, 53, 38, 45, - 32, 23, 17, 31, 17, 24, 24, 23, 1, 21, - 25, 26, 38, 27, 19, 22, 15, 14, 37, 13, - 32, 32, 12, 46, 45, 53, 34, 11, 36, 8, - 7, 39, 6, 41, 42, 43, 44, 5, 4, 47, - 48, 49, 3, 18, 51, 52, 2, 55, 56, 57, - 50, nil, nil, nil, nil, 40, nil, 37, nil, 37, - 31, nil, nil, 27, 18, 35, nil, nil, nil, 10, - 9, nil, nil, 28, nil, nil, 16, 37, 37, nil, + 16, 20, 31, 38, 32, 30, 29, 9, 10, 28, + 28, 36, 18, 27, 41, 51, 47, 46, 32, 54, + 33, 39, 23, 1, 17, 32, 17, 25, 23, 24, + 24, 26, 28, 21, 39, 19, 22, 15, 14, 38, + 13, 33, 33, 46, 12, 47, 35, 54, 11, 37, + 8, 7, 40, 6, 42, 43, 44, 45, 5, 4, + 48, 49, 50, 3, 18, 52, 53, 2, 56, 57, + 58, nil, 51, nil, nil, nil, 41, 38, nil, 38, + 27, 32, nil, nil, 28, 36, 18, nil, nil, nil, + 9, 10, nil, 29, nil, nil, 38, 38, nil, 16, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, - nil, 16, nil, 29, 30, nil, nil, nil, nil, nil, - nil, nil, 31, nil, 16, nil, nil, nil, nil, nil, - nil, nil, nil, nil, 20, 37, nil, nil, nil, 16, - nil, nil, nil, 37, nil, nil, nil, nil, nil, 37, + 31, 30, nil, nil, 16, nil, nil, nil, nil, nil, + nil, nil, 32, nil, nil, nil, nil, 16, nil, nil, + nil, nil, nil, 20, 38, nil, nil, nil, nil, nil, + nil, 16, 38, nil, nil, nil, nil, nil, 38, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, - nil, nil, nil, nil, nil, nil, nil, 20, nil, nil, - nil, 20, nil, nil, nil, nil, nil, nil, nil, nil, - nil, 16, nil, nil, nil, 20, nil, nil, nil, nil, + nil, nil, nil, nil, nil, nil, 20, nil, nil, nil, + 20, nil, nil, nil, nil, nil, nil, nil, nil, nil, + nil, nil, 16, nil, 20, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, - nil, nil, nil, nil, nil, nil, nil, nil, 16, nil, + nil, nil, nil, nil, nil, nil, nil, nil, nil, 16, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, - nil, nil, 16 ] + nil, nil, nil, 16 ] racc_goto_pointer = [ - nil, 28, 66, 62, 58, 57, 52, 50, 49, 8, - 7, 47, 42, 39, 37, 36, -36, -40, -53, -58, - -114, -250, -268, -258, -271, -262, -274, -15, -88, -112, - -139, -104, -60, nil, -98, -135, -131, -124, -147, -80, - -119, -112, -148, -149, -109, -35, -61, -66, -66, -44, - -91, -44, -145, -226, nil, -92, -91, -90 ] + nil, 23, 67, 63, 59, 58, 53, 51, 50, 7, + 8, 48, 44, 40, 38, 37, -36, -38, -54, -58, + -116, -247, -268, -258, -268, -266, -275, -30, -16, -90, + -115, -144, -105, -61, nil, -101, -136, -132, -126, -147, + -82, -120, -114, -149, -150, -111, -37, -61, -68, -68, + -45, -92, -45, -146, -225, nil, -94, -93, -92 ] racc_goto_default = [ nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, - nil, nil, 91, nil, nil, nil, nil, nil, nil, nil, - nil, nil, nil, 51, nil, nil, nil, 263, nil, nil, - nil, nil, 155, nil, nil, nil, nil, 102, nil, nil, - nil, nil, nil, nil, 154, nil, nil, nil ] + nil, nil, 92, nil, nil, nil, nil, nil, nil, nil, + nil, nil, nil, nil, 51, nil, nil, nil, 264, nil, + nil, nil, nil, 158, nil, nil, nil, nil, 104, nil, + nil, nil, nil, nil, nil, 157, nil, nil, nil ] racc_reduce_table = [ 0, 0, :racc_error, 1, 69, :_reduce_1, 2, 69, :_reduce_2, @@ -450,92 +452,93 @@ 11, 77, :_reduce_59, 7, 78, :_reduce_60, 10, 78, :_reduce_61, 9, 78, :_reduce_62, 5, 79, :_reduce_63, - 1, 95, :_reduce_64, - 1, 95, :_reduce_65, - 1, 101, :_reduce_66, - 3, 101, :_reduce_67, - 0, 96, :_reduce_none, - 5, 96, :_reduce_69, + 1, 96, :_reduce_64, + 1, 96, :_reduce_65, + 1, 102, :_reduce_66, + 3, 102, :_reduce_67, 0, 97, :_reduce_none, - 2, 97, :_reduce_71, - 1, 102, :_reduce_72, - 3, 102, :_reduce_73, - 3, 103, :_reduce_74, - 5, 103, :_reduce_75, - 1, 104, :_reduce_none, - 1, 106, :_reduce_77, - 1, 106, :_reduce_78, - 1, 106, :_reduce_79, - 1, 106, :_reduce_80, - 1, 106, :_reduce_81, - 1, 106, :_reduce_none, - 0, 99, :_reduce_none, - 2, 99, :_reduce_84, - 1, 107, :_reduce_85, - 3, 107, :_reduce_86, - 3, 108, :_reduce_87, - 3, 108, :_reduce_88, - 5, 108, :_reduce_89, - 3, 108, :_reduce_90, - 1, 109, :_reduce_none, - 1, 109, :_reduce_none, - 1, 109, :_reduce_93, - 1, 112, :_reduce_none, - 2, 112, :_reduce_95, - 1, 111, :_reduce_96, - 2, 111, :_reduce_97, + 5, 97, :_reduce_69, 0, 98, :_reduce_none, - 2, 98, :_reduce_99, - 2, 98, :_reduce_100, + 2, 98, :_reduce_71, + 1, 103, :_reduce_72, + 3, 103, :_reduce_73, + 3, 104, :_reduce_74, + 5, 104, :_reduce_75, + 1, 105, :_reduce_none, + 1, 107, :_reduce_77, + 1, 107, :_reduce_78, + 1, 107, :_reduce_79, + 1, 107, :_reduce_80, + 1, 107, :_reduce_81, + 1, 107, :_reduce_none, + 0, 100, :_reduce_none, + 2, 100, :_reduce_84, + 1, 108, :_reduce_85, + 3, 108, :_reduce_86, + 3, 109, :_reduce_87, + 3, 109, :_reduce_88, + 5, 109, :_reduce_89, + 3, 109, :_reduce_90, + 1, 110, :_reduce_none, + 1, 110, :_reduce_none, + 1, 110, :_reduce_93, + 1, 113, :_reduce_none, + 2, 113, :_reduce_95, + 1, 112, :_reduce_96, + 2, 112, :_reduce_97, + 0, 99, :_reduce_none, + 2, 99, :_reduce_99, + 2, 99, :_reduce_100, 0, 84, :_reduce_none, 2, 84, :_reduce_102, 5, 80, :_reduce_103, 7, 80, :_reduce_104, - 1, 113, :_reduce_105, - 1, 113, :_reduce_106, - 1, 114, :_reduce_107, - 3, 114, :_reduce_108, - 3, 115, :_reduce_109, - 2, 100, :_reduce_110, - 1, 117, :_reduce_111, - 3, 117, :_reduce_112, - 3, 118, :_reduce_113, + 1, 114, :_reduce_105, + 1, 114, :_reduce_106, + 1, 115, :_reduce_107, + 3, 115, :_reduce_108, + 3, 116, :_reduce_109, + 2, 101, :_reduce_110, + 1, 118, :_reduce_111, + 3, 118, :_reduce_112, + 3, 119, :_reduce_113, 4, 81, :_reduce_114, 6, 81, :_reduce_115, 8, 82, :_reduce_116, 4, 82, :_reduce_117, 4, 82, :_reduce_118, - 1, 119, :_reduce_119, - 3, 119, :_reduce_120, - 3, 120, :_reduce_121, - 5, 120, :_reduce_122, - 1, 121, :_reduce_123, - 3, 121, :_reduce_124, - 1, 83, :_reduce_125, - 1, 116, :_reduce_none, - 1, 116, :_reduce_none, - 1, 105, :_reduce_none, - 1, 105, :_reduce_none, - 1, 122, :_reduce_none, - 1, 122, :_reduce_none, - 1, 122, :_reduce_none, - 3, 110, :_reduce_133, - 3, 110, :_reduce_134, - 3, 110, :_reduce_135, - 1, 123, :_reduce_136, - 3, 123, :_reduce_137, - 1, 124, :_reduce_138, - 3, 124, :_reduce_139, - 1, 125, :_reduce_140, - 3, 125, :_reduce_141 ] + 1, 120, :_reduce_none, + 3, 121, :_reduce_120, + 5, 121, :_reduce_121, + 1, 122, :_reduce_122, + 3, 122, :_reduce_123, + 1, 83, :_reduce_124, + 1, 117, :_reduce_none, + 1, 117, :_reduce_none, + 1, 106, :_reduce_none, + 1, 106, :_reduce_none, + 1, 123, :_reduce_none, + 1, 123, :_reduce_none, + 1, 123, :_reduce_none, + 3, 111, :_reduce_132, + 3, 111, :_reduce_133, + 3, 111, :_reduce_134, + 1, 124, :_reduce_135, + 3, 124, :_reduce_136, + 1, 125, :_reduce_137, + 3, 125, :_reduce_138, + 1, 126, :_reduce_139, + 3, 126, :_reduce_140, + 1, 95, :_reduce_141, + 3, 95, :_reduce_142 ] -racc_reduce_n = 142 +racc_reduce_n = 143 -racc_shift_n = 320 +racc_shift_n = 321 racc_token_table = { false => 0, :error => 1, :RUBY_SCRIPT => 2, @@ -719,10 +722,11 @@ "strict_capacity_clause", "index_definition", "index_type_definition", "global_index_keys", "index_include_attr_list", + "identifier_list", "attrs_to_get", "use_index_clause", "select_where_clause", "order_clause", "scan_where_clause", @@ -1065,11 +1069,11 @@ end .,., module_eval(<<'.,.,', 'ddb-parser.y', 195) def _reduce_55(val, _values) - struct(:DROP, :table => val[2]) + struct(:DROP, :tables => val[2]) end .,., module_eval(<<'.,.,', 'ddb-parser.y', 200) @@ -1461,59 +1465,49 @@ struct(:INSERT_SCAN, :table => val[2], :select => val[3]) end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 449) - def _reduce_119(val, _values) - [val[0]] - - end -.,., +# reduce 119 omitted -module_eval(<<'.,.,', 'ddb-parser.y', 453) +module_eval(<<'.,.,', 'ddb-parser.y', 451) def _reduce_120(val, _values) - val[0] + [val[2]] - - end -.,., - -module_eval(<<'.,.,', 'ddb-parser.y', 458) - def _reduce_121(val, _values) [val[1]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 462) - def _reduce_122(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 455) + def _reduce_121(val, _values) val[0] + [val[3]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 467) - def _reduce_123(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 460) + def _reduce_122(val, _values) [val[0]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 471) - def _reduce_124(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 464) + def _reduce_123(val, _values) val[0] + [val[2]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 476) - def _reduce_125(val, _values) +module_eval(<<'.,.,', 'ddb-parser.y', 469) + def _reduce_124(val, _values) struct(:NEXT) end .,., +# reduce 125 omitted + # reduce 126 omitted # reduce 127 omitted # reduce 128 omitted @@ -1522,71 +1516,83 @@ # reduce 130 omitted # reduce 131 omitted -# reduce 132 omitted +module_eval(<<'.,.,', 'ddb-parser.y', 483) + def _reduce_132(val, _values) + val[1] + + end +.,., -module_eval(<<'.,.,', 'ddb-parser.y', 490) +module_eval(<<'.,.,', 'ddb-parser.y', 487) def _reduce_133(val, _values) val[1] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 494) +module_eval(<<'.,.,', 'ddb-parser.y', 491) def _reduce_134(val, _values) val[1] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 498) +module_eval(<<'.,.,', 'ddb-parser.y', 496) def _reduce_135(val, _values) - val[1] - + [val[0]] + end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 503) +module_eval(<<'.,.,', 'ddb-parser.y', 500) def _reduce_136(val, _values) - [val[0]] + val[0] + [val[2]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 507) +module_eval(<<'.,.,', 'ddb-parser.y', 505) def _reduce_137(val, _values) - val[0] + [val[2]] + [val[0]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 512) +module_eval(<<'.,.,', 'ddb-parser.y', 509) def _reduce_138(val, _values) - [val[0]] + val[0] + [val[2]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 516) +module_eval(<<'.,.,', 'ddb-parser.y', 514) def _reduce_139(val, _values) - val[0] + [val[2]] + [val[0]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 521) +module_eval(<<'.,.,', 'ddb-parser.y', 518) def _reduce_140(val, _values) - [val[0]] + val[0] + [val[2]] end .,., -module_eval(<<'.,.,', 'ddb-parser.y', 525) +module_eval(<<'.,.,', 'ddb-parser.y', 523) def _reduce_141(val, _values) - val[0] + [val[2]] - + [val[0]] + + end +.,., + +module_eval(<<'.,.,', 'ddb-parser.y', 527) + def _reduce_142(val, _values) + val[0] + [val[2]] + end .,., def _reduce_none(val, _values) val[0]