preproc.c
上传用户:blenddy
上传日期:2007-01-07
资源大小:6495k
文件大小:764k
- 211, 212, 213, 214, 215, 216, 217, 218, 219, 220,
- 221, 222, 223, 224, 225, 226, 227, 228, 229, 230,
- 231, 232, 233, 234, 235, 236, 237, 238, 239, -1,
- 241, -1, 243, 244, 245, 246, 247, 248, 249, 250,
- 251, 252, 253, 254, -1, 256, -1, 258, 259, 260,
- 261, 262, 263, 264, 265, 266, 267, 268, 269, 270,
- 271, 272, 273, 274, 275, 276, -1, 278, 279, 280,
- 281, 282, -1, 3, 285, 5, 6, 7, 8, -1,
- 10, 11, 12, -1, 14, -1, 16, 17, 18, 19,
- 20, 21, 22, 23, 24, 25, 26, -1, 28, 29,
- 30, 31, 32, 33, -1, 35, 36, 37, 38, 39,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 61, 62, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 77, 78, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 94, 95, -1, -1, -1, -1,
- -1, 101, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 111, -1, -1, -1, -1, -1, -1, -1, -1,
- 120, -1, -1, 123, -1, -1, -1, -1, -1, -1,
- -1, 131, 132, -1, -1, -1, -1, -1, 138, 139,
- 140, -1, 142, -1, 144, 145, -1, -1, -1, -1,
- 150, 151, -1, 153, 154, -1, -1, -1, -1, -1,
- -1, -1, 162, 163, -1, -1, 166, -1, 168, -1,
- -1, -1, 172, 173, -1, -1, -1, -1, -1, -1,
- -1, 181, 182, 183, 184, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 196, -1, -1, -1,
- -1, -1, -1, 203, 204, 205, 206, 207, 208, -1,
- 210, 211, 212, -1, 214, 215, -1, 217, -1, -1,
- 220, 221, 222, 223, 224, -1, 226, 227, 228, -1,
- -1, 231, 232, 233, 234, 235, 236, 237, 238, 239,
- -1, -1, -1, -1, 244, -1, 246, 247, 248, -1,
- -1, 251, 252, -1, 254, -1, 256, -1, 258, 259,
- 260, 261, 262, -1, 264, 265, 266, 267, 268, -1,
- 270, -1, 272, 273, 274, 275, 276, -1, -1, 279,
- -1, 281, 282, -1, 3, 285, 5, 6, 7, 8,
- -1, 10, 11, 12, -1, 14, -1, 16, 17, 18,
- 19, 20, 21, 22, 23, 24, 25, 26, -1, 28,
- 29, 30, 31, 32, 33, -1, 35, 36, 37, 38,
- 39, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 61, 62, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 79, -1, -1, -1, -1, -1, 85, -1, -1, -1,
- -1, -1, -1, -1, -1, 94, -1, -1, -1, -1,
- -1, -1, 101, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 113, -1, -1, -1, -1, -1,
- -1, 120, -1, -1, 123, -1, -1, -1, -1, -1,
- -1, -1, 131, 132, -1, -1, -1, -1, -1, 138,
- 139, 140, -1, -1, -1, -1, 145, -1, -1, -1,
- -1, -1, 151, -1, 153, 154, -1, -1, -1, -1,
- -1, -1, 161, 162, 163, -1, -1, 166, -1, 168,
- -1, -1, -1, 172, 173, -1, -1, -1, -1, -1,
- -1, -1, 181, 182, 183, 184, -1, -1, -1, -1,
- -1, -1, 191, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 203, 204, 205, 206, 207, 208,
- -1, 210, 211, 212, -1, 214, 215, -1, 217, -1,
- -1, 220, 221, 222, 223, 224, -1, 226, 227, 228,
- -1, -1, 231, 232, 233, 234, 235, 236, 237, 238,
- 239, -1, -1, -1, -1, 244, -1, 246, 247, 248,
- -1, -1, 251, 252, -1, 254, -1, 256, -1, 258,
- 259, 260, 261, 262, -1, 264, 265, 266, 267, 268,
- -1, 270, -1, 272, 273, 274, 275, 276, -1, -1,
- 279, -1, 281, 282, -1, -1, 285, 3, 4, 5,
- 6, 7, 8, 9, 10, 11, 12, -1, 14, -1,
- 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
- 26, -1, 28, 29, 30, 31, 32, 33, -1, 35,
- 36, 37, 38, 39, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 61, 62, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 94, -1,
- -1, -1, -1, -1, -1, 101, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 120, -1, -1, 123, -1, -1,
- -1, -1, -1, -1, -1, 131, 132, -1, -1, -1,
- -1, -1, 138, 139, 140, 141, -1, -1, -1, 145,
- -1, -1, -1, -1, -1, 151, -1, 153, 154, -1,
- -1, -1, -1, -1, -1, -1, 162, 163, -1, -1,
- 166, -1, 168, -1, -1, -1, 172, 173, -1, -1,
- -1, -1, -1, -1, -1, 181, 182, 183, 184, -1,
- -1, 187, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 203, 204, 205,
- 206, 207, 208, -1, 210, 211, 212, -1, 214, 215,
- -1, 217, -1, -1, 220, 221, 222, 223, 224, -1,
- 226, 227, 228, -1, -1, 231, 232, 233, 234, 235,
- 236, 237, 238, 239, -1, -1, -1, -1, 244, -1,
- 246, 247, 248, -1, -1, 251, 252, -1, 254, -1,
- 256, -1, 258, 259, 260, 261, 262, -1, 264, 265,
- 266, 267, 268, -1, 270, -1, 272, 273, 274, 275,
- 276, -1, -1, 279, -1, 281, 282, -1, 3, 285,
- 5, 6, 7, 8, -1, 10, 11, 12, -1, 14,
- -1, 16, 17, 18, 19, 20, 21, 22, 23, 24,
- 25, 26, -1, 28, 29, 30, 31, 32, 33, -1,
- 35, 36, 37, 38, 39, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 61, 62, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 88, -1, -1, -1, -1, -1, 94,
- -1, -1, -1, -1, -1, -1, 101, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 120, -1, -1, 123, -1,
- -1, -1, -1, -1, -1, -1, 131, 132, -1, -1,
- -1, -1, -1, 138, 139, 140, -1, -1, -1, -1,
- 145, -1, -1, -1, -1, -1, 151, -1, 153, 154,
- -1, -1, -1, -1, -1, -1, -1, 162, 163, -1,
- -1, 166, -1, 168, -1, -1, -1, 172, 173, -1,
- -1, -1, -1, -1, -1, -1, 181, 182, 183, 184,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 203, 204,
- 205, 206, 207, 208, -1, 210, 211, 212, -1, 214,
- 215, -1, 217, -1, -1, 220, 221, 222, 223, 224,
- -1, 226, 227, 228, -1, -1, 231, 232, 233, 234,
- 235, 236, 237, 238, 239, -1, -1, -1, -1, 244,
- -1, 246, 247, 248, -1, 250, 251, 252, -1, 254,
- -1, 256, -1, 258, 259, 260, 261, 262, -1, 264,
- 265, 266, 267, 268, -1, 270, -1, 272, 273, 274,
- 275, 276, -1, -1, 279, -1, 281, 282, -1, 3,
- 285, 5, 6, 7, 8, -1, 10, 11, 12, -1,
- 14, -1, 16, 17, 18, 19, 20, 21, 22, 23,
- 24, 25, 26, -1, 28, 29, 30, 31, 32, 33,
- -1, 35, 36, 37, 38, 39, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 61, 62, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 94, -1, -1, -1, -1, -1, -1, 101, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 118, -1, 120, -1, -1, 123,
- -1, -1, -1, -1, -1, -1, -1, 131, 132, -1,
- -1, -1, -1, -1, 138, 139, 140, -1, -1, -1,
- -1, 145, -1, -1, -1, -1, -1, 151, -1, 153,
- 154, -1, -1, -1, -1, -1, -1, -1, 162, 163,
- -1, 165, 166, -1, 168, -1, -1, -1, 172, 173,
- -1, -1, -1, -1, -1, -1, -1, 181, 182, 183,
- 184, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 203,
- 204, 205, 206, 207, 208, -1, 210, 211, 212, -1,
- 214, 215, -1, 217, -1, -1, 220, 221, 222, 223,
- 224, -1, 226, 227, 228, -1, -1, 231, 232, 233,
- 234, 235, 236, 237, 238, 239, -1, -1, -1, -1,
- 244, -1, 246, 247, 248, -1, -1, 251, 252, -1,
- 254, -1, 256, -1, 258, 259, 260, 261, 262, -1,
- 264, 265, 266, 267, 268, -1, 270, -1, 272, 273,
- 274, 275, 276, -1, -1, 279, -1, 281, 282, -1,
- 3, 285, 5, 6, 7, 8, -1, 10, 11, 12,
- -1, 14, -1, 16, 17, 18, 19, 20, 21, 22,
- 23, 24, 25, 26, -1, 28, 29, 30, 31, 32,
- 33, -1, 35, 36, 37, 38, 39, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 61, 62,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 94, -1, -1, -1, -1, -1, -1, 101, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 120, -1, -1,
- 123, -1, -1, -1, -1, -1, -1, -1, 131, 132,
- -1, -1, -1, -1, -1, 138, 139, 140, -1, -1,
- -1, -1, 145, -1, -1, -1, -1, -1, 151, -1,
- 153, 154, -1, -1, -1, -1, -1, -1, -1, 162,
- 163, -1, -1, 166, -1, 168, -1, -1, -1, 172,
- 173, -1, -1, -1, -1, -1, -1, -1, 181, 182,
- 183, 184, -1, -1, 187, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 203, 204, 205, 206, 207, 208, -1, 210, 211, 212,
- -1, 214, 215, -1, 217, -1, -1, 220, 221, 222,
- 223, 224, -1, 226, 227, 228, -1, -1, 231, 232,
- 233, 234, 235, 236, 237, 238, 239, -1, -1, -1,
- -1, 244, -1, 246, 247, 248, -1, -1, 251, 252,
- -1, 254, -1, 256, -1, 258, 259, 260, 261, 262,
- -1, 264, 265, 266, 267, 268, -1, 270, -1, 272,
- 273, 274, 275, 276, -1, -1, 279, -1, 281, 282,
- -1, 3, 285, 5, 6, 7, 8, -1, 10, 11,
- 12, -1, 14, -1, 16, 17, 18, 19, 20, 21,
- 22, 23, 24, 25, 26, -1, 28, 29, 30, 31,
- 32, 33, -1, 35, 36, 37, 38, 39, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 61,
- 62, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 94, -1, -1, -1, -1, -1, -1, 101,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 120, -1,
- -1, 123, -1, -1, -1, -1, -1, -1, -1, 131,
- 132, -1, -1, -1, -1, -1, 138, 139, 140, -1,
- -1, -1, -1, 145, -1, -1, -1, -1, -1, 151,
- -1, 153, 154, -1, -1, -1, -1, -1, -1, -1,
- 162, 163, -1, -1, 166, -1, 168, -1, -1, -1,
- 172, 173, -1, -1, -1, -1, -1, -1, -1, 181,
- 182, 183, 184, -1, -1, 187, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 203, 204, 205, 206, 207, 208, -1, 210, 211,
- 212, -1, 214, 215, -1, 217, -1, -1, 220, 221,
- 222, 223, 224, -1, 226, 227, 228, -1, -1, 231,
- 232, 233, 234, 235, 236, 237, 238, 239, -1, -1,
- -1, -1, 244, -1, 246, 247, 248, -1, -1, 251,
- 252, -1, 254, -1, 256, -1, 258, 259, 260, 261,
- 262, -1, 264, 265, 266, 267, 268, -1, 270, -1,
- 272, 273, 274, 275, 276, -1, -1, 279, -1, 281,
- 282, -1, 3, 285, 5, 6, 7, 8, -1, 10,
- 11, 12, -1, 14, -1, 16, 17, 18, 19, 20,
- 21, 22, 23, 24, 25, 26, -1, 28, 29, 30,
- 31, 32, 33, -1, 35, 36, 37, 38, 39, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 61, 62, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 94, -1, -1, -1, -1, -1, -1,
- 101, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 120,
- -1, -1, 123, -1, -1, -1, -1, -1, -1, -1,
- 131, 132, -1, -1, -1, -1, -1, 138, 139, 140,
- -1, -1, -1, -1, 145, -1, -1, -1, -1, -1,
- 151, -1, 153, 154, -1, -1, -1, -1, -1, -1,
- -1, 162, 163, -1, -1, 166, -1, 168, -1, -1,
- -1, 172, 173, -1, -1, -1, -1, -1, -1, -1,
- 181, 182, 183, 184, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 203, 204, 205, 206, 207, 208, -1, 210,
- 211, 212, -1, 214, 215, -1, 217, -1, -1, 220,
- 221, 222, 223, 224, -1, 226, 227, 228, -1, -1,
- 231, 232, 233, 234, 235, 236, 237, 238, 239, -1,
- -1, -1, -1, 244, -1, 246, 247, 248, -1, -1,
- 251, 252, 253, 254, -1, 256, -1, 258, 259, 260,
- 261, 262, -1, 264, 265, 266, 267, 268, -1, 270,
- -1, 272, 273, 274, 275, 276, -1, -1, 279, -1,
- 281, 282, -1, 3, 285, 5, 6, 7, 8, -1,
- 10, 11, 12, -1, 14, -1, 16, 17, 18, 19,
- 20, 21, 22, 23, 24, 25, 26, -1, 28, 29,
- 30, 31, 32, 33, -1, 35, 36, 37, 38, 39,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 61, 62, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 94, -1, -1, -1, -1, -1,
- -1, 101, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 120, -1, -1, 123, -1, -1, -1, -1, -1, -1,
- -1, 131, 132, -1, -1, -1, -1, -1, 138, 139,
- 140, -1, -1, -1, -1, 145, -1, -1, -1, -1,
- -1, 151, -1, 153, 154, -1, -1, -1, -1, -1,
- -1, -1, 162, 163, -1, -1, 166, -1, 168, -1,
- -1, -1, 172, 173, -1, -1, -1, -1, -1, -1,
- -1, 181, 182, 183, 184, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 203, 204, 205, 206, 207, 208, -1,
- 210, 211, 212, -1, 214, 215, -1, 217, -1, -1,
- 220, 221, 222, 223, 224, -1, 226, 227, 228, -1,
- -1, 231, 232, 233, 234, 235, 236, 237, 238, 239,
- -1, -1, -1, -1, 244, -1, 246, 247, 248, -1,
- -1, 251, 252, 253, 254, -1, 256, -1, 258, 259,
- 260, 261, 262, -1, 264, 265, 266, 267, 268, -1,
- 270, -1, 272, 273, 274, 275, 276, -1, -1, 279,
- -1, 281, 282, -1, 3, 285, 5, 6, 7, 8,
- -1, 10, 11, 12, -1, 14, -1, 16, 17, 18,
- 19, 20, 21, 22, 23, 24, 25, 26, -1, 28,
- 29, 30, 31, 32, 33, -1, 35, 36, 37, 38,
- 39, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 61, 62, -1, -1, -1, -1, -1, 68,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 94, -1, -1, -1, -1,
- -1, -1, 101, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 120, -1, -1, 123, -1, -1, -1, -1, -1,
- -1, -1, 131, 132, -1, -1, -1, -1, -1, 138,
- 139, 140, -1, -1, -1, -1, 145, -1, -1, -1,
- -1, -1, 151, -1, 153, 154, -1, -1, -1, -1,
- -1, -1, -1, 162, 163, -1, -1, 166, -1, 168,
- -1, -1, -1, 172, 173, -1, -1, -1, -1, -1,
- -1, -1, 181, 182, 183, 184, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 203, 204, 205, 206, 207, 208,
- -1, 210, 211, 212, -1, 214, 215, -1, 217, -1,
- -1, 220, 221, 222, 223, 224, -1, 226, 227, 228,
- -1, -1, 231, 232, 233, 234, 235, 236, 237, 238,
- 239, -1, -1, -1, -1, 244, -1, 246, 247, 248,
- -1, -1, 251, 252, -1, 254, -1, 256, -1, 258,
- 259, 260, 261, 262, -1, 264, 265, 266, 267, 268,
- -1, 270, -1, 272, 273, 274, 275, 276, -1, -1,
- 279, -1, 281, 282, -1, 3, 285, 5, 6, 7,
- 8, -1, 10, 11, 12, -1, 14, -1, 16, 17,
- 18, 19, 20, 21, 22, 23, 24, 25, 26, -1,
- 28, 29, 30, 31, 32, 33, -1, 35, 36, 37,
- 38, 39, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 61, 62, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 94, -1, -1, -1,
- -1, -1, -1, 101, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 120, -1, -1, 123, -1, -1, -1, -1,
- -1, -1, -1, 131, 132, -1, -1, -1, -1, -1,
- 138, 139, 140, -1, -1, -1, -1, 145, -1, -1,
- -1, -1, -1, 151, -1, 153, 154, -1, -1, -1,
- -1, -1, -1, -1, 162, 163, -1, -1, 166, -1,
- 168, -1, -1, -1, 172, 173, -1, -1, -1, -1,
- -1, -1, -1, 181, 182, 183, 184, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 203, 204, 205, 206, 207,
- 208, -1, 210, 211, 212, -1, 214, 215, -1, 217,
- -1, -1, 220, 221, 222, 223, 224, -1, 226, 227,
- 228, -1, -1, 231, 232, 233, 234, 235, 236, 237,
- 238, 239, -1, -1, -1, -1, 244, -1, 246, 247,
- 248, -1, -1, 251, 252, -1, 254, -1, 256, -1,
- 258, 259, 260, 261, 262, -1, 264, 265, 266, 267,
- 268, -1, 270, -1, 272, 273, 274, 275, 276, -1,
- -1, 279, -1, 281, 282, -1, 3, 285, 5, 6,
- 7, 8, -1, 10, 11, 12, -1, 14, -1, 16,
- 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
- -1, 28, 29, 30, 31, 32, 33, -1, 35, 36,
- 37, 38, 39, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 61, 62, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 94, -1, -1,
- -1, -1, -1, -1, 101, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 120, -1, -1, 123, -1, -1, -1,
- -1, -1, -1, -1, 131, 132, -1, -1, -1, -1,
- -1, 138, 139, 140, -1, -1, -1, -1, 145, -1,
- -1, -1, -1, -1, 151, -1, 153, 154, -1, -1,
- -1, -1, -1, -1, -1, 162, 163, -1, -1, 166,
- -1, 168, -1, -1, -1, 172, 173, -1, -1, -1,
- -1, -1, -1, -1, 181, 182, 183, 184, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 203, 204, 205, 206,
- 207, 208, -1, 210, 211, 212, -1, 214, 215, -1,
- 217, -1, -1, 220, 221, 222, 223, 224, -1, 226,
- 227, 228, -1, -1, 231, 232, 233, 234, 235, 236,
- 237, 238, 239, -1, -1, -1, -1, 244, -1, 246,
- 247, 248, -1, -1, 251, 252, -1, 254, -1, 256,
- -1, 258, 259, 260, 261, 262, -1, 264, 265, 266,
- 267, 268, -1, 270, -1, 272, 273, 274, 275, 276,
- -1, -1, 279, -1, 281, 282, -1, 3, 285, 5,
- 6, 7, 8, -1, 10, 11, 12, -1, 14, -1,
- 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
- 26, -1, 28, 29, 30, 31, 32, 33, -1, 35,
- 36, 37, 38, 39, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 61, 62, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 94, -1,
- -1, -1, -1, -1, -1, 101, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 120, -1, -1, 123, -1, -1,
- -1, -1, -1, -1, -1, 131, 132, -1, -1, -1,
- -1, -1, 138, 139, 140, -1, -1, -1, -1, 145,
- -1, -1, -1, -1, -1, 151, -1, 153, 154, -1,
- -1, -1, -1, -1, -1, -1, 162, 163, -1, -1,
- 166, -1, 168, -1, -1, -1, 172, 173, -1, -1,
- -1, -1, -1, -1, -1, 181, 182, 183, 184, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 203, 204, 205,
- 206, 207, 208, -1, 210, 211, 212, -1, 214, 215,
- -1, 217, -1, -1, 220, 221, 222, 223, 224, -1,
- 226, 227, 228, -1, -1, 231, 232, 233, 234, 235,
- 236, 237, 238, 239, -1, -1, -1, -1, 244, -1,
- 246, 247, 248, -1, -1, 251, 252, -1, 254, -1,
- 256, -1, 258, 259, 260, 261, 262, -1, 264, 265,
- 266, 267, 268, -1, 270, -1, 272, 273, 274, 275,
- 276, -1, -1, 279, -1, 281, 282, -1, -1, 285,
- 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
- -1, 14, -1, 16, 17, 18, 19, 20, 21, 22,
- 23, 24, 25, 26, -1, 28, 29, 30, 31, 32,
- 33, -1, 35, 36, 37, 38, 39, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 77, 78, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 94, 95, -1, -1, -1, -1, -1, 101, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 111, -1,
- -1, -1, -1, -1, -1, -1, -1, 120, -1, -1,
- -1, -1, -1, 126, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 139, 140, -1, 142,
- -1, 144, -1, -1, -1, -1, -1, 150, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 173, -1, -1, -1, -1, -1, -1, -1, 181, 182,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 196, -1, -1, -1, -1, -1, -1,
- 203, -1, -1, -1, -1, 208, 3, 4, 5, 6,
- 7, 8, 9, 10, 11, 12, -1, 14, -1, 16,
- 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
- -1, 28, 29, 30, 31, 32, 33, -1, 35, 36,
- 37, 38, 39, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 267, -1, 269, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 282,
- 77, 78, 285, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 94, 95, -1,
- -1, -1, -1, -1, 101, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 111, -1, -1, -1, -1, -1,
- -1, -1, -1, 120, -1, -1, -1, -1, -1, 126,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 139, 140, -1, 142, -1, 144, -1, -1,
- -1, -1, -1, 150, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 173, -1, -1, -1,
- -1, -1, -1, -1, 181, 182, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, 196,
- -1, -1, -1, -1, -1, -1, 203, -1, -1, -1,
- -1, 208, 3, 4, 5, 6, 7, 8, 9, 10,
- 11, 12, -1, 14, -1, 16, 17, 18, 19, 20,
- 21, 22, 23, 24, 25, 26, -1, 28, 29, 30,
- 31, 32, 33, -1, 35, 36, 37, 38, 39, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 269, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 282, 77, 78, 285, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 94, 95, -1, -1, -1, -1, -1,
- 101, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 111, -1, -1, -1, -1, -1, -1, -1, -1, 120,
- -1, -1, -1, -1, -1, 126, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, 139, 140,
- -1, 142, -1, 144, -1, -1, -1, -1, -1, 150,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 173, -1, -1, -1, -1, -1, -1, -1,
- 181, 182, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 196, -1, -1, -1, -1,
- -1, -1, 203, -1, -1, -1, -1, 208, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 282, -1, -1, 285
- };
- /* -*-C-*- Note some compilers choke on comments on `#line' lines. */
- #line 3 "/usr/share/misc/bison.simple"
- /* This file comes from bison-1.28. */
- /* Skeleton output parser for bison,
- Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
- /* As a special exception, when this file is copied by Bison into a
- Bison output file, you may use that output file without restriction.
- This special exception was added by the Free Software Foundation
- in version 1.24 of Bison. */
- /* This is the parser code that is written into each bison parser
- when the %semantic_parser declaration is not specified in the grammar.
- It was written by Richard Stallman by simplifying the hairy parser
- used when %semantic_parser is specified. */
- #ifndef YYSTACK_USE_ALLOCA
- #ifdef alloca
- #define YYSTACK_USE_ALLOCA
- #else /* alloca not defined */
- #ifdef __GNUC__
- #define YYSTACK_USE_ALLOCA
- #define alloca __builtin_alloca
- #else /* not GNU C. */
- #if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) || (defined (__sun) && defined (__i386))
- #define YYSTACK_USE_ALLOCA
- #include <alloca.h>
- #else /* not sparc */
- /* We think this test detects Watcom and Microsoft C. */
- /* This used to test MSDOS, but that is a bad idea
- since that symbol is in the user namespace. */
- #if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__)
- #if 0 /* No need for malloc.h, which pollutes the namespace;
- instead, just don't use alloca. */
- #include <malloc.h>
- #endif
- #else /* not MSDOS, or __TURBOC__ */
- #if defined(_AIX)
- /* I don't know what this was needed for, but it pollutes the namespace.
- So I turned it off. rms, 2 May 1997. */
- /* #include <malloc.h> */
- #pragma alloca
- #define YYSTACK_USE_ALLOCA
- #else /* not MSDOS, or __TURBOC__, or _AIX */
- #if 0
- #ifdef __hpux /* haible@ilog.fr says this works for HPUX 9.05 and up,
- and on HPUX 10. Eventually we can turn this on. */
- #define YYSTACK_USE_ALLOCA
- #define alloca __builtin_alloca
- #endif /* __hpux */
- #endif
- #endif /* not _AIX */
- #endif /* not MSDOS, or __TURBOC__ */
- #endif /* not sparc */
- #endif /* not GNU C */
- #endif /* alloca not defined */
- #endif /* YYSTACK_USE_ALLOCA not defined */
- #ifdef YYSTACK_USE_ALLOCA
- #define YYSTACK_ALLOC alloca
- #else
- #define YYSTACK_ALLOC malloc
- #endif
- /* Note: there must be only one dollar sign in this file.
- It is replaced by the list of actions, each action
- as one case of the switch. */
- #define yyerrok (yyerrstatus = 0)
- #define yyclearin (yychar = YYEMPTY)
- #define YYEMPTY -2
- #define YYEOF 0
- #define YYACCEPT goto yyacceptlab
- #define YYABORT goto yyabortlab
- #define YYERROR goto yyerrlab1
- /* Like YYERROR except do call yyerror.
- This remains here temporarily to ease the
- transition to the new meaning of YYERROR, for GCC.
- Once GCC version 2 has supplanted version 1, this can go. */
- #define YYFAIL goto yyerrlab
- #define YYRECOVERING() (!!yyerrstatus)
- #define YYBACKUP(token, value)
- do
- if (yychar == YYEMPTY && yylen == 1)
- { yychar = (token), yylval = (value);
- yychar1 = YYTRANSLATE (yychar);
- YYPOPSTACK;
- goto yybackup;
- }
- else
- { yyerror ("syntax error: cannot back up"); YYERROR; }
- while (0)
- #define YYTERROR 1
- #define YYERRCODE 256
- #ifndef YYPURE
- #define YYLEX yylex()
- #endif
- #ifdef YYPURE
- #ifdef YYLSP_NEEDED
- #ifdef YYLEX_PARAM
- #define YYLEX yylex(&yylval, &yylloc, YYLEX_PARAM)
- #else
- #define YYLEX yylex(&yylval, &yylloc)
- #endif
- #else /* not YYLSP_NEEDED */
- #ifdef YYLEX_PARAM
- #define YYLEX yylex(&yylval, YYLEX_PARAM)
- #else
- #define YYLEX yylex(&yylval)
- #endif
- #endif /* not YYLSP_NEEDED */
- #endif
- /* If nonreentrant, generate the variables here */
- #ifndef YYPURE
- int yychar; /* the lookahead symbol */
- YYSTYPE yylval; /* the semantic value of the */
- /* lookahead symbol */
- #ifdef YYLSP_NEEDED
- YYLTYPE yylloc; /* location data for the lookahead */
- /* symbol */
- #endif
- int yynerrs; /* number of parse errors so far */
- #endif /* not YYPURE */
- #if YYDEBUG != 0
- int yydebug; /* nonzero means print parse trace */
- /* Since this is uninitialized, it does not stop multiple parsers
- from coexisting. */
- #endif
- /* YYINITDEPTH indicates the initial size of the parser's stacks */
- #ifndef YYINITDEPTH
- #define YYINITDEPTH 200
- #endif
- /* YYMAXDEPTH is the maximum size the stacks can grow to
- (effective only if the built-in stack extension method is used). */
- #if YYMAXDEPTH == 0
- #undef YYMAXDEPTH
- #endif
- #ifndef YYMAXDEPTH
- #define YYMAXDEPTH 10000
- #endif
- /* Define __yy_memcpy. Note that the size argument
- should be passed with type unsigned int, because that is what the non-GCC
- definitions require. With GCC, __builtin_memcpy takes an arg
- of type size_t, but it can handle unsigned int. */
- #if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
- #define __yy_memcpy(TO,FROM,COUNT) __builtin_memcpy(TO,FROM,COUNT)
- #else /* not GNU C or C++ */
- #ifndef __cplusplus
- /* This is the most reliable way to avoid incompatibilities
- in available built-in functions on various systems. */
- static void
- __yy_memcpy (to, from, count)
- char *to;
- char *from;
- unsigned int count;
- {
- register char *f = from;
- register char *t = to;
- register int i = count;
- while (i-- > 0)
- *t++ = *f++;
- }
- #else /* __cplusplus */
- /* This is the most reliable way to avoid incompatibilities
- in available built-in functions on various systems. */
- static void
- __yy_memcpy (char *to, char *from, unsigned int count)
- {
- register char *t = to;
- register char *f = from;
- register int i = count;
- while (i-- > 0)
- *t++ = *f++;
- }
- #endif
- #endif
- #line 217 "/usr/share/misc/bison.simple"
- /* The user can define YYPARSE_PARAM as the name of an argument to be passed
- into yyparse. The argument should have type void *.
- It should actually point to an object.
- Grammar actions can access the variable by casting it
- to the proper pointer type. */
- #ifdef YYPARSE_PARAM
- #ifdef __cplusplus
- #define YYPARSE_PARAM_ARG void *YYPARSE_PARAM
- #define YYPARSE_PARAM_DECL
- #else /* not __cplusplus */
- #define YYPARSE_PARAM_ARG YYPARSE_PARAM
- #define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
- #endif /* not __cplusplus */
- #else /* not YYPARSE_PARAM */
- #define YYPARSE_PARAM_ARG
- #define YYPARSE_PARAM_DECL
- #endif /* not YYPARSE_PARAM */
- /* Prevent warning if -Wstrict-prototypes. */
- #ifdef __GNUC__
- #ifdef YYPARSE_PARAM
- int yyparse (void *);
- #else
- int yyparse (void);
- #endif
- #endif
- int
- yyparse(YYPARSE_PARAM_ARG)
- YYPARSE_PARAM_DECL
- {
- register int yystate;
- register int yyn;
- register short *yyssp;
- register YYSTYPE *yyvsp;
- int yyerrstatus; /* number of tokens to shift before error messages enabled */
- int yychar1 = 0; /* lookahead token as an internal (translated) token number */
- short yyssa[YYINITDEPTH]; /* the state stack */
- YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */
- short *yyss = yyssa; /* refer to the stacks thru separate pointers */
- YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */
- #ifdef YYLSP_NEEDED
- YYLTYPE yylsa[YYINITDEPTH]; /* the location stack */
- YYLTYPE *yyls = yylsa;
- YYLTYPE *yylsp;
- #define YYPOPSTACK (yyvsp--, yyssp--, yylsp--)
- #else
- #define YYPOPSTACK (yyvsp--, yyssp--)
- #endif
- int yystacksize = YYINITDEPTH;
- int yyfree_stacks = 0;
- #ifdef YYPURE
- int yychar;
- YYSTYPE yylval;
- int yynerrs;
- #ifdef YYLSP_NEEDED
- YYLTYPE yylloc;
- #endif
- #endif
- YYSTYPE yyval; /* the variable used to return */
- /* semantic values from the action */
- /* routines */
- int yylen;
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Starting parsen");
- #endif
- yystate = 0;
- yyerrstatus = 0;
- yynerrs = 0;
- yychar = YYEMPTY; /* Cause a token to be read. */
- /* Initialize stack pointers.
- Waste one element of value and location stack
- so that they stay on the same level as the state stack.
- The wasted elements are never initialized. */
- yyssp = yyss - 1;
- yyvsp = yyvs;
- #ifdef YYLSP_NEEDED
- yylsp = yyls;
- #endif
- /* Push a new state, which is found in yystate . */
- /* In all cases, when you get here, the value and location stacks
- have just been pushed. so pushing a state here evens the stacks. */
- yynewstate:
- *++yyssp = yystate;
- if (yyssp >= yyss + yystacksize - 1)
- {
- /* Give user a chance to reallocate the stack */
- /* Use copies of these so that the &'s don't force the real ones into memory. */
- YYSTYPE *yyvs1 = yyvs;
- short *yyss1 = yyss;
- #ifdef YYLSP_NEEDED
- YYLTYPE *yyls1 = yyls;
- #endif
- /* Get the current used size of the three stacks, in elements. */
- int size = yyssp - yyss + 1;
- #ifdef yyoverflow
- /* Each stack pointer address is followed by the size of
- the data in use in that stack, in bytes. */
- #ifdef YYLSP_NEEDED
- /* This used to be a conditional around just the two extra args,
- but that might be undefined if yyoverflow is a macro. */
- yyoverflow("parser stack overflow",
- &yyss1, size * sizeof (*yyssp),
- &yyvs1, size * sizeof (*yyvsp),
- &yyls1, size * sizeof (*yylsp),
- &yystacksize);
- #else
- yyoverflow("parser stack overflow",
- &yyss1, size * sizeof (*yyssp),
- &yyvs1, size * sizeof (*yyvsp),
- &yystacksize);
- #endif
- yyss = yyss1; yyvs = yyvs1;
- #ifdef YYLSP_NEEDED
- yyls = yyls1;
- #endif
- #else /* no yyoverflow */
- /* Extend the stack our own way. */
- if (yystacksize >= YYMAXDEPTH)
- {
- yyerror("parser stack overflow");
- if (yyfree_stacks)
- {
- free (yyss);
- free (yyvs);
- #ifdef YYLSP_NEEDED
- free (yyls);
- #endif
- }
- return 2;
- }
- yystacksize *= 2;
- if (yystacksize > YYMAXDEPTH)
- yystacksize = YYMAXDEPTH;
- #ifndef YYSTACK_USE_ALLOCA
- yyfree_stacks = 1;
- #endif
- yyss = (short *) YYSTACK_ALLOC (yystacksize * sizeof (*yyssp));
- __yy_memcpy ((char *)yyss, (char *)yyss1,
- size * (unsigned int) sizeof (*yyssp));
- yyvs = (YYSTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yyvsp));
- __yy_memcpy ((char *)yyvs, (char *)yyvs1,
- size * (unsigned int) sizeof (*yyvsp));
- #ifdef YYLSP_NEEDED
- yyls = (YYLTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yylsp));
- __yy_memcpy ((char *)yyls, (char *)yyls1,
- size * (unsigned int) sizeof (*yylsp));
- #endif
- #endif /* no yyoverflow */
- yyssp = yyss + size - 1;
- yyvsp = yyvs + size - 1;
- #ifdef YYLSP_NEEDED
- yylsp = yyls + size - 1;
- #endif
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Stack size increased to %dn", yystacksize);
- #endif
- if (yyssp >= yyss + yystacksize - 1)
- YYABORT;
- }
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Entering state %dn", yystate);
- #endif
- goto yybackup;
- yybackup:
- /* Do appropriate processing given the current state. */
- /* Read a lookahead token if we need one and don't already have one. */
- /* yyresume: */
- /* First try to decide what to do without reference to lookahead token. */
- yyn = yypact[yystate];
- if (yyn == YYFLAG)
- goto yydefault;
- /* Not known => get a lookahead token if don't already have one. */
- /* yychar is either YYEMPTY or YYEOF
- or a valid token in external form. */
- if (yychar == YYEMPTY)
- {
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Reading a token: ");
- #endif
- yychar = YYLEX;
- }
- /* Convert token to internal form (in yychar1) for indexing tables with */
- if (yychar <= 0) /* This means end of input. */
- {
- yychar1 = 0;
- yychar = YYEOF; /* Don't call YYLEX any more */
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Now at end of input.n");
- #endif
- }
- else
- {
- yychar1 = YYTRANSLATE(yychar);
- #if YYDEBUG != 0
- if (yydebug)
- {
- fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]);
- /* Give the individual parser a way to print the precise meaning
- of a token, for further debugging info. */
- #ifdef YYPRINT
- YYPRINT (stderr, yychar, yylval);
- #endif
- fprintf (stderr, ")n");
- }
- #endif
- }
- yyn += yychar1;
- if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
- goto yydefault;
- yyn = yytable[yyn];
- /* yyn is what to do for this token type in this state.
- Negative => reduce, -yyn is rule number.
- Positive => shift, yyn is new state.
- New state is final state => don't bother to shift,
- just return success.
- 0, or most negative number => error. */
- if (yyn < 0)
- {
- if (yyn == YYFLAG)
- goto yyerrlab;
- yyn = -yyn;
- goto yyreduce;
- }
- else if (yyn == 0)
- goto yyerrlab;
- if (yyn == YYFINAL)
- YYACCEPT;
- /* Shift the lookahead token. */
- #if YYDEBUG != 0
- if (yydebug)
- fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
- #endif
- /* Discard the token being shifted unless it is eof. */
- if (yychar != YYEOF)
- yychar = YYEMPTY;
- *++yyvsp = yylval;
- #ifdef YYLSP_NEEDED
- *++yylsp = yylloc;
- #endif
- /* count tokens shifted since error; after three, turn off error status. */
- if (yyerrstatus) yyerrstatus--;
- yystate = yyn;
- goto yynewstate;
- /* Do the default action for the current state. */
- yydefault:
- yyn = yydefact[yystate];
- if (yyn == 0)
- goto yyerrlab;
- /* Do a reduction. yyn is the number of a rule to reduce with. */
- yyreduce:
- yylen = yyr2[yyn];
- if (yylen > 0)
- yyval = yyvsp[1-yylen]; /* implement default value of the action */
- #if YYDEBUG != 0
- if (yydebug)
- {
- int i;
- fprintf (stderr, "Reducing via rule %d (line %d), ",
- yyn, yyrline[yyn]);
- /* Print the symbols being reduced, and their result. */
- for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
- fprintf (stderr, "%s ", yytname[yyrhs[i]]);
- fprintf (stderr, " -> %sn", yytname[yyr1[yyn]]);
- }
- #endif
- switch (yyn) {
- case 4:
- #line 863 "preproc.y"
- { connection = NULL; ;
- break;}
- case 7:
- #line 866 "preproc.y"
- { fprintf(yyout, "%s", yyvsp[0].str); free(yyvsp[0].str); ;
- break;}
- case 8:
- #line 867 "preproc.y"
- { fprintf(yyout, "%s", yyvsp[0].str); free(yyvsp[0].str); ;
- break;}
- case 9:
- #line 868 "preproc.y"
- { fputs(yyvsp[0].str, yyout); free(yyvsp[0].str); ;
- break;}
- case 10:
- #line 869 "preproc.y"
- { fputs(yyvsp[0].str, yyout); free(yyvsp[0].str); ;
- break;}
- case 11:
- #line 871 "preproc.y"
- { connection = yyvsp[0].str; ;
- break;}
- case 12:
- #line 873 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 13:
- #line 874 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 14:
- #line 875 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 15:
- #line 876 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 16:
- #line 877 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 17:
- #line 878 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 18:
- #line 879 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 19:
- #line 880 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 20:
- #line 881 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 21:
- #line 882 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 22:
- #line 883 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 23:
- #line 884 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 24:
- #line 885 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 25:
- #line 886 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 26:
- #line 887 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 27:
- #line 888 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 28:
- #line 889 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 29:
- #line 890 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 30:
- #line 891 "preproc.y"
- { output_statement(yyvsp[0].str, 1); ;
- break;}
- case 31:
- #line 892 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 32:
- #line 893 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 33:
- #line 894 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 34:
- #line 895 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 35:
- #line 896 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 36:
- #line 897 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 37:
- #line 898 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 38:
- #line 899 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 39:
- #line 900 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 40:
- #line 901 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 41:
- #line 902 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 42:
- #line 903 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 43:
- #line 904 "preproc.y"
- {
- if (strncmp(yyvsp[0].str, "/* " , sizeof("/* ")-1) == 0)
- output_simple_statement(yyvsp[0].str);
- else
- output_statement(yyvsp[0].str, 1);
- ;
- break;}
- case 44:
- #line 910 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 45:
- #line 911 "preproc.y"
- {
- fprintf(yyout, "{ ECPGtrans(__LINE__, %s, "%s");", connection ? connection : "NULL", yyvsp[0].str);
- whenever_action(2);
- free(yyvsp[0].str);
- ;
- break;}
- case 46:
- #line 916 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 47:
- #line 917 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 48:
- #line 918 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 49:
- #line 919 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 50:
- #line 920 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 51:
- #line 921 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 52:
- #line 922 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 53:
- #line 923 "preproc.y"
- { output_statement(yyvsp[0].str, 0); ;
- break;}
- case 54:
- #line 924 "preproc.y"
- {
- if (connection)
- yyerror("no at option for connect statement.n");
- fprintf(yyout, "{ ECPGconnect(__LINE__, %s, %d);", yyvsp[0].str, autocommit);
- whenever_action(2);
- free(yyvsp[0].str);
- ;
- break;}
- case 55:
- #line 932 "preproc.y"
- {
- output_simple_statement(yyvsp[0].str);
- ;
- break;}
- case 56:
- #line 935 "preproc.y"
- {
- if (connection)
- yyerror("no at option for connect statement.n");
- fputc('{', yyout);
- fputs(yyvsp[0].str, yyout);
- whenever_action(2);
- free(yyvsp[0].str);
- ;
- break;}
- case 57:
- #line 944 "preproc.y"
- {
- output_simple_statement(yyvsp[0].str);
- ;
- break;}
- case 58:
- #line 947 "preproc.y"
- {
- if (connection)
- yyerror("no at option for disconnect statement.n");
- fprintf(yyout, "{ ECPGdisconnect(__LINE__, "%s");", yyvsp[0].str);
- whenever_action(2);
- free(yyvsp[0].str);
- ;
- break;}
- case 59:
- #line 955 "preproc.y"
- {
- output_statement(yyvsp[0].str, 0);
- ;
- break;}
- case 60:
- #line 958 "preproc.y"
- {
- fprintf(yyout, "{ ECPGdeallocate(__LINE__, %s, "%s");", connection ? connection : "NULL", yyvsp[0].str);
- whenever_action(2);
- free(yyvsp[0].str);
- ;
- break;}
- case 61:
- #line 963 "preproc.y"
- {
- struct cursor *ptr;
-
- for (ptr = cur; ptr != NULL; ptr=ptr->next)
- {
- if (strcmp(ptr->name, yyvsp[0].str) == 0)
- break;
- }
-
- if (ptr == NULL)
- {
- sprintf(errortext, "trying to open undeclared cursor %sn", yyvsp[0].str);
- yyerror(errortext);
- }
-
- fprintf(yyout, "{ ECPGdo(__LINE__, %s, "%s",", ptr->connection ? ptr->connection : "NULL", ptr->command);
- /* dump variables to C file*/
- dump_variables(ptr->argsinsert, 0);
- dump_variables(argsinsert, 0);
- fputs("ECPGt_EOIT, ", yyout);
- dump_variables(ptr->argsresult, 0);
- fputs("ECPGt_EORT);", yyout);
- whenever_action(2);
- free(yyvsp[0].str);
- ;
- break;}
- case 62:
- #line 988 "preproc.y"
- {
- if (connection)
- yyerror("no at option for set connection statement.n");
- fprintf(yyout, "{ ECPGprepare(__LINE__, %s);", yyvsp[0].str);
- whenever_action(2);
- free(yyvsp[0].str);
- ;
- break;}
- case 63:
- #line 996 "preproc.y"
- { /* output already done */ ;
- break;}
- case 64:
- #line 997 "preproc.y"
- {
- fprintf(yyout, "{ ECPGsetcommit(__LINE__, "%s", %s);", yyvsp[0].str, connection ? connection : "NULL");
- whenever_action(2);
- free(yyvsp[0].str);
- ;
- break;}
- case 65:
- #line 1002 "preproc.y"
- {
- if (connection)
- yyerror("no at option for set connection statement.n");
- fprintf(yyout, "{ ECPGsetconn(__LINE__, %s);", yyvsp[0].str);
- whenever_action(2);
- free(yyvsp[0].str);
- ;
- break;}
- case 66:
- #line 1010 "preproc.y"
- {
- if (connection)
- yyerror("no at option for typedef statement.n");
- output_simple_statement(yyvsp[0].str);
- ;
- break;}
- case 67:
- #line 1016 "preproc.y"
- {
- if (connection)
- yyerror("no at option for var statement.n");
- output_simple_statement(yyvsp[0].str);
- ;
- break;}
- case 68:
- #line 1022 "preproc.y"
- {
- if (connection)
- yyerror("no at option for whenever statement.n");
- output_simple_statement(yyvsp[0].str);
- ;
- break;}
- case 69:
- #line 1044 "preproc.y"
- {
- yyval.str = cat3_str(cat5_str(make1_str("create user"), yyvsp[-5].str, yyvsp[-4].str, yyvsp[-3].str, yyvsp[-2].str), yyvsp[-1].str, yyvsp[0].str);
- ;
- break;}
- case 70:
- #line 1058 "preproc.y"
- {
- yyval.str = cat3_str(cat5_str(make1_str("alter user"), yyvsp[-5].str, yyvsp[-4].str, yyvsp[-3].str, yyvsp[-2].str), yyvsp[-1].str, yyvsp[0].str);
- ;
- break;}
- case 71:
- #line 1071 "preproc.y"
- {
- yyval.str = cat2_str(make1_str("drop user"), yyvsp[0].str);
- ;
- break;}
- case 72:
- #line 1076 "preproc.y"
- { yyval.str = cat2_str(make1_str("with password") , yyvsp[0].str); ;
- break;}
- case 73:
- #line 1077 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 74:
- #line 1081 "preproc.y"
- {
- yyval.str = make1_str("createdb");
- ;
- break;}
- case 75:
- #line 1085 "preproc.y"
- {
- yyval.str = make1_str("nocreatedb");
- ;
- break;}
- case 76:
- #line 1088 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 77:
- #line 1092 "preproc.y"
- {
- yyval.str = make1_str("createuser");
- ;
- break;}
- case 78:
- #line 1096 "preproc.y"
- {
- yyval.str = make1_str("nocreateuser");
- ;
- break;}
- case 79:
- #line 1099 "preproc.y"
- { yyval.str = NULL; ;
- break;}
- case 80:
- #line 1103 "preproc.y"
- {
- yyval.str = cat3_str(yyvsp[-2].str, make1_str(","), yyvsp[0].str);
- ;
- break;}
- case 81:
- #line 1107 "preproc.y"
- {
- yyval.str = yyvsp[0].str;
- ;
- break;}
- case 82:
- #line 1112 "preproc.y"
- { yyval.str = cat2_str(make1_str("in group"), yyvsp[0].str); ;
- break;}
- case 83:
- #line 1113 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 84:
- #line 1116 "preproc.y"
- { yyval.str = cat2_str(make1_str("valid until"), yyvsp[0].str); ;
- break;}
- case 85:
- #line 1117 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 86:
- #line 1130 "preproc.y"
- {
- yyval.str = cat4_str(make1_str("set"), yyvsp[-2].str, make1_str("to"), yyvsp[0].str);
- ;
- break;}
- case 87:
- #line 1134 "preproc.y"
- {
- yyval.str = cat4_str(make1_str("set"), yyvsp[-2].str, make1_str("="), yyvsp[0].str);
- ;
- break;}
- case 88:
- #line 1138 "preproc.y"
- {
- yyval.str = cat2_str(make1_str("set time zone"), yyvsp[0].str);
- ;
- break;}
- case 89:
- #line 1142 "preproc.y"
- {
- yyval.str = cat2_str(make1_str("set transaction isolation level"), yyvsp[0].str);
- ;
- break;}
- case 90:
- #line 1146 "preproc.y"
- {
- #ifdef MB
- yyval.str = cat2_str(make1_str("set names"), yyvsp[0].str);
- #else
- yyerror("SET NAMES is not supported");
- #endif
- ;
- break;}
- case 91:
- #line 1155 "preproc.y"
- { yyval.str = make1_str("read committed"); ;
- break;}
- case 92:
- #line 1156 "preproc.y"
- { yyval.str = make1_str("serializable"); ;
- break;}
- case 93:
- #line 1160 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 94:
- #line 1161 "preproc.y"
- { yyval.str = make1_str("default"); ;
- break;}
- case 95:
- #line 1164 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 96:
- #line 1165 "preproc.y"
- { yyval.str = make1_str("default"); ;
- break;}
- case 97:
- #line 1166 "preproc.y"
- { yyval.str = make1_str("local"); ;
- break;}
- case 98:
- #line 1170 "preproc.y"
- {
- yyval.str = cat2_str(make1_str("show"), yyvsp[0].str);
- ;
- break;}
- case 99:
- #line 1174 "preproc.y"
- {
- yyval.str = make1_str("show time zone");
- ;
- break;}
- case 100:
- #line 1178 "preproc.y"
- {
- yyval.str = make1_str("show transaction isolation level");
- ;
- break;}
- case 101:
- #line 1184 "preproc.y"
- {
- yyval.str = cat2_str(make1_str("reset"), yyvsp[0].str);
- ;
- break;}
- case 102:
- #line 1188 "preproc.y"
- {
- yyval.str = make1_str("reset time zone");
- ;
- break;}
- case 103:
- #line 1192 "preproc.y"
- {
- yyval.str = make1_str("reset transaction isolation level");
- ;
- break;}
- case 104:
- #line 1206 "preproc.y"
- {
- yyval.str = cat4_str(make1_str("alter table"), yyvsp[-2].str, yyvsp[-1].str, yyvsp[0].str);
- ;
- break;}
- case 105:
- #line 1212 "preproc.y"
- {
- yyval.str = cat3_str(make1_str("add"), yyvsp[-1].str, yyvsp[0].str);
- ;
- break;}
- case 106:
- #line 1216 "preproc.y"
- {
- yyval.str = make3_str(make1_str("add("), yyvsp[-1].str, make1_str(")"));
- ;
- break;}
- case 107:
- #line 1220 "preproc.y"
- { yyerror("ALTER TABLE/DROP COLUMN not yet implemented"); ;
- break;}
- case 108:
- #line 1222 "preproc.y"
- { yyerror("ALTER TABLE/ALTER COLUMN/SET DEFAULT not yet implemented"); ;
- break;}
- case 109:
- #line 1224 "preproc.y"
- { yyerror("ALTER TABLE/ALTER COLUMN/DROP DEFAULT not yet implemented"); ;
- break;}
- case 110:
- #line 1226 "preproc.y"
- { yyerror("ALTER TABLE/ADD CONSTRAINT not yet implemented"); ;
- break;}
- case 111:
- #line 1237 "preproc.y"
- {
- yyval.str = cat2_str(make1_str("close"), yyvsp[0].str);
- ;
- break;}
- case 112:
- #line 1252 "preproc.y"
- {
- yyval.str = cat3_str(cat5_str(make1_str("copy"), yyvsp[-5].str, yyvsp[-4].str, yyvsp[-3].str, yyvsp[-2].str), yyvsp[-1].str, yyvsp[0].str);
- ;
- break;}
- case 113:
- #line 1258 "preproc.y"
- { yyval.str = make1_str("to"); ;
- break;}
- case 114:
- #line 1260 "preproc.y"
- { yyval.str = make1_str("from"); ;
- break;}
- case 115:
- #line 1268 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 116:
- #line 1269 "preproc.y"
- { yyval.str = make1_str("stdin"); ;
- break;}
- case 117:
- #line 1270 "preproc.y"
- { yyval.str = make1_str("stdout"); ;
- break;}
- case 118:
- #line 1273 "preproc.y"
- { yyval.str = make1_str("binary"); ;
- break;}
- case 119:
- #line 1274 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 120:
- #line 1277 "preproc.y"
- { yyval.str = make1_str("with oids"); ;
- break;}
- case 121:
- #line 1278 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 122:
- #line 1284 "preproc.y"
- { yyval.str = cat2_str(make1_str("using delimiters"), yyvsp[0].str); ;
- break;}
- case 123:
- #line 1285 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 124:
- #line 1299 "preproc.y"
- {
- yyval.str = cat3_str(cat4_str(make1_str("create"), yyvsp[-6].str, make1_str("table"), yyvsp[-4].str), make3_str(make1_str("("), yyvsp[-2].str, make1_str(")")), yyvsp[0].str);
- ;
- break;}
- case 125:
- #line 1304 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 126:
- #line 1305 "preproc.y"
- { yyval.str = cat2_str(yyvsp[-1].str,yyvsp[0].str); ;
- break;}
- case 127:
- #line 1308 "preproc.y"
- { yyval.str = make1_str("temp"); ;
- break;}
- case 128:
- #line 1309 "preproc.y"
- { yyval.str = make1_str("temporary"); ;
- break;}
- case 129:
- #line 1310 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 130:
- #line 1314 "preproc.y"
- {
- yyerror("GLOBAL TEMPORARY TABLE is not currently supported");
- yyval.str = make1_str("global");
- ;
- break;}
- case 131:
- #line 1318 "preproc.y"
- { yyval.str = make1_str("local"); ;
- break;}
- case 132:
- #line 1323 "preproc.y"
- {
- yyval.str = cat3_str(yyvsp[-2].str, make1_str(","), yyvsp[0].str);
- ;
- break;}
- case 133:
- #line 1327 "preproc.y"
- {
- yyval.str = yyvsp[0].str;
- ;
- break;}
- case 134:
- #line 1330 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 135:
- #line 1333 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 136:
- #line 1334 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 137:
- #line 1338 "preproc.y"
- {
- yyval.str = cat3_str(yyvsp[-2].str, yyvsp[-1].str, yyvsp[0].str);
- ;
- break;}
- case 138:
- #line 1342 "preproc.y"
- {
- yyval.str = make3_str(yyvsp[-2].str, make1_str(" serial "), yyvsp[0].str);
- ;
- break;}
- case 139:
- #line 1347 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 140:
- #line 1348 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 141:
- #line 1351 "preproc.y"
- { yyval.str = cat2_str(yyvsp[-1].str,yyvsp[0].str); ;
- break;}
- case 142:
- #line 1352 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 143:
- #line 1356 "preproc.y"
- {
- yyval.str = make1_str("primary key");
- ;
- break;}
- case 144:
- #line 1360 "preproc.y"
- {
- yyval.str = make1_str("");
- ;
- break;}
- case 145:
- #line 1367 "preproc.y"
- {
- yyval.str = cat3_str(make1_str("constraint"), yyvsp[-1].str, yyvsp[0].str);
- ;
- break;}
- case 146:
- #line 1371 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 147:
- #line 1385 "preproc.y"
- {
- yyval.str = make3_str(make1_str("check("), yyvsp[-1].str, make1_str(")"));
- ;
- break;}
- case 148:
- #line 1389 "preproc.y"
- {
- yyval.str = make1_str("default null");
- ;
- break;}
- case 149:
- #line 1393 "preproc.y"
- {
- yyval.str = cat2_str(make1_str("default"), yyvsp[0].str);
- ;
- break;}
- case 150:
- #line 1397 "preproc.y"
- {
- yyval.str = make1_str("not null");
- ;
- break;}
- case 151:
- #line 1401 "preproc.y"
- {
- yyval.str = make1_str("unique");
- ;
- break;}
- case 152:
- #line 1405 "preproc.y"
- {
- yyval.str = make1_str("primary key");
- ;
- break;}
- case 153:
- #line 1409 "preproc.y"
- {
- fprintf(stderr, "CREATE TABLE/FOREIGN KEY clause ignored; not yet implemented");
- yyval.str = make1_str("");
- ;
- break;}
- case 154:
- #line 1416 "preproc.y"
- {
- yyval.str = cat3_str(yyvsp[-2].str, make1_str(","), yyvsp[0].str);
- ;
- break;}
- case 155:
- #line 1420 "preproc.y"
- {
- yyval.str = yyvsp[0].str;
- ;
- break;}
- case 156:
- #line 1434 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 157:
- #line 1436 "preproc.y"
- { yyval.str = cat2_str(make1_str("-"), yyvsp[0].str); ;
- break;}
- case 158:
- #line 1438 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str("+"), yyvsp[0].str); ;
- break;}
- case 159:
- #line 1440 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str("-"), yyvsp[0].str); ;
- break;}
- case 160:
- #line 1442 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str("/"), yyvsp[0].str); ;
- break;}
- case 161:
- #line 1444 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str("%"), yyvsp[0].str); ;
- break;}
- case 162:
- #line 1446 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str("*"), yyvsp[0].str); ;
- break;}
- case 163:
- #line 1448 "preproc.y"
- { yyerror("boolean expressions not supported in DEFAULT"); ;
- break;}
- case 164:
- #line 1450 "preproc.y"
- { yyerror("boolean expressions not supported in DEFAULT"); ;
- break;}
- case 165:
- #line 1452 "preproc.y"
- { yyerror("boolean expressions not supported in DEFAULT"); ;
- break;}
- case 166:
- #line 1458 "preproc.y"
- { yyval.str = cat2_str(make1_str(";"), yyvsp[0].str); ;
- break;}
- case 167:
- #line 1460 "preproc.y"
- { yyval.str = cat2_str(make1_str("|"), yyvsp[0].str); ;
- break;}
- case 168:
- #line 1462 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str("::"), yyvsp[0].str); ;
- break;}
- case 169:
- #line 1464 "preproc.y"
- {
- yyval.str = cat3_str(make2_str(make1_str("cast("), yyvsp[-3].str) , make1_str("as"), make2_str(yyvsp[-1].str, make1_str(")")));
- ;
- break;}
- case 170:
- #line 1468 "preproc.y"
- { yyval.str = make3_str(make1_str("("), yyvsp[-1].str, make1_str(")")); ;
- break;}
- case 171:
- #line 1470 "preproc.y"
- { yyval.str = cat2_str(yyvsp[-2].str, make1_str("()")); ;
- break;}
- case 172:
- #line 1472 "preproc.y"
- { yyval.str = cat2_str(yyvsp[-3].str, make3_str(make1_str("("), yyvsp[-1].str, make1_str(")"))); ;
- break;}
- case 173:
- #line 1474 "preproc.y"
- {
- if (!strcmp("<=", yyvsp[-1].str) || !strcmp(">=", yyvsp[-1].str))
- yyerror("boolean expressions not supported in DEFAULT");
- yyval.str = cat3_str(yyvsp[-2].str, yyvsp[-1].str, yyvsp[0].str);
- ;
- break;}
- case 174:
- #line 1480 "preproc.y"
- { yyval.str = cat2_str(yyvsp[-1].str, yyvsp[0].str); ;
- break;}
- case 175:
- #line 1482 "preproc.y"
- { yyval.str = cat2_str(yyvsp[-1].str, yyvsp[0].str); ;
- break;}
- case 176:
- #line 1485 "preproc.y"
- { yyval.str = make1_str("current_date"); ;
- break;}
- case 177:
- #line 1487 "preproc.y"
- { yyval.str = make1_str("current_time"); ;
- break;}
- case 178:
- #line 1489 "preproc.y"
- {
- if (yyvsp[-1].str != 0)
- fprintf(stderr, "CURRENT_TIME(%s) precision not implemented; zero used instead",yyvsp[-1].str);
- yyval.str = "current_time";
- ;
- break;}
- case 179:
- #line 1495 "preproc.y"
- { yyval.str = make1_str("current_timestamp"); ;
- break;}
- case 180:
- #line 1497 "preproc.y"
- {
- if (yyvsp[-1].str != 0)
- fprintf(stderr, "CURRENT_TIMESTAMP(%s) precision not implemented; zero used instead",yyvsp[-1].str);
- yyval.str = "current_timestamp";
- ;
- break;}
- case 181:
- #line 1503 "preproc.y"
- { yyval.str = make1_str("current_user"); ;
- break;}
- case 182:
- #line 1505 "preproc.y"
- { yyval.str = make1_str("user"); ;
- break;}
- case 183:
- #line 1513 "preproc.y"
- {
- yyval.str = cat3_str(make1_str("constraint"), yyvsp[-1].str, yyvsp[0].str);
- ;
- break;}
- case 184:
- #line 1517 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 185:
- #line 1521 "preproc.y"
- {
- yyval.str = make3_str(make1_str("check("), yyvsp[-1].str, make1_str(")"));
- ;
- break;}
- case 186:
- #line 1525 "preproc.y"
- {
- yyval.str = make3_str(make1_str("unique("), yyvsp[-1].str, make1_str(")"));
- ;
- break;}
- case 187:
- #line 1529 "preproc.y"
- {
- yyval.str = make3_str(make1_str("primary key("), yyvsp[-1].str, make1_str(")"));
- ;
- break;}
- case 188:
- #line 1533 "preproc.y"
- {
- fprintf(stderr, "CREATE TABLE/FOREIGN KEY clause ignored; not yet implemented");
- yyval.str = "";
- ;
- break;}
- case 189:
- #line 1540 "preproc.y"
- {
- yyval.str = cat3_str(yyvsp[-2].str, make1_str(","), yyvsp[0].str);
- ;
- break;}
- case 190:
- #line 1544 "preproc.y"
- {
- yyval.str = yyvsp[0].str;
- ;
- break;}
- case 191:
- #line 1550 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 192:
- #line 1552 "preproc.y"
- { yyval.str = make1_str("null"); ;
- break;}
- case 193:
- #line 1554 "preproc.y"
- {
- yyval.str = yyvsp[0].str;
- ;
- break;}
- case 194:
- #line 1558 "preproc.y"
- { yyval.str = cat2_str(make1_str("-"), yyvsp[0].str); ;
- break;}
- case 195:
- #line 1560 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str("+"), yyvsp[0].str); ;
- break;}
- case 196:
- #line 1562 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str("-"), yyvsp[0].str); ;
- break;}
- case 197:
- #line 1564 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str("/"), yyvsp[0].str); ;
- break;}
- case 198:
- #line 1566 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str("%"), yyvsp[0].str); ;
- break;}
- case 199:
- #line 1568 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str("*"), yyvsp[0].str); ;
- break;}
- case 200:
- #line 1570 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str("="), yyvsp[0].str); ;
- break;}
- case 201:
- #line 1572 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str("<"), yyvsp[0].str); ;
- break;}
- case 202:
- #line 1574 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str(">"), yyvsp[0].str); ;
- break;}
- case 203:
- #line 1580 "preproc.y"
- { yyval.str = cat2_str(make1_str(";"), yyvsp[0].str); ;
- break;}
- case 204:
- #line 1582 "preproc.y"
- { yyval.str = cat2_str(make1_str("|"), yyvsp[0].str); ;
- break;}
- case 205:
- #line 1584 "preproc.y"
- {
- yyval.str = cat3_str(yyvsp[-2].str, make1_str("::"), yyvsp[0].str);
- ;
- break;}
- case 206:
- #line 1588 "preproc.y"
- {
- yyval.str = cat3_str(make2_str(make1_str("cast("), yyvsp[-3].str), make1_str("as"), make2_str(yyvsp[-1].str, make1_str(")")));
- ;
- break;}
- case 207:
- #line 1592 "preproc.y"
- { yyval.str = make3_str(make1_str("("), yyvsp[-1].str, make1_str(")")); ;
- break;}
- case 208:
- #line 1594 "preproc.y"
- {
- { yyval.str = cat2_str(yyvsp[-2].str, make1_str("()")); }
- ;
- break;}
- case 209:
- #line 1598 "preproc.y"
- {
- yyval.str = cat2_str(yyvsp[-3].str, make3_str(make1_str("("), yyvsp[-1].str, make1_str(")")));
- ;
- break;}
- case 210:
- #line 1602 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, yyvsp[-1].str, yyvsp[0].str); ;
- break;}
- case 211:
- #line 1604 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str("like"), yyvsp[0].str); ;
- break;}
- case 212:
- #line 1606 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-3].str, make1_str("not like"), yyvsp[0].str); ;
- break;}
- case 213:
- #line 1608 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str("and"), yyvsp[0].str); ;
- break;}
- case 214:
- #line 1610 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str("or"), yyvsp[0].str); ;
- break;}
- case 215:
- #line 1612 "preproc.y"
- { yyval.str = cat2_str(make1_str("not"), yyvsp[0].str); ;
- break;}
- case 216:
- #line 1614 "preproc.y"
- { yyval.str = cat2_str(yyvsp[-1].str, yyvsp[0].str); ;
- break;}
- case 217:
- #line 1616 "preproc.y"
- { yyval.str = cat2_str(yyvsp[-1].str, yyvsp[0].str); ;
- break;}
- case 218:
- #line 1618 "preproc.y"
- { yyval.str = cat2_str(yyvsp[-1].str, make1_str("isnull")); ;
- break;}
- case 219:
- #line 1620 "preproc.y"
- { yyval.str = cat2_str(yyvsp[-2].str, make1_str("is null")); ;
- break;}
- case 220:
- #line 1622 "preproc.y"
- { yyval.str = cat2_str(yyvsp[-1].str, make1_str("notnull")); ;
- break;}
- case 221:
- #line 1624 "preproc.y"
- { yyval.str = cat2_str(yyvsp[-3].str, make1_str("is not null")); ;
- break;}
- case 222:
- #line 1626 "preproc.y"
- { yyval.str = cat2_str(yyvsp[-2].str, make1_str("is true")); ;
- break;}
- case 223:
- #line 1628 "preproc.y"
- { yyval.str = cat2_str(yyvsp[-2].str, make1_str("is false")); ;
- break;}
- case 224:
- #line 1630 "preproc.y"
- { yyval.str = cat2_str(yyvsp[-3].str, make1_str("is not true")); ;
- break;}
- case 225:
- #line 1632 "preproc.y"
- { yyval.str = cat2_str(yyvsp[-3].str, make1_str("is not false")); ;
- break;}
- case 226:
- #line 1634 "preproc.y"
- { yyval.str = cat4_str(yyvsp[-4].str, make1_str("in ("), yyvsp[-1].str, make1_str(")")); ;
- break;}
- case 227:
- #line 1636 "preproc.y"
- { yyval.str = cat4_str(yyvsp[-5].str, make1_str("not in ("), yyvsp[-1].str, make1_str(")")); ;
- break;}
- case 228:
- #line 1638 "preproc.y"
- { yyval.str = cat5_str(yyvsp[-4].str, make1_str("between"), yyvsp[-2].str, make1_str("and"), yyvsp[0].str); ;
- break;}
- case 229:
- #line 1640 "preproc.y"
- { yyval.str = cat5_str(yyvsp[-5].str, make1_str("not between"), yyvsp[-2].str, make1_str("and"), yyvsp[0].str); ;
- break;}
- case 230:
- #line 1643 "preproc.y"
- {
- yyval.str = make3_str(yyvsp[-2].str, make1_str(", "), yyvsp[0].str);
- ;
- break;}
- case 231:
- #line 1647 "preproc.y"
- {
- yyval.str = yyvsp[0].str;
- ;
- break;}
- case 232:
- #line 1652 "preproc.y"
- {
- yyval.str = yyvsp[0].str;
- ;
- break;}
- case 233:
- #line 1656 "preproc.y"
- { yyval.str = make1_str("match full"); ;
- break;}
- case 234:
- #line 1657 "preproc.y"
- { yyval.str = make1_str("match partial"); ;
- break;}
- case 235:
- #line 1658 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 236:
- #line 1661 "preproc.y"
- { yyval.str = cat2_str(yyvsp[-1].str, yyvsp[0].str); ;
- break;}
- case 237:
- #line 1662 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 238:
- #line 1663 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 239:
- #line 1666 "preproc.y"
- { yyval.str = cat2_str(make1_str("on delete"), yyvsp[0].str); ;
- break;}
- case 240:
- #line 1667 "preproc.y"
- { yyval.str = cat2_str(make1_str("on update"), yyvsp[0].str); ;
- break;}
- case 241:
- #line 1670 "preproc.y"
- { yyval.str = make1_str("no action"); ;
- break;}
- case 242:
- #line 1671 "preproc.y"
- { yyval.str = make1_str("cascade"); ;
- break;}
- case 243:
- #line 1672 "preproc.y"
- { yyval.str = make1_str("set default"); ;
- break;}
- case 244:
- #line 1673 "preproc.y"
- { yyval.str = make1_str("set null"); ;
- break;}
- case 245:
- #line 1676 "preproc.y"
- { yyval.str = make3_str(make1_str("inherits ("), yyvsp[-1].str, make1_str(")")); ;
- break;}
- case 246:
- #line 1677 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 247:
- #line 1681 "preproc.y"
- {
- yyval.str = cat5_str(cat3_str(make1_str("create"), yyvsp[-5].str, make1_str("table")), yyvsp[-3].str, yyvsp[-2].str, make1_str("as"), yyvsp[0].str);
- ;
- break;}
- case 248:
- #line 1686 "preproc.y"
- { yyval.str = make3_str(make1_str("("), yyvsp[-1].str, make1_str(")")); ;
- break;}
- case 249:
- #line 1687 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 250:
- #line 1690 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str(","), yyvsp[0].str); ;
- break;}
- case 251:
- #line 1691 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 252:
- #line 1694 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 253:
- #line 1705 "preproc.y"
- {
- yyval.str = cat3_str(make1_str("create sequence"), yyvsp[-1].str, yyvsp[0].str);
- ;
- break;}
- case 254:
- #line 1711 "preproc.y"
- { yyval.str = cat2_str(yyvsp[-1].str, yyvsp[0].str); ;
- break;}
- case 255:
- #line 1712 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 256:
- #line 1716 "preproc.y"
- {
- yyval.str = cat2_str(make1_str("cache"), yyvsp[0].str);
- ;
- break;}
- case 257:
- #line 1720 "preproc.y"
- {
- yyval.str = make1_str("cycle");
- ;
- break;}
- case 258:
- #line 1724 "preproc.y"
- {
- yyval.str = cat2_str(make1_str("increment"), yyvsp[0].str);
- ;
- break;}
- case 259:
- #line 1728 "preproc.y"
- {
- yyval.str = cat2_str(make1_str("maxvalue"), yyvsp[0].str);
- ;
- break;}
- case 260:
- #line 1732 "preproc.y"
- {
- yyval.str = cat2_str(make1_str("minvalue"), yyvsp[0].str);
- ;
- break;}
- case 261:
- #line 1736 "preproc.y"
- {
- yyval.str = cat2_str(make1_str("start"), yyvsp[0].str);
- ;
- break;}
- case 262:
- #line 1741 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 263:
- #line 1742 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 264:
- #line 1745 "preproc.y"
- {
- yyval.str = yyvsp[0].str;
- ;
- break;}
- case 265:
- #line 1749 "preproc.y"
- {
- yyval.str = cat2_str(make1_str("-"), yyvsp[0].str);
- ;
- break;}
- case 266:
- #line 1756 "preproc.y"
- {
- yyval.str = yyvsp[0].str;
- ;
- break;}
- case 267:
- #line 1760 "preproc.y"
- {
- yyval.str = cat2_str(make1_str("-"), yyvsp[0].str);
- ;
- break;}
- case 268:
- #line 1775 "preproc.y"
- {
- yyval.str = cat4_str(cat5_str(make1_str("create"), yyvsp[-7].str, make1_str("precedural language"), yyvsp[-4].str, make1_str("handler")), yyvsp[-2].str, make1_str("langcompiler"), yyvsp[0].str);
- ;
- break;}
- case 269:
- #line 1780 "preproc.y"
- { yyval.str = make1_str("trusted"); ;
- break;}
- case 270:
- #line 1781 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 271:
- #line 1784 "preproc.y"
- {
- yyval.str = cat2_str(make1_str("drop procedural language"), yyvsp[0].str);
- ;
- break;}
- case 272:
- #line 1800 "preproc.y"
- {
- yyval.str = cat2_str(cat5_str(cat5_str(make1_str("create trigger"), yyvsp[-11].str, yyvsp[-10].str, yyvsp[-9].str, make1_str("on")), yyvsp[-7].str, yyvsp[-6].str, make1_str("execute procedure"), yyvsp[-3].str), make3_str(make1_str("("), yyvsp[-1].str, make1_str(")")));
- ;
- break;}
- case 273:
- #line 1805 "preproc.y"
- { yyval.str = make1_str("before"); ;
- break;}
- case 274:
- #line 1806 "preproc.y"
- { yyval.str = make1_str("after"); ;
- break;}
- case 275:
- #line 1810 "preproc.y"
- {
- yyval.str = yyvsp[0].str;
- ;
- break;}
- case 276:
- #line 1814 "preproc.y"
- {
- yyval.str = cat3_str(yyvsp[-2].str, make1_str("or"), yyvsp[0].str);
- ;
- break;}
- case 277:
- #line 1818 "preproc.y"
- {
- yyval.str = cat5_str(yyvsp[-4].str, make1_str("or"), yyvsp[-2].str, make1_str("or"), yyvsp[0].str);
- ;
- break;}
- case 278:
- #line 1823 "preproc.y"
- { yyval.str = make1_str("insert"); ;
- break;}
- case 279:
- #line 1824 "preproc.y"
- { yyval.str = make1_str("delete"); ;
- break;}
- case 280:
- #line 1825 "preproc.y"
- { yyval.str = make1_str("update"); ;
- break;}
- case 281:
- #line 1829 "preproc.y"
- {
- yyval.str = cat3_str(make1_str("for"), yyvsp[-1].str, yyvsp[0].str);
- ;
- break;}
- case 282:
- #line 1834 "preproc.y"
- { yyval.str = make1_str("each"); ;
- break;}
- case 283:
- #line 1835 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 284:
- #line 1838 "preproc.y"
- { yyval.str = make1_str("row"); ;
- break;}
- case 285:
- #line 1839 "preproc.y"
- { yyval.str = make1_str("statement"); ;
- break;}
- case 286:
- #line 1843 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 287:
- #line 1845 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str(","), yyvsp[0].str); ;
- break;}
- case 288:
- #line 1847 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 289:
- #line 1851 "preproc.y"
- {
- yyval.str = yyvsp[0].str;
- ;
- break;}
- case 290:
- #line 1855 "preproc.y"
- {
- yyval.str = yyvsp[0].str;
- ;
- break;}
- case 291:
- #line 1858 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 292:
- #line 1859 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 293:
- #line 1863 "preproc.y"
- {
- yyval.str = cat4_str(make1_str("drop trigger"), yyvsp[-2].str, make1_str("on"), yyvsp[0].str);
- ;
- break;}
- case 294:
- #line 1876 "preproc.y"
- {
- yyval.str = cat3_str(make1_str("create"), yyvsp[-1].str, yyvsp[0].str);
- ;
- break;}
- case 295:
- #line 1882 "preproc.y"
- {
- yyval.str = cat2_str(yyvsp[-1].str, yyvsp[0].str);
- ;
- break;}
- case 296:
- #line 1887 "preproc.y"
- { yyval.str = make1_str("operator"); ;
- break;}
- case 297:
- #line 1888 "preproc.y"
- { yyval.str = make1_str("type"); ;
- break;}
- case 298:
- #line 1889 "preproc.y"
- { yyval.str = make1_str("aggregate"); ;
- break;}
- case 299:
- #line 1892 "preproc.y"
- { yyval.str = make1_str("procedure"); ;
- break;}
- case 300:
- #line 1893 "preproc.y"
- { yyval.str = make1_str("join"); ;
- break;}
- case 301:
- #line 1894 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 302:
- #line 1895 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 303:
- #line 1896 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 304:
- #line 1899 "preproc.y"
- { yyval.str = make3_str(make1_str("("), yyvsp[-1].str, make1_str(")")); ;
- break;}
- case 305:
- #line 1902 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 306:
- #line 1903 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str(","), yyvsp[0].str); ;
- break;}
- case 307:
- #line 1906 "preproc.y"
- {
- yyval.str = cat3_str(yyvsp[-2].str, make1_str("="), yyvsp[0].str);
- ;
- break;}
- case 308:
- #line 1910 "preproc.y"
- {
- yyval.str = yyvsp[0].str;
- ;
- break;}
- case 309:
- #line 1914 "preproc.y"
- {
- yyval.str = cat2_str(make1_str("default ="), yyvsp[0].str);
- ;
- break;}
- case 310:
- #line 1919 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 311:
- #line 1920 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 312:
- #line 1921 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 313:
- #line 1922 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 314:
- #line 1924 "preproc.y"
- {
- yyval.str = cat2_str(make1_str("setof"), yyvsp[0].str);
- ;
- break;}
- case 315:
- #line 1937 "preproc.y"
- {
- yyval.str = cat2_str(make1_str("drop table"), yyvsp[0].str);
- ;
- break;}
- case 316:
- #line 1941 "preproc.y"
- {
- yyval.str = cat2_str(make1_str("drop sequence"), yyvsp[0].str);
- ;
- break;}
- case 317:
- #line 1958 "preproc.y"
- {
- if (strncmp(yyvsp[-4].str, "relative", strlen("relative")) == 0 && atol(yyvsp[-3].str) == 0L)
- yyerror("FETCH/RELATIVE at current position is not supported");
- yyval.str = cat4_str(make1_str("fetch"), yyvsp[-4].str, yyvsp[-3].str, yyvsp[-2].str);
- ;
- break;}
- case 318:
- #line 1965 "preproc.y"
- {
- yyval.str = cat4_str(make1_str("fetch"), yyvsp[-2].str, yyvsp[-1].str, yyvsp[0].str);
- ;
- break;}
- case 319:
- #line 1970 "preproc.y"
- { yyval.str = make1_str("forward"); ;
- break;}
- case 320:
- #line 1971 "preproc.y"
- { yyval.str = make1_str("backward"); ;
- break;}
- case 321:
- #line 1972 "preproc.y"
- { yyval.str = make1_str("relative"); ;
- break;}
- case 322:
- #line 1974 "preproc.y"
- {
- fprintf(stderr, "FETCH/ABSOLUTE not supported, using RELATIVE");
- yyval.str = make1_str("absolute");
- ;
- break;}
- case 323:
- #line 1978 "preproc.y"
- { yyval.str = make1_str(""); /* default */ ;
- break;}
- case 324:
- #line 1981 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 325:
- #line 1982 "preproc.y"
- { yyval.str = make2_str(make1_str("-"), yyvsp[0].str); ;
- break;}
- case 326:
- #line 1983 "preproc.y"
- { yyval.str = make1_str("all"); ;
- break;}
- case 327:
- #line 1984 "preproc.y"
- { yyval.str = make1_str("next"); ;
- break;}
- case 328:
- #line 1985 "preproc.y"
- { yyval.str = make1_str("prior"); ;
- break;}
- case 329:
- #line 1986 "preproc.y"
- { yyval.str = make1_str(""); /*default*/ ;
- break;}
- case 330:
- #line 1989 "preproc.y"
- { yyval.str = cat2_str(make1_str("in"), yyvsp[0].str); ;
- break;}
- case 331:
- #line 1990 "preproc.y"
- { yyval.str = cat2_str(make1_str("from"), yyvsp[0].str); ;
- break;}
- case 332:
- #line 1992 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 333:
- #line 2004 "preproc.y"
- {
- yyval.str = cat2_str(cat5_str(make1_str("grant"), yyvsp[-5].str, make1_str("on"), yyvsp[-3].str, make1_str("to")), yyvsp[-1].str);
- ;
- break;}
- case 334:
- #line 2010 "preproc.y"
- {
- yyval.str = make1_str("all privileges");
- ;
- break;}
- case 335:
- #line 2014 "preproc.y"
- {
- yyval.str = make1_str("all");
- ;
- break;}
- case 336:
- #line 2018 "preproc.y"
- {
- yyval.str = yyvsp[0].str;
- ;
- break;}
- case 337:
- #line 2024 "preproc.y"
- {
- yyval.str = yyvsp[0].str;
- ;
- break;}
- case 338:
- #line 2028 "preproc.y"
- {
- yyval.str = cat3_str(yyvsp[-2].str, make1_str(","), yyvsp[0].str);
- ;
- break;}
- case 339:
- #line 2034 "preproc.y"
- {
- yyval.str = make1_str("select");
- ;
- break;}
- case 340:
- #line 2038 "preproc.y"
- {
- yyval.str = make1_str("insert");
- ;
- break;}
- case 341:
- #line 2042 "preproc.y"
- {
- yyval.str = make1_str("update");
- ;
- break;}
- case 342:
- #line 2046 "preproc.y"
- {
- yyval.str = make1_str("delete");
- ;
- break;}
- case 343:
- #line 2050 "preproc.y"
- {
- yyval.str = make1_str("rule");
- ;
- break;}
- case 344:
- #line 2056 "preproc.y"
- {
- yyval.str = make1_str("public");
- ;
- break;}
- case 345:
- #line 2060 "preproc.y"
- {
- yyval.str = cat2_str(make1_str("group"), yyvsp[0].str);
- ;
- break;}
- case 346:
- #line 2064 "preproc.y"
- {
- yyval.str = yyvsp[0].str;
- ;
- break;}
- case 347:
- #line 2070 "preproc.y"
- {
- yyerror("WITH GRANT OPTION is not supported. Only relation owners can set privileges");
- ;
- break;}
- case 349:
- #line 2085 "preproc.y"
- {
- yyval.str = cat2_str(cat5_str(make1_str("revoke"), yyvsp[-4].str, make1_str("on"), yyvsp[-2].str, make1_str("from")), yyvsp[0].str);
- ;
- break;}
- case 350:
- #line 2104 "preproc.y"
- {
- /* should check that access_method is valid,
- etc ... but doesn't */
- yyval.str = cat5_str(cat5_str(make1_str("create"), yyvsp[-9].str, make1_str("index"), yyvsp[-7].str, make1_str("on")), yyvsp[-5].str, yyvsp[-4].str, make3_str(make1_str("("), yyvsp[-2].str, make1_str(")")), yyvsp[0].str);
- ;
- break;}
- case 351:
- #line 2111 "preproc.y"
- { yyval.str = make1_str("unique"); ;
- break;}
- case 352:
- #line 2112 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 353:
- #line 2115 "preproc.y"
- { yyval.str = cat2_str(make1_str("using"), yyvsp[0].str); ;
- break;}
- case 354:
- #line 2116 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 355:
- #line 2119 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 356:
- #line 2120 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 357:
- #line 2123 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str(","), yyvsp[0].str); ;
- break;}
- case 358:
- #line 2124 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 359:
- #line 2128 "preproc.y"
- {
- yyval.str = cat4_str(yyvsp[-5].str, make3_str(make1_str("("), yyvsp[-3].str, ")"), yyvsp[-1].str, yyvsp[0].str);
- ;
- break;}
- case 360:
- #line 2134 "preproc.y"
- {
- yyval.str = cat3_str(yyvsp[-2].str, yyvsp[-1].str, yyvsp[0].str);
- ;
- break;}
- case 361:
- #line 2139 "preproc.y"
- { yyval.str = cat2_str(make1_str(":"), yyvsp[0].str); ;
- break;}
- case 362:
- #line 2140 "preproc.y"
- { yyval.str = cat2_str(make1_str("for"), yyvsp[0].str); ;
- break;}
- case 363:
- #line 2141 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 364:
- #line 2150 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 365:
- #line 2151 "preproc.y"
- { yyval.str = cat2_str(make1_str("using"), yyvsp[0].str); ;
- break;}
- case 366:
- #line 2152 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 367:
- #line 2163 "preproc.y"
- {
- yyval.str = cat3_str(make1_str("extend index"), yyvsp[-1].str, yyvsp[0].str);
- ;
- break;}
- case 368:
- #line 2200 "preproc.y"
- {
- yyval.str = cat2_str(cat5_str(cat5_str(make1_str("create function"), yyvsp[-8].str, yyvsp[-7].str, make1_str("returns"), yyvsp[-5].str), yyvsp[-4].str, make1_str("as"), yyvsp[-2].str, make1_str("language")), yyvsp[0].str);
- ;
- break;}
- case 369:
- #line 2204 "preproc.y"
- { yyval.str = cat2_str(make1_str("with"), yyvsp[0].str); ;
- break;}
- case 370:
- #line 2205 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 371:
- #line 2208 "preproc.y"
- { yyval.str = make3_str(make1_str("("), yyvsp[-1].str, make1_str(")")); ;
- break;}
- case 372:
- #line 2209 "preproc.y"
- { yyval.str = make1_str("()"); ;
- break;}
- case 373:
- #line 2212 "preproc.y"
- { yyval.str = yyvsp[0].str; ;
- break;}
- case 374:
- #line 2214 "preproc.y"
- { yyval.str = cat3_str(yyvsp[-2].str, make1_str(","), yyvsp[0].str); ;
- break;}
- case 375:
- #line 2218 "preproc.y"
- {
- yyval.str = cat2_str(yyvsp[-1].str, yyvsp[0].str);
- ;
- break;}
- case 376:
- #line 2223 "preproc.y"
- { yyval.str = make1_str("setof"); ;
- break;}
- case 377:
- #line 2224 "preproc.y"
- { yyval.str = make1_str(""); ;
- break;}
- case 378:
- #line 2246 "preproc.y"
- {
- yyval.str = cat3_str(make1_str("drop"), yyvsp[-1].str, yyvsp[0].str);
- ;
- break;}
- case 379:
- #line 2251 "preproc.y"
- { yyval.str = make1_str("type"); ;
- break;}
- case 380:
- #line 2252 "preproc.y"
- { yyval.str = make1_str("index"); ;
- break;}
- case 381:
- #line 2253 "preproc.y"
- { yyval.str = make1_str("rule"); ;
- break;}
- case 382:
- #line 2254 "preproc.y"
- { yyval.str = make1_str("view"); ;
- break;}