From 21659a76e8c574442c7277964c4c380029ceeb41 Mon Sep 17 00:00:00 2001 From: "Uwe.Tews" Date: Wed, 22 Jul 2009 16:22:24 +0000 Subject: [PATCH] - fix of "$" handling indouble quoted strings --- libs/sysplugins/internal.templateparser.php | 949 ++++++++++---------- 1 file changed, 483 insertions(+), 466 deletions(-) diff --git a/libs/sysplugins/internal.templateparser.php b/libs/sysplugins/internal.templateparser.php index 1d2320dd..71fa94d1 100644 --- a/libs/sysplugins/internal.templateparser.php +++ b/libs/sysplugins/internal.templateparser.php @@ -214,9 +214,9 @@ class Smarty_Internal_Templateparser#line 109 "internal.templateparser.php" const TP_PHPSTART = 65; const TP_PHPEND = 66; const TP_XML = 67; - const YY_NO_ACTION = 423; - const YY_ACCEPT_ACTION = 422; - const YY_ERROR_ACTION = 421; + const YY_NO_ACTION = 429; + const YY_ACCEPT_ACTION = 428; + const YY_ERROR_ACTION = 427; /* Next are that tables used to determine what action to take based on the ** current state and lookahead token. These tables are used to implement @@ -268,240 +268,236 @@ class Smarty_Internal_Templateparser#line 109 "internal.templateparser.php" ** shifting non-terminals after a reduce. ** self::$yy_default Default action for each state. */ - const YY_SZ_ACTTAB = 952; + const YY_SZ_ACTTAB = 938; static public $yy_action = array( - /* 0 */ 174, 173, 170, 422, 48, 177, 206, 31, 22, 192, - /* 10 */ 39, 20, 184, 188, 187, 180, 5, 2, 10, 6, - /* 20 */ 8, 9, 14, 22, 173, 170, 227, 225, 210, 271, - /* 30 */ 209, 135, 235, 191, 215, 184, 188, 187, 180, 5, - /* 40 */ 2, 10, 6, 8, 9, 27, 226, 165, 29, 215, - /* 50 */ 200, 45, 221, 115, 57, 210, 204, 209, 238, 129, - /* 60 */ 135, 36, 203, 111, 173, 170, 248, 213, 245, 246, - /* 70 */ 251, 252, 257, 256, 243, 184, 188, 187, 180, 5, - /* 80 */ 2, 10, 6, 8, 9, 13, 146, 223, 149, 205, - /* 90 */ 109, 189, 129, 98, 201, 135, 34, 1, 152, 18, - /* 100 */ 214, 243, 250, 249, 173, 170, 66, 254, 198, 199, - /* 110 */ 60, 22, 220, 190, 61, 184, 188, 187, 180, 5, - /* 120 */ 2, 10, 6, 8, 9, 107, 156, 210, 37, 209, - /* 130 */ 11, 117, 12, 26, 63, 31, 123, 215, 39, 204, - /* 140 */ 210, 238, 209, 156, 140, 138, 38, 28, 13, 12, - /* 150 */ 99, 61, 129, 210, 7, 209, 98, 51, 55, 193, - /* 160 */ 273, 243, 137, 33, 140, 156, 22, 37, 259, 28, - /* 170 */ 179, 12, 247, 61, 51, 55, 193, 273, 61, 189, - /* 180 */ 50, 140, 201, 105, 132, 70, 151, 136, 26, 172, - /* 190 */ 145, 161, 215, 91, 269, 254, 51, 55, 193, 273, - /* 200 */ 135, 190, 13, 140, 30, 196, 253, 156, 140, 37, - /* 210 */ 98, 11, 154, 12, 236, 56, 25, 156, 104, 37, - /* 220 */ 126, 28, 13, 12, 216, 63, 131, 22, 211, 243, - /* 230 */ 98, 227, 225, 19, 135, 7, 138, 224, 51, 55, - /* 240 */ 193, 273, 16, 227, 225, 140, 135, 61, 51, 55, - /* 250 */ 193, 273, 217, 215, 157, 140, 156, 201, 37, 141, - /* 260 */ 28, 135, 12, 231, 63, 24, 36, 248, 213, 245, - /* 270 */ 246, 251, 252, 257, 256, 130, 190, 140, 36, 96, - /* 280 */ 150, 61, 231, 128, 24, 100, 201, 51, 55, 193, - /* 290 */ 273, 175, 153, 113, 140, 129, 3, 34, 156, 150, - /* 300 */ 37, 240, 28, 232, 12, 190, 63, 22, 156, 41, - /* 310 */ 37, 140, 28, 141, 12, 147, 61, 40, 201, 23, - /* 320 */ 228, 32, 268, 17, 218, 88, 141, 137, 41, 51, - /* 330 */ 55, 193, 273, 155, 267, 186, 140, 190, 201, 51, - /* 340 */ 55, 193, 273, 156, 169, 37, 140, 28, 263, 12, - /* 350 */ 189, 61, 13, 201, 217, 234, 141, 190, 159, 197, - /* 360 */ 98, 262, 134, 135, 43, 261, 254, 214, 241, 166, - /* 370 */ 141, 255, 190, 22, 51, 55, 193, 273, 46, 189, - /* 380 */ 50, 140, 201, 81, 22, 71, 38, 141, 135, 265, - /* 390 */ 182, 181, 125, 91, 54, 254, 158, 127, 233, 215, - /* 400 */ 53, 190, 189, 50, 92, 201, 253, 89, 77, 244, - /* 410 */ 215, 141, 135, 182, 181, 244, 91, 135, 254, 244, - /* 420 */ 189, 49, 244, 201, 190, 210, 72, 209, 86, 253, - /* 430 */ 154, 182, 181, 135, 91, 141, 254, 189, 50, 208, - /* 440 */ 201, 106, 190, 73, 141, 162, 148, 253, 182, 181, - /* 450 */ 85, 91, 243, 254, 189, 50, 124, 201, 87, 190, - /* 460 */ 78, 238, 197, 90, 253, 182, 181, 52, 91, 58, - /* 470 */ 254, 185, 206, 244, 103, 272, 190, 189, 50, 14, - /* 480 */ 201, 253, 244, 80, 197, 243, 67, 230, 182, 181, - /* 490 */ 139, 91, 168, 254, 68, 189, 95, 197, 201, 190, - /* 500 */ 114, 19, 112, 266, 253, 238, 182, 181, 237, 91, - /* 510 */ 212, 254, 260, 65, 171, 4, 21, 190, 189, 50, - /* 520 */ 144, 201, 62, 143, 79, 133, 239, 219, 189, 182, - /* 530 */ 181, 201, 91, 59, 254, 189, 50, 264, 201, 258, - /* 540 */ 190, 75, 178, 202, 254, 253, 182, 181, 194, 91, - /* 550 */ 190, 254, 189, 50, 176, 201, 189, 190, 76, 201, - /* 560 */ 69, 167, 253, 182, 181, 270, 91, 183, 254, 207, - /* 570 */ 189, 50, 254, 201, 190, 222, 74, 204, 190, 253, - /* 580 */ 141, 182, 181, 214, 91, 156, 254, 64, 35, 28, - /* 590 */ 195, 32, 190, 61, 15, 42, 257, 253, 108, 257, - /* 600 */ 257, 223, 257, 257, 137, 257, 257, 257, 257, 257, - /* 610 */ 189, 97, 257, 201, 257, 257, 51, 55, 193, 273, - /* 620 */ 257, 182, 181, 140, 91, 257, 254, 189, 97, 164, - /* 630 */ 201, 257, 190, 257, 257, 257, 257, 257, 182, 181, - /* 640 */ 257, 91, 257, 254, 257, 257, 163, 257, 257, 190, - /* 650 */ 257, 189, 97, 257, 201, 257, 257, 257, 257, 257, - /* 660 */ 257, 257, 182, 181, 257, 91, 257, 254, 189, 97, - /* 670 */ 160, 201, 257, 190, 257, 257, 257, 257, 257, 182, - /* 680 */ 181, 257, 91, 257, 254, 189, 95, 242, 201, 257, - /* 690 */ 190, 257, 189, 120, 257, 201, 182, 181, 257, 91, - /* 700 */ 257, 254, 257, 182, 181, 257, 91, 190, 254, 257, - /* 710 */ 257, 257, 257, 257, 190, 257, 229, 257, 189, 118, - /* 720 */ 257, 201, 257, 257, 257, 257, 257, 257, 257, 182, - /* 730 */ 181, 257, 91, 257, 254, 257, 257, 257, 189, 116, - /* 740 */ 190, 201, 257, 257, 257, 189, 47, 257, 201, 182, - /* 750 */ 181, 257, 91, 257, 254, 257, 182, 181, 257, 91, - /* 760 */ 190, 254, 189, 93, 257, 201, 257, 190, 257, 257, - /* 770 */ 257, 257, 257, 182, 181, 257, 91, 257, 254, 189, - /* 780 */ 119, 257, 201, 257, 190, 257, 257, 257, 257, 257, - /* 790 */ 182, 181, 257, 91, 257, 254, 189, 101, 257, 201, - /* 800 */ 257, 190, 257, 257, 257, 257, 257, 182, 181, 257, - /* 810 */ 91, 257, 254, 189, 44, 257, 142, 257, 190, 257, - /* 820 */ 189, 121, 257, 201, 182, 181, 257, 91, 257, 254, - /* 830 */ 257, 182, 181, 257, 91, 190, 254, 189, 110, 257, - /* 840 */ 201, 257, 190, 257, 257, 257, 257, 257, 182, 181, - /* 850 */ 257, 91, 257, 254, 189, 94, 257, 201, 257, 190, - /* 860 */ 257, 257, 257, 257, 257, 182, 181, 257, 91, 257, - /* 870 */ 254, 189, 102, 257, 201, 257, 190, 257, 257, 257, - /* 880 */ 257, 257, 182, 181, 257, 91, 257, 254, 189, 122, - /* 890 */ 257, 201, 257, 190, 257, 189, 257, 257, 201, 182, - /* 900 */ 181, 257, 91, 257, 254, 257, 182, 181, 257, 84, - /* 910 */ 190, 254, 189, 257, 257, 201, 257, 190, 257, 257, - /* 920 */ 257, 257, 257, 182, 181, 257, 82, 257, 254, 189, - /* 930 */ 257, 257, 201, 257, 190, 257, 257, 257, 257, 257, - /* 940 */ 182, 181, 257, 83, 257, 254, 257, 257, 257, 257, - /* 950 */ 257, 190, + /* 0 */ 152, 17, 270, 170, 238, 193, 217, 192, 7, 105, + /* 10 */ 17, 265, 269, 17, 272, 271, 187, 185, 105, 189, + /* 20 */ 137, 105, 1, 149, 29, 212, 147, 177, 178, 276, + /* 30 */ 209, 3, 4, 2, 11, 10, 5, 187, 185, 167, + /* 40 */ 237, 129, 217, 186, 217, 257, 37, 61, 177, 178, + /* 50 */ 276, 209, 3, 4, 2, 11, 10, 5, 223, 236, + /* 60 */ 18, 212, 61, 212, 47, 265, 269, 187, 185, 119, + /* 70 */ 215, 225, 213, 164, 239, 133, 25, 161, 177, 178, + /* 80 */ 276, 209, 3, 4, 2, 11, 10, 5, 222, 13, + /* 90 */ 265, 269, 161, 137, 273, 187, 185, 159, 182, 36, + /* 100 */ 37, 27, 241, 12, 41, 56, 177, 178, 276, 209, + /* 110 */ 3, 4, 2, 11, 10, 5, 136, 223, 159, 18, + /* 120 */ 36, 96, 8, 127, 12, 37, 56, 240, 51, 54, + /* 130 */ 176, 188, 221, 25, 133, 161, 137, 136, 99, 159, + /* 140 */ 17, 36, 107, 8, 127, 12, 6, 56, 105, 51, + /* 150 */ 54, 176, 188, 221, 20, 26, 161, 224, 136, 241, + /* 160 */ 246, 143, 28, 41, 206, 44, 247, 6, 57, 33, + /* 170 */ 51, 54, 176, 188, 153, 25, 159, 161, 36, 163, + /* 180 */ 8, 137, 12, 166, 59, 207, 217, 263, 262, 254, + /* 190 */ 253, 252, 250, 251, 255, 130, 193, 21, 192, 171, + /* 200 */ 98, 241, 217, 199, 6, 212, 264, 51, 54, 176, + /* 210 */ 188, 25, 214, 193, 161, 192, 31, 34, 111, 39, + /* 220 */ 65, 212, 196, 205, 63, 159, 242, 36, 153, 27, + /* 230 */ 229, 12, 243, 61, 137, 112, 153, 241, 170, 170, + /* 240 */ 50, 217, 217, 258, 132, 71, 151, 138, 261, 256, + /* 250 */ 154, 141, 153, 90, 189, 189, 51, 54, 176, 188, + /* 260 */ 212, 212, 193, 161, 192, 114, 260, 159, 213, 36, + /* 270 */ 239, 27, 216, 12, 195, 56, 259, 159, 137, 36, + /* 280 */ 220, 27, 19, 12, 126, 61, 136, 32, 69, 17, + /* 290 */ 91, 22, 244, 193, 219, 192, 135, 105, 51, 54, + /* 300 */ 176, 188, 61, 179, 137, 161, 61, 25, 51, 54, + /* 310 */ 176, 188, 159, 210, 36, 161, 27, 104, 12, 170, + /* 320 */ 61, 159, 217, 36, 194, 27, 102, 12, 128, 56, + /* 330 */ 174, 134, 161, 157, 180, 189, 161, 221, 165, 204, + /* 340 */ 40, 212, 113, 51, 54, 176, 188, 239, 249, 142, + /* 350 */ 161, 16, 51, 54, 176, 188, 159, 23, 36, 161, + /* 360 */ 27, 153, 12, 109, 56, 159, 25, 197, 14, 27, + /* 370 */ 193, 12, 192, 61, 221, 131, 428, 48, 201, 203, + /* 380 */ 208, 267, 31, 235, 135, 39, 62, 51, 54, 176, + /* 390 */ 188, 240, 241, 38, 161, 233, 51, 54, 176, 188, + /* 400 */ 137, 162, 25, 161, 33, 153, 263, 262, 254, 253, + /* 410 */ 252, 250, 251, 255, 231, 170, 50, 153, 217, 170, + /* 420 */ 227, 73, 217, 53, 26, 275, 173, 172, 241, 90, + /* 430 */ 183, 189, 125, 52, 137, 189, 34, 212, 274, 268, + /* 440 */ 137, 212, 260, 93, 170, 50, 42, 217, 274, 237, + /* 450 */ 79, 38, 137, 94, 221, 173, 172, 184, 90, 127, + /* 460 */ 189, 153, 170, 49, 221, 217, 212, 275, 72, 170, + /* 470 */ 50, 260, 217, 173, 172, 76, 90, 55, 189, 124, + /* 480 */ 173, 172, 9, 90, 212, 189, 137, 170, 50, 260, + /* 490 */ 217, 212, 274, 78, 153, 145, 260, 86, 173, 172, + /* 500 */ 127, 90, 81, 189, 170, 50, 92, 217, 218, 212, + /* 510 */ 77, 25, 274, 266, 260, 173, 172, 226, 90, 87, + /* 520 */ 189, 274, 170, 50, 24, 217, 212, 85, 70, 58, + /* 530 */ 116, 260, 140, 173, 172, 239, 90, 241, 189, 175, + /* 540 */ 170, 50, 274, 217, 212, 60, 74, 170, 95, 260, + /* 550 */ 217, 173, 172, 194, 90, 14, 189, 163, 173, 172, + /* 560 */ 200, 90, 212, 189, 202, 203, 144, 260, 64, 212, + /* 570 */ 89, 88, 29, 170, 50, 150, 217, 139, 230, 75, + /* 580 */ 170, 50, 66, 217, 173, 172, 80, 90, 156, 189, + /* 590 */ 211, 173, 172, 228, 90, 212, 189, 158, 170, 95, + /* 600 */ 260, 217, 212, 191, 194, 194, 169, 260, 146, 173, + /* 610 */ 172, 245, 90, 190, 189, 30, 170, 101, 159, 217, + /* 620 */ 212, 67, 27, 120, 198, 35, 61, 173, 172, 248, + /* 630 */ 90, 170, 189, 153, 217, 160, 237, 135, 212, 234, + /* 640 */ 213, 68, 173, 172, 15, 82, 181, 189, 43, 51, + /* 650 */ 54, 176, 188, 212, 170, 101, 161, 217, 260, 260, + /* 660 */ 108, 260, 260, 260, 260, 173, 172, 260, 90, 260, + /* 670 */ 189, 170, 101, 155, 217, 260, 212, 260, 260, 260, + /* 680 */ 260, 260, 173, 172, 260, 90, 260, 189, 260, 260, + /* 690 */ 232, 170, 101, 212, 217, 260, 260, 260, 260, 260, + /* 700 */ 260, 260, 173, 172, 260, 90, 170, 189, 260, 217, + /* 710 */ 168, 260, 260, 212, 260, 260, 260, 173, 172, 260, + /* 720 */ 84, 260, 189, 260, 170, 117, 260, 217, 212, 260, + /* 730 */ 260, 170, 103, 260, 217, 173, 172, 260, 90, 260, + /* 740 */ 189, 260, 173, 172, 260, 90, 212, 189, 170, 115, + /* 750 */ 260, 217, 260, 212, 260, 260, 260, 260, 260, 173, + /* 760 */ 172, 260, 90, 260, 189, 170, 110, 260, 217, 260, + /* 770 */ 212, 260, 260, 260, 260, 260, 173, 172, 260, 90, + /* 780 */ 260, 189, 170, 123, 260, 217, 260, 212, 260, 260, + /* 790 */ 260, 260, 260, 173, 172, 260, 90, 260, 189, 170, + /* 800 */ 97, 260, 217, 260, 212, 260, 170, 121, 260, 217, + /* 810 */ 173, 172, 260, 90, 260, 189, 260, 173, 172, 260, + /* 820 */ 90, 212, 189, 170, 106, 260, 217, 260, 212, 260, + /* 830 */ 260, 260, 260, 260, 173, 172, 260, 90, 260, 189, + /* 840 */ 170, 122, 260, 217, 260, 212, 260, 260, 260, 260, + /* 850 */ 260, 173, 172, 260, 90, 260, 189, 170, 45, 260, + /* 860 */ 217, 260, 212, 260, 260, 260, 260, 260, 173, 172, + /* 870 */ 260, 90, 260, 189, 170, 46, 260, 148, 260, 212, + /* 880 */ 260, 170, 118, 260, 217, 173, 172, 260, 90, 260, + /* 890 */ 189, 260, 173, 172, 260, 90, 212, 189, 170, 100, + /* 900 */ 260, 217, 260, 212, 260, 260, 260, 260, 260, 173, + /* 910 */ 172, 260, 90, 260, 189, 170, 260, 260, 217, 260, + /* 920 */ 212, 260, 260, 260, 260, 260, 173, 172, 260, 83, + /* 930 */ 260, 189, 260, 260, 260, 260, 260, 212, ); static public $yy_lookahead = array( - /* 0 */ 15, 39, 40, 69, 70, 71, 72, 16, 3, 4, - /* 10 */ 19, 3, 50, 51, 52, 53, 54, 55, 56, 57, - /* 20 */ 58, 59, 14, 3, 39, 40, 11, 12, 1, 4, - /* 30 */ 3, 24, 17, 13, 29, 50, 51, 52, 53, 54, - /* 40 */ 55, 56, 57, 58, 59, 25, 1, 2, 3, 29, - /* 50 */ 5, 6, 7, 94, 9, 1, 97, 3, 99, 78, - /* 60 */ 24, 46, 8, 76, 39, 40, 30, 31, 32, 33, - /* 70 */ 34, 35, 36, 37, 87, 50, 51, 52, 53, 54, - /* 80 */ 55, 56, 57, 58, 59, 14, 84, 100, 23, 62, - /* 90 */ 76, 74, 78, 22, 77, 24, 60, 26, 27, 3, - /* 100 */ 98, 87, 85, 86, 39, 40, 61, 90, 63, 64, - /* 110 */ 65, 3, 67, 96, 18, 50, 51, 52, 53, 54, - /* 120 */ 55, 56, 57, 58, 59, 29, 10, 1, 12, 3, - /* 130 */ 14, 79, 16, 25, 18, 16, 94, 29, 19, 97, - /* 140 */ 1, 99, 3, 10, 48, 29, 27, 14, 14, 16, - /* 150 */ 76, 18, 78, 1, 38, 3, 22, 41, 42, 43, - /* 160 */ 44, 87, 29, 3, 48, 10, 3, 12, 42, 14, - /* 170 */ 10, 16, 17, 18, 41, 42, 43, 44, 18, 74, - /* 180 */ 75, 48, 77, 95, 29, 80, 81, 82, 25, 29, - /* 190 */ 85, 86, 29, 88, 42, 90, 41, 42, 43, 44, - /* 200 */ 24, 96, 14, 48, 28, 66, 101, 10, 48, 12, - /* 210 */ 22, 14, 49, 16, 4, 18, 28, 10, 76, 12, - /* 220 */ 78, 14, 14, 16, 4, 18, 29, 3, 4, 87, - /* 230 */ 22, 11, 12, 25, 24, 38, 29, 4, 41, 42, - /* 240 */ 43, 44, 20, 11, 12, 48, 24, 18, 41, 42, - /* 250 */ 43, 44, 15, 29, 74, 48, 10, 77, 12, 26, - /* 260 */ 14, 24, 16, 1, 18, 3, 46, 30, 31, 32, - /* 270 */ 33, 34, 35, 36, 37, 29, 96, 48, 46, 95, - /* 280 */ 18, 18, 1, 74, 3, 95, 77, 41, 42, 43, - /* 290 */ 44, 4, 29, 20, 48, 78, 23, 60, 10, 18, - /* 300 */ 12, 92, 14, 41, 16, 96, 18, 3, 10, 47, - /* 310 */ 12, 48, 14, 26, 16, 74, 18, 29, 77, 102, - /* 320 */ 17, 21, 41, 20, 29, 73, 26, 29, 47, 41, - /* 330 */ 42, 43, 44, 29, 4, 74, 48, 96, 77, 41, - /* 340 */ 42, 43, 44, 10, 49, 12, 48, 14, 4, 16, - /* 350 */ 74, 18, 14, 77, 15, 17, 26, 96, 18, 107, - /* 360 */ 22, 85, 29, 24, 95, 4, 90, 98, 4, 29, - /* 370 */ 26, 99, 96, 3, 41, 42, 43, 44, 79, 74, - /* 380 */ 75, 48, 77, 91, 3, 80, 27, 26, 24, 4, - /* 390 */ 85, 86, 4, 88, 83, 90, 29, 4, 106, 29, - /* 400 */ 83, 96, 74, 75, 83, 77, 101, 83, 80, 98, - /* 410 */ 29, 26, 24, 85, 86, 98, 88, 24, 90, 98, - /* 420 */ 74, 75, 98, 77, 96, 1, 80, 3, 73, 101, - /* 430 */ 49, 85, 86, 24, 88, 26, 90, 74, 75, 29, - /* 440 */ 77, 76, 96, 80, 26, 27, 21, 101, 85, 86, - /* 450 */ 73, 88, 87, 90, 74, 75, 94, 77, 83, 96, - /* 460 */ 80, 99, 107, 73, 101, 85, 86, 83, 88, 29, - /* 470 */ 90, 71, 72, 98, 76, 47, 96, 74, 75, 14, - /* 480 */ 77, 101, 98, 80, 107, 87, 29, 15, 85, 86, - /* 490 */ 19, 88, 29, 90, 15, 74, 75, 107, 77, 96, - /* 500 */ 94, 25, 29, 47, 101, 99, 85, 86, 15, 88, - /* 510 */ 4, 90, 29, 18, 48, 103, 25, 96, 74, 75, - /* 520 */ 45, 77, 18, 29, 80, 104, 105, 29, 74, 85, - /* 530 */ 86, 77, 88, 18, 90, 74, 75, 29, 77, 85, - /* 540 */ 96, 80, 4, 4, 90, 101, 85, 86, 7, 88, - /* 550 */ 96, 90, 74, 75, 10, 77, 74, 96, 80, 77, - /* 560 */ 92, 45, 101, 85, 86, 106, 88, 85, 90, 107, - /* 570 */ 74, 75, 90, 77, 96, 87, 80, 97, 96, 101, - /* 580 */ 26, 85, 86, 98, 88, 10, 90, 18, 89, 14, - /* 590 */ 81, 21, 96, 18, 14, 95, 108, 101, 95, 108, - /* 600 */ 108, 100, 108, 108, 29, 108, 108, 108, 108, 108, - /* 610 */ 74, 75, 108, 77, 108, 108, 41, 42, 43, 44, - /* 620 */ 108, 85, 86, 48, 88, 108, 90, 74, 75, 93, - /* 630 */ 77, 108, 96, 108, 108, 108, 108, 108, 85, 86, - /* 640 */ 108, 88, 108, 90, 108, 108, 93, 108, 108, 96, - /* 650 */ 108, 74, 75, 108, 77, 108, 108, 108, 108, 108, - /* 660 */ 108, 108, 85, 86, 108, 88, 108, 90, 74, 75, - /* 670 */ 93, 77, 108, 96, 108, 108, 108, 108, 108, 85, - /* 680 */ 86, 108, 88, 108, 90, 74, 75, 93, 77, 108, - /* 690 */ 96, 108, 74, 75, 108, 77, 85, 86, 108, 88, - /* 700 */ 108, 90, 108, 85, 86, 108, 88, 96, 90, 108, - /* 710 */ 108, 108, 108, 108, 96, 108, 105, 108, 74, 75, - /* 720 */ 108, 77, 108, 108, 108, 108, 108, 108, 108, 85, - /* 730 */ 86, 108, 88, 108, 90, 108, 108, 108, 74, 75, - /* 740 */ 96, 77, 108, 108, 108, 74, 75, 108, 77, 85, - /* 750 */ 86, 108, 88, 108, 90, 108, 85, 86, 108, 88, - /* 760 */ 96, 90, 74, 75, 108, 77, 108, 96, 108, 108, - /* 770 */ 108, 108, 108, 85, 86, 108, 88, 108, 90, 74, - /* 780 */ 75, 108, 77, 108, 96, 108, 108, 108, 108, 108, - /* 790 */ 85, 86, 108, 88, 108, 90, 74, 75, 108, 77, - /* 800 */ 108, 96, 108, 108, 108, 108, 108, 85, 86, 108, - /* 810 */ 88, 108, 90, 74, 75, 108, 77, 108, 96, 108, - /* 820 */ 74, 75, 108, 77, 85, 86, 108, 88, 108, 90, - /* 830 */ 108, 85, 86, 108, 88, 96, 90, 74, 75, 108, - /* 840 */ 77, 108, 96, 108, 108, 108, 108, 108, 85, 86, - /* 850 */ 108, 88, 108, 90, 74, 75, 108, 77, 108, 96, - /* 860 */ 108, 108, 108, 108, 108, 85, 86, 108, 88, 108, - /* 870 */ 90, 74, 75, 108, 77, 108, 96, 108, 108, 108, - /* 880 */ 108, 108, 85, 86, 108, 88, 108, 90, 74, 75, - /* 890 */ 108, 77, 108, 96, 108, 74, 108, 108, 77, 85, - /* 900 */ 86, 108, 88, 108, 90, 108, 85, 86, 108, 88, - /* 910 */ 96, 90, 74, 108, 108, 77, 108, 96, 108, 108, - /* 920 */ 108, 108, 108, 85, 86, 108, 88, 108, 90, 74, - /* 930 */ 108, 108, 77, 108, 96, 108, 108, 108, 108, 108, - /* 940 */ 85, 86, 108, 88, 108, 90, 108, 108, 108, 108, - /* 950 */ 108, 96, + /* 0 */ 23, 14, 4, 74, 4, 1, 77, 3, 103, 22, + /* 10 */ 14, 11, 12, 14, 85, 86, 39, 40, 22, 90, + /* 20 */ 24, 22, 26, 27, 25, 96, 84, 50, 51, 52, + /* 30 */ 53, 54, 55, 56, 57, 58, 59, 39, 40, 74, + /* 40 */ 98, 74, 77, 15, 77, 1, 46, 18, 50, 51, + /* 50 */ 52, 53, 54, 55, 56, 57, 58, 59, 1, 92, + /* 60 */ 3, 96, 18, 96, 79, 11, 12, 39, 40, 94, + /* 70 */ 66, 17, 97, 29, 99, 18, 3, 48, 50, 51, + /* 80 */ 52, 53, 54, 55, 56, 57, 58, 59, 1, 20, + /* 90 */ 11, 12, 48, 24, 29, 39, 40, 10, 41, 12, + /* 100 */ 46, 14, 29, 16, 47, 18, 50, 51, 52, 53, + /* 110 */ 54, 55, 56, 57, 58, 59, 29, 1, 10, 3, + /* 120 */ 12, 76, 14, 78, 16, 46, 18, 15, 41, 42, + /* 130 */ 43, 44, 87, 3, 18, 48, 24, 29, 95, 10, + /* 140 */ 14, 12, 76, 14, 78, 16, 38, 18, 22, 41, + /* 150 */ 42, 43, 44, 87, 28, 25, 48, 41, 29, 29, + /* 160 */ 1, 2, 3, 47, 5, 6, 7, 38, 9, 21, + /* 170 */ 41, 42, 43, 44, 26, 3, 10, 48, 12, 49, + /* 180 */ 14, 24, 16, 74, 18, 13, 77, 30, 31, 32, + /* 190 */ 33, 34, 35, 36, 37, 29, 1, 25, 3, 74, + /* 200 */ 95, 29, 77, 8, 38, 96, 4, 41, 42, 43, + /* 210 */ 44, 3, 4, 1, 48, 3, 16, 60, 95, 19, + /* 220 */ 61, 96, 63, 64, 65, 10, 67, 12, 26, 14, + /* 230 */ 4, 16, 17, 18, 24, 29, 26, 29, 74, 74, + /* 240 */ 75, 77, 77, 47, 29, 80, 81, 82, 1, 85, + /* 250 */ 85, 86, 26, 88, 90, 90, 41, 42, 43, 44, + /* 260 */ 96, 96, 1, 48, 3, 94, 101, 10, 97, 12, + /* 270 */ 99, 14, 7, 16, 62, 18, 29, 10, 24, 12, + /* 280 */ 47, 14, 28, 16, 4, 18, 29, 3, 15, 14, + /* 290 */ 73, 3, 17, 1, 10, 3, 29, 22, 41, 42, + /* 300 */ 43, 44, 18, 42, 24, 48, 18, 3, 41, 42, + /* 310 */ 43, 44, 10, 29, 12, 48, 14, 29, 16, 74, + /* 320 */ 18, 10, 77, 12, 107, 14, 76, 16, 78, 18, + /* 330 */ 85, 29, 48, 29, 42, 90, 48, 87, 18, 4, + /* 340 */ 29, 96, 94, 41, 42, 43, 44, 99, 17, 29, + /* 350 */ 48, 20, 41, 42, 43, 44, 10, 3, 12, 48, + /* 360 */ 14, 26, 16, 76, 18, 10, 3, 4, 14, 14, + /* 370 */ 1, 16, 3, 18, 87, 29, 69, 70, 71, 72, + /* 380 */ 81, 29, 16, 4, 29, 19, 18, 41, 42, 43, + /* 390 */ 44, 15, 29, 27, 48, 4, 41, 42, 43, 44, + /* 400 */ 24, 49, 3, 48, 21, 26, 30, 31, 32, 33, + /* 410 */ 34, 35, 36, 37, 4, 74, 75, 26, 77, 74, + /* 420 */ 4, 80, 77, 83, 25, 100, 85, 86, 29, 88, + /* 430 */ 85, 90, 4, 83, 24, 90, 60, 96, 98, 4, + /* 440 */ 24, 96, 101, 76, 74, 75, 95, 77, 98, 98, + /* 450 */ 80, 27, 24, 76, 87, 85, 86, 99, 88, 78, + /* 460 */ 90, 26, 74, 75, 87, 77, 96, 100, 80, 74, + /* 470 */ 75, 101, 77, 85, 86, 80, 88, 83, 90, 20, + /* 480 */ 85, 86, 23, 88, 96, 90, 24, 74, 75, 101, + /* 490 */ 77, 96, 98, 80, 26, 27, 101, 83, 85, 86, + /* 500 */ 78, 88, 91, 90, 74, 75, 83, 77, 29, 96, + /* 510 */ 80, 3, 98, 29, 101, 85, 86, 106, 88, 73, + /* 520 */ 90, 98, 74, 75, 102, 77, 96, 83, 80, 18, + /* 530 */ 94, 101, 45, 85, 86, 99, 88, 29, 90, 4, + /* 540 */ 74, 75, 98, 77, 96, 18, 80, 74, 75, 101, + /* 550 */ 77, 85, 86, 107, 88, 14, 90, 49, 85, 86, + /* 560 */ 4, 88, 96, 90, 71, 72, 29, 101, 29, 96, + /* 570 */ 73, 73, 25, 74, 75, 29, 77, 104, 105, 80, + /* 580 */ 74, 75, 18, 77, 85, 86, 80, 88, 19, 90, + /* 590 */ 4, 85, 86, 15, 88, 96, 90, 29, 74, 75, + /* 600 */ 101, 77, 96, 48, 107, 107, 21, 101, 45, 85, + /* 610 */ 86, 15, 88, 10, 90, 25, 74, 75, 10, 77, + /* 620 */ 96, 29, 14, 79, 107, 89, 18, 85, 86, 105, + /* 630 */ 88, 74, 90, 26, 77, 93, 98, 29, 96, 87, + /* 640 */ 97, 92, 85, 86, 14, 88, 106, 90, 95, 41, + /* 650 */ 42, 43, 44, 96, 74, 75, 48, 77, 108, 108, + /* 660 */ 95, 108, 108, 108, 108, 85, 86, 108, 88, 108, + /* 670 */ 90, 74, 75, 93, 77, 108, 96, 108, 108, 108, + /* 680 */ 108, 108, 85, 86, 108, 88, 108, 90, 108, 108, + /* 690 */ 93, 74, 75, 96, 77, 108, 108, 108, 108, 108, + /* 700 */ 108, 108, 85, 86, 108, 88, 74, 90, 108, 77, + /* 710 */ 93, 108, 108, 96, 108, 108, 108, 85, 86, 108, + /* 720 */ 88, 108, 90, 108, 74, 75, 108, 77, 96, 108, + /* 730 */ 108, 74, 75, 108, 77, 85, 86, 108, 88, 108, + /* 740 */ 90, 108, 85, 86, 108, 88, 96, 90, 74, 75, + /* 750 */ 108, 77, 108, 96, 108, 108, 108, 108, 108, 85, + /* 760 */ 86, 108, 88, 108, 90, 74, 75, 108, 77, 108, + /* 770 */ 96, 108, 108, 108, 108, 108, 85, 86, 108, 88, + /* 780 */ 108, 90, 74, 75, 108, 77, 108, 96, 108, 108, + /* 790 */ 108, 108, 108, 85, 86, 108, 88, 108, 90, 74, + /* 800 */ 75, 108, 77, 108, 96, 108, 74, 75, 108, 77, + /* 810 */ 85, 86, 108, 88, 108, 90, 108, 85, 86, 108, + /* 820 */ 88, 96, 90, 74, 75, 108, 77, 108, 96, 108, + /* 830 */ 108, 108, 108, 108, 85, 86, 108, 88, 108, 90, + /* 840 */ 74, 75, 108, 77, 108, 96, 108, 108, 108, 108, + /* 850 */ 108, 85, 86, 108, 88, 108, 90, 74, 75, 108, + /* 860 */ 77, 108, 96, 108, 108, 108, 108, 108, 85, 86, + /* 870 */ 108, 88, 108, 90, 74, 75, 108, 77, 108, 96, + /* 880 */ 108, 74, 75, 108, 77, 85, 86, 108, 88, 108, + /* 890 */ 90, 108, 85, 86, 108, 88, 96, 90, 74, 75, + /* 900 */ 108, 77, 108, 96, 108, 108, 108, 108, 108, 85, + /* 910 */ 86, 108, 88, 108, 90, 74, 108, 108, 77, 108, + /* 920 */ 96, 108, 108, 108, 108, 108, 85, 86, 108, 88, + /* 930 */ 108, 90, 108, 108, 108, 108, 108, 96, ); - const YY_SHIFT_USE_DFLT = -39; + const YY_SHIFT_USE_DFLT = -24; const YY_SHIFT_MAX = 169; static public $yy_shift_ofst = array( - /* 0 */ 45, 197, 116, 116, 116, 116, 116, 116, 116, 116, - /* 10 */ 116, 116, 246, 207, 207, 207, 207, 246, 207, 207, - /* 20 */ 207, 207, 207, 207, 207, 207, 207, 207, 207, 288, - /* 30 */ 207, 155, 333, 298, 133, 575, 575, 575, 96, 160, - /* 40 */ 71, 263, 119, 119, 409, 229, 300, 409, 45, 237, - /* 50 */ 36, 262, 163, 20, 381, 152, 304, 424, 418, 370, - /* 60 */ 424, 370, 370, 304, 370, 370, 424, 554, 359, 359, - /* 70 */ 25, 65, -15, -38, -38, -38, -38, -38, -38, -38, - /* 80 */ -38, 281, 220, 15, 232, 126, 139, 5, 54, 224, - /* 90 */ 27, 232, 108, 393, 339, 176, -9, 222, 340, 385, - /* 100 */ -9, 388, 364, 361, 344, -9, 287, 8, -9, 233, - /* 110 */ 210, 330, 580, 569, 359, 359, 7, 570, 7, 7, - /* 120 */ 7, 7, 7, 359, 359, -39, -39, -39, -39, -39, - /* 130 */ 188, 208, 338, 303, 134, 295, 273, 134, 134, 544, - /* 140 */ 494, 367, 491, 466, 495, 475, 539, 541, 508, 504, - /* 150 */ 483, 506, 457, 428, 410, 425, 471, 456, 476, 473, - /* 160 */ 479, 516, 463, 493, 472, 440, 465, 515, 538, 498, + /* 0 */ 159, 166, 108, 108, 108, 108, 108, 108, 129, 129, + /* 10 */ 108, 108, 346, 257, 257, 257, 346, 257, 87, 257, + /* 20 */ 257, 257, 257, 257, 257, 257, 257, 257, 311, 257, + /* 30 */ 257, 215, 267, 302, 355, 608, 608, 608, 288, 284, + /* 40 */ -4, 44, 366, 366, 29, 210, 210, 148, 159, 376, + /* 50 */ 157, 116, 130, 172, 292, 508, 304, 369, 73, 304, + /* 60 */ 73, 73, 73, 369, 468, 369, 73, 607, 424, 424, + /* 70 */ -23, -2, 28, 56, 56, 56, 56, 56, 56, 56, + /* 80 */ 56, 57, 54, 0, 79, 208, 399, 261, 212, 195, + /* 90 */ 79, 4, 363, 202, 435, 254, 391, 416, 200, 200, + /* 100 */ 112, 69, 226, 428, 354, 320, 410, 379, 200, 335, + /* 110 */ 280, 200, 630, 424, 424, 462, 424, 462, 462, 424, + /* 120 */ 383, 462, 462, 462, 368, -24, -24, -24, -24, -24, + /* 130 */ -1, 126, 275, 247, -13, -13, -13, 352, 459, 331, + /* 140 */ 511, 487, 541, 539, 556, 537, 564, 586, 590, 592, + /* 150 */ 547, 535, 527, 546, 563, 596, 603, 585, 555, 569, + /* 160 */ 578, 568, 484, 479, 196, 206, 265, 233, 273, 65, ); - const YY_REDUCE_USE_DFLT = -67; + const YY_REDUCE_USE_DFLT = -96; const YY_REDUCE_MAX = 129; static public $yy_reduce_ofst = array( - /* 0 */ -66, 105, 461, 305, 478, 496, 328, 403, 444, 380, - /* 10 */ 363, 346, 421, 553, 536, 577, 594, 611, 688, 644, - /* 20 */ 722, 671, 797, 664, 763, 618, 705, 814, 780, 739, - /* 30 */ 746, 855, 821, 838, 17, 454, 276, 482, 209, 261, - /* 40 */ 142, 180, 42, -41, 14, 241, -13, 74, 400, 217, - /* 50 */ 217, 292, 269, 2, 269, 377, 384, 252, 365, 324, - /* 60 */ 355, 311, 317, 311, 321, 375, 390, 398, 362, 406, - /* 70 */ 412, 412, 412, 412, 412, 412, 412, 412, 412, 412, - /* 80 */ 412, 459, 499, 499, 499, 462, 462, 485, 462, 485, - /* 90 */ 462, 499, 485, -19, -19, -19, 480, -19, 468, 488, - /* 100 */ 480, -19, -19, 488, 488, 480, 488, 503, 480, 488, - /* 110 */ -19, 488, 500, 509, 272, 272, -19, 501, -19, -19, - /* 120 */ -19, -19, -19, 272, 272, 88, 299, 184, 190, 52, + /* 0 */ 307, 165, 370, 430, 413, 466, 341, 395, 388, 448, + /* 10 */ 506, 499, 473, 597, 580, 617, 524, 542, 725, 732, + /* 20 */ 708, 650, 691, 657, 674, 749, 766, 824, 800, 807, + /* 30 */ 783, 557, 841, 632, -71, 345, 245, 164, -33, 125, + /* 40 */ 250, -35, -25, 171, 109, 45, 66, 367, 493, 422, + /* 50 */ 422, 411, 351, -58, 446, 351, 394, 497, 423, 350, + /* 60 */ 340, 394, 414, 217, 287, 498, 444, 377, 248, 436, + /* 70 */ -95, -95, -95, -95, -95, -95, -95, -95, -95, -95, + /* 80 */ -95, 540, 536, 536, 536, 538, 538, 517, 517, 517, + /* 90 */ 536, 517, 538, 552, 552, 381, 552, 381, 543, 543, + /* 100 */ 381, 381, 552, 381, 565, 549, 381, 552, 543, 552, + /* 110 */ 381, 543, 553, 358, 358, 381, 358, 381, 381, 358, + /* 120 */ 325, 381, 381, 381, 299, 105, 43, 544, -15, 123, ); static public $yyExpectedTokens = array( /* 0 */ array(1, 2, 3, 5, 6, 7, 9, 61, 63, 64, 65, 67, ), @@ -522,7 +518,7 @@ static public $yy_action = array( /* 15 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ), /* 16 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ), /* 17 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ), - /* 18 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ), + /* 18 */ array(1, 10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ), /* 19 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ), /* 20 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ), /* 21 */ array(10, 12, 14, 16, 18, 29, 41, 42, 43, 44, 48, ), @@ -545,37 +541,37 @@ static public $yy_action = array( /* 38 */ array(3, 18, 29, 48, ), /* 39 */ array(3, 10, 18, 29, 48, ), /* 40 */ array(14, 22, 24, 26, 27, ), - /* 41 */ array(18, 29, 48, ), + /* 41 */ array(1, 18, 29, 48, ), /* 42 */ array(16, 19, 27, ), /* 43 */ array(16, 19, 27, ), - /* 44 */ array(24, 26, ), - /* 45 */ array(18, 48, ), - /* 46 */ array(21, 26, ), - /* 47 */ array(24, 26, ), + /* 44 */ array(18, 48, ), + /* 45 */ array(24, 26, ), + /* 46 */ array(24, 26, ), + /* 47 */ array(21, 26, ), /* 48 */ array(1, 2, 3, 5, 6, 7, 9, 61, 63, 64, 65, 67, ), /* 49 */ array(15, 24, 30, 31, 32, 33, 34, 35, 36, 37, 60, ), /* 50 */ array(24, 30, 31, 32, 33, 34, 35, 36, 37, 60, ), /* 51 */ array(1, 3, 18, 41, 47, ), /* 52 */ array(3, 25, 29, 49, ), /* 53 */ array(3, 13, 25, 29, ), - /* 54 */ array(3, 29, 49, ), - /* 55 */ array(1, 3, 42, ), + /* 54 */ array(1, 3, 42, ), + /* 55 */ array(3, 29, 49, ), /* 56 */ array(3, 29, ), /* 57 */ array(1, 3, ), - /* 58 */ array(26, 27, ), + /* 58 */ array(3, 29, ), /* 59 */ array(3, 29, ), - /* 60 */ array(1, 3, ), + /* 60 */ array(3, 29, ), /* 61 */ array(3, 29, ), /* 62 */ array(3, 29, ), - /* 63 */ array(3, 29, ), - /* 64 */ array(3, 29, ), - /* 65 */ array(3, 29, ), - /* 66 */ array(1, 3, ), + /* 63 */ array(1, 3, ), + /* 64 */ array(26, 27, ), + /* 65 */ array(1, 3, ), + /* 66 */ array(3, 29, ), /* 67 */ array(26, ), /* 68 */ array(27, ), /* 69 */ array(27, ), - /* 70 */ array(4, 39, 40, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ), - /* 71 */ array(23, 39, 40, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ), + /* 70 */ array(23, 39, 40, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ), + /* 71 */ array(4, 39, 40, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ), /* 72 */ array(15, 39, 40, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ), /* 73 */ array(39, 40, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ), /* 74 */ array(39, 40, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ), @@ -586,93 +582,93 @@ static public $yy_action = array( /* 79 */ array(39, 40, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ), /* 80 */ array(39, 40, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, ), /* 81 */ array(1, 3, 18, 41, 47, ), - /* 82 */ array(4, 11, 12, 46, ), - /* 83 */ array(11, 12, 17, 46, ), + /* 82 */ array(11, 12, 17, 46, ), + /* 83 */ array(4, 11, 12, 46, ), /* 84 */ array(11, 12, 46, ), - /* 85 */ array(1, 3, 42, ), - /* 86 */ array(1, 3, 66, ), - /* 87 */ array(3, 4, 29, ), - /* 88 */ array(1, 3, 8, ), - /* 89 */ array(3, 4, 29, ), - /* 90 */ array(1, 3, 62, ), - /* 91 */ array(11, 12, 46, ), - /* 92 */ array(3, 25, 29, ), - /* 93 */ array(4, 24, ), - /* 94 */ array(15, 24, ), + /* 85 */ array(3, 4, 29, ), + /* 86 */ array(3, 25, 29, ), + /* 87 */ array(1, 3, 42, ), + /* 88 */ array(1, 3, 62, ), + /* 89 */ array(1, 3, 8, ), + /* 90 */ array(11, 12, 46, ), + /* 91 */ array(1, 3, 66, ), + /* 92 */ array(3, 4, 29, ), + /* 93 */ array(4, 26, ), + /* 94 */ array(4, 26, ), /* 95 */ array(24, 28, ), - /* 96 */ array(16, 19, ), - /* 97 */ array(20, 24, ), - /* 98 */ array(18, 29, ), - /* 99 */ array(4, 26, ), - /* 100 */ array(16, 19, ), - /* 101 */ array(4, 24, ), - /* 102 */ array(4, 24, ), - /* 103 */ array(4, 26, ), - /* 104 */ array(4, 26, ), - /* 105 */ array(16, 19, ), - /* 106 */ array(4, 26, ), - /* 107 */ array(3, 14, ), + /* 96 */ array(4, 26, ), + /* 97 */ array(4, 24, ), + /* 98 */ array(16, 19, ), + /* 99 */ array(16, 19, ), + /* 100 */ array(15, 24, ), + /* 101 */ array(20, 24, ), + /* 102 */ array(4, 26, ), + /* 103 */ array(4, 24, ), + /* 104 */ array(3, 14, ), + /* 105 */ array(18, 29, ), + /* 106 */ array(4, 24, ), + /* 107 */ array(4, 26, ), /* 108 */ array(16, 19, ), /* 109 */ array(4, 26, ), /* 110 */ array(4, 24, ), - /* 111 */ array(4, 26, ), + /* 111 */ array(16, 19, ), /* 112 */ array(14, ), - /* 113 */ array(18, ), + /* 113 */ array(27, ), /* 114 */ array(27, ), - /* 115 */ array(27, ), - /* 116 */ array(24, ), - /* 117 */ array(21, ), + /* 115 */ array(24, ), + /* 116 */ array(27, ), + /* 117 */ array(24, ), /* 118 */ array(24, ), - /* 119 */ array(24, ), - /* 120 */ array(24, ), + /* 119 */ array(27, ), + /* 120 */ array(21, ), /* 121 */ array(24, ), /* 122 */ array(24, ), - /* 123 */ array(27, ), - /* 124 */ array(27, ), + /* 123 */ array(24, ), + /* 124 */ array(18, ), /* 125 */ array(), /* 126 */ array(), /* 127 */ array(), /* 128 */ array(), /* 129 */ array(), - /* 130 */ array(14, 22, 28, ), - /* 131 */ array(14, 22, 25, ), + /* 130 */ array(14, 22, 25, ), + /* 131 */ array(14, 22, 28, ), /* 132 */ array(14, 17, 22, ), - /* 133 */ array(17, 20, ), + /* 133 */ array(1, 29, ), /* 134 */ array(14, 22, ), - /* 135 */ array(29, 49, ), - /* 136 */ array(20, 23, ), - /* 137 */ array(14, 22, ), - /* 138 */ array(14, 22, ), - /* 139 */ array(10, ), - /* 140 */ array(29, ), - /* 141 */ array(29, ), - /* 142 */ array(25, ), - /* 143 */ array(48, ), - /* 144 */ array(18, ), - /* 145 */ array(45, ), - /* 146 */ array(4, ), - /* 147 */ array(7, ), - /* 148 */ array(29, ), - /* 149 */ array(18, ), - /* 150 */ array(29, ), + /* 135 */ array(14, 22, ), + /* 136 */ array(14, 22, ), + /* 137 */ array(29, 49, ), + /* 138 */ array(20, 23, ), + /* 139 */ array(17, 20, ), + /* 140 */ array(18, ), + /* 141 */ array(45, ), + /* 142 */ array(14, ), + /* 143 */ array(29, ), + /* 144 */ array(4, ), + /* 145 */ array(29, ), + /* 146 */ array(18, ), + /* 147 */ array(4, ), + /* 148 */ array(25, ), + /* 149 */ array(29, ), + /* 150 */ array(25, ), /* 151 */ array(4, ), - /* 152 */ array(29, ), - /* 153 */ array(47, ), - /* 154 */ array(29, ), - /* 155 */ array(21, ), - /* 156 */ array(19, ), - /* 157 */ array(47, ), - /* 158 */ array(25, ), - /* 159 */ array(29, ), + /* 152 */ array(18, ), + /* 153 */ array(29, ), + /* 154 */ array(45, ), + /* 155 */ array(15, ), + /* 156 */ array(10, ), + /* 157 */ array(21, ), + /* 158 */ array(48, ), + /* 159 */ array(19, ), /* 160 */ array(15, ), - /* 161 */ array(45, ), + /* 161 */ array(29, ), /* 162 */ array(29, ), - /* 163 */ array(15, ), - /* 164 */ array(15, ), + /* 163 */ array(29, ), + /* 164 */ array(47, ), /* 165 */ array(29, ), - /* 166 */ array(14, ), - /* 167 */ array(18, ), - /* 168 */ array(4, ), + /* 166 */ array(7, ), + /* 167 */ array(47, ), + /* 168 */ array(15, ), /* 169 */ array(29, ), /* 170 */ array(), /* 171 */ array(), @@ -778,36 +774,39 @@ static public $yy_action = array( /* 271 */ array(), /* 272 */ array(), /* 273 */ array(), + /* 274 */ array(), + /* 275 */ array(), + /* 276 */ array(), ); static public $yy_default = array( - /* 0 */ 421, 421, 421, 421, 421, 421, 421, 421, 421, 421, - /* 10 */ 421, 421, 406, 368, 368, 368, 368, 421, 421, 421, - /* 20 */ 421, 421, 421, 421, 421, 421, 421, 421, 421, 421, - /* 30 */ 421, 421, 421, 421, 421, 421, 421, 421, 421, 421, - /* 40 */ 304, 421, 336, 342, 304, 421, 304, 304, 274, 378, - /* 50 */ 378, 421, 344, 421, 344, 421, 421, 421, 304, 421, - /* 60 */ 421, 421, 421, 421, 421, 421, 421, 304, 332, 331, - /* 70 */ 421, 421, 421, 387, 391, 392, 382, 388, 384, 383, - /* 80 */ 376, 421, 421, 421, 373, 421, 421, 421, 421, 421, - /* 90 */ 421, 310, 421, 421, 421, 407, 361, 367, 421, 421, - /* 100 */ 360, 421, 421, 421, 421, 362, 421, 344, 359, 421, - /* 110 */ 421, 421, 344, 421, 333, 356, 379, 312, 305, 308, - /* 120 */ 409, 408, 298, 337, 334, 344, 372, 344, 344, 372, - /* 130 */ 309, 309, 421, 421, 374, 421, 421, 421, 309, 421, - /* 140 */ 421, 421, 338, 421, 421, 314, 421, 421, 421, 421, - /* 150 */ 421, 306, 421, 421, 421, 354, 321, 421, 421, 421, - /* 160 */ 421, 313, 421, 421, 421, 421, 335, 421, 421, 421, - /* 170 */ 402, 341, 345, 401, 377, 293, 322, 275, 294, 346, - /* 180 */ 386, 313, 314, 315, 389, 276, 347, 385, 390, 320, - /* 190 */ 340, 299, 300, 323, 284, 307, 283, 418, 280, 281, - /* 200 */ 282, 338, 297, 278, 343, 279, 277, 417, 339, 420, - /* 210 */ 419, 301, 296, 394, 353, 354, 348, 326, 370, 369, - /* 220 */ 285, 286, 302, 371, 288, 318, 287, 319, 403, 405, - /* 230 */ 365, 416, 330, 411, 349, 350, 415, 364, 357, 404, - /* 240 */ 363, 355, 366, 303, 352, 395, 396, 351, 393, 380, - /* 250 */ 381, 397, 398, 375, 325, 358, 400, 399, 316, 327, - /* 260 */ 414, 291, 317, 290, 311, 289, 413, 292, 329, 328, - /* 270 */ 410, 295, 412, 324, + /* 0 */ 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, + /* 10 */ 427, 427, 409, 371, 371, 371, 427, 371, 427, 427, + /* 20 */ 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, + /* 30 */ 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, + /* 40 */ 307, 427, 345, 339, 427, 307, 307, 307, 277, 381, + /* 50 */ 381, 427, 347, 427, 427, 347, 427, 427, 427, 427, + /* 60 */ 427, 427, 427, 427, 307, 427, 427, 307, 334, 335, + /* 70 */ 427, 427, 427, 379, 387, 391, 385, 394, 395, 390, + /* 80 */ 386, 427, 427, 427, 376, 427, 427, 427, 427, 427, + /* 90 */ 313, 427, 427, 427, 427, 410, 427, 427, 365, 364, + /* 100 */ 427, 370, 427, 427, 347, 427, 427, 427, 362, 427, + /* 110 */ 427, 363, 347, 336, 340, 382, 337, 301, 308, 359, + /* 120 */ 315, 411, 311, 412, 427, 347, 347, 375, 375, 347, + /* 130 */ 312, 312, 427, 427, 377, 427, 312, 427, 427, 427, + /* 140 */ 427, 316, 338, 427, 427, 427, 427, 427, 341, 427, + /* 150 */ 427, 309, 427, 427, 317, 427, 427, 357, 427, 324, + /* 160 */ 427, 427, 427, 427, 427, 427, 427, 427, 427, 427, + /* 170 */ 323, 350, 316, 317, 318, 299, 326, 392, 393, 330, + /* 180 */ 331, 413, 332, 319, 361, 405, 380, 404, 327, 328, + /* 190 */ 325, 344, 426, 425, 424, 282, 283, 304, 423, 281, + /* 200 */ 297, 278, 279, 280, 296, 284, 285, 302, 310, 389, + /* 210 */ 348, 300, 343, 346, 303, 286, 287, 341, 342, 349, + /* 220 */ 416, 306, 420, 422, 333, 353, 414, 418, 367, 293, + /* 230 */ 407, 358, 369, 292, 305, 291, 366, 356, 351, 360, + /* 240 */ 329, 357, 288, 354, 352, 368, 290, 289, 408, 406, + /* 250 */ 401, 402, 400, 399, 398, 403, 320, 421, 415, 417, + /* 260 */ 378, 419, 397, 396, 295, 322, 372, 373, 294, 321, + /* 270 */ 298, 383, 384, 314, 355, 374, 388, ); /* The next thing included is series of defines which control ** various aspects of the generated parser. @@ -826,8 +825,8 @@ static public $yy_action = array( */ const YYNOCODE = 109; const YYSTACKDEPTH = 100; - const YYNSTATE = 274; - const YYNRULE = 147; + const YYNSTATE = 277; + const YYNRULE = 150; const YYERRORSYMBOL = 68; const YYERRSYMDT = 'yy0'; const YYFALLBACK = 1; @@ -1154,11 +1153,14 @@ static public $yy_action = array( /* 139 */ "doublequotedcontent ::= BACKTICK variable BACKTICK", /* 140 */ "doublequotedcontent ::= DOLLAR ID", /* 141 */ "doublequotedcontent ::= LDEL expr RDEL", - /* 142 */ "doublequotedcontent ::= OTHER", - /* 143 */ "text ::= text textelement", - /* 144 */ "text ::= textelement", - /* 145 */ "textelement ::= OTHER", - /* 146 */ "textelement ::= LDEL", + /* 142 */ "doublequotedcontent ::= DOLLAR OTHER", + /* 143 */ "doublequotedcontent ::= LDEL OTHER", + /* 144 */ "doublequotedcontent ::= BACKTICK OTHER", + /* 145 */ "doublequotedcontent ::= OTHER", + /* 146 */ "text ::= text textelement", + /* 147 */ "text ::= textelement", + /* 148 */ "textelement ::= OTHER", + /* 149 */ "textelement ::= LDEL", ); /** @@ -1665,6 +1667,9 @@ static public $yy_action = array( array( 'lhs' => 106, 'rhs' => 3 ), array( 'lhs' => 106, 'rhs' => 2 ), array( 'lhs' => 106, 'rhs' => 3 ), + array( 'lhs' => 106, 'rhs' => 2 ), + array( 'lhs' => 106, 'rhs' => 2 ), + array( 'lhs' => 106, 'rhs' => 2 ), array( 'lhs' => 106, 'rhs' => 1 ), array( 'lhs' => 73, 'rhs' => 2 ), array( 'lhs' => 73, 'rhs' => 1 ), @@ -1696,13 +1701,13 @@ static public $yy_action = array( 78 => 1, 101 => 1, 137 => 1, - 144 => 1, - 145 => 1, - 146 => 1, + 147 => 1, + 148 => 1, + 149 => 1, 2 => 2, 69 => 2, 136 => 2, - 143 => 2, + 146 => 2, 3 => 3, 4 => 4, 5 => 5, @@ -1826,6 +1831,9 @@ static public $yy_action = array( 140 => 140, 141 => 141, 142 => 142, + 143 => 143, + 144 => 144, + 145 => 145, ); /* Beginning here are the reduction cases. A typical example ** follows: @@ -1835,31 +1843,31 @@ static public $yy_action = array( */ #line 73 "internal.templateparser.y" function yy_r0(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } -#line 1843 "internal.templateparser.php" +#line 1851 "internal.templateparser.php" #line 79 "internal.templateparser.y" function yy_r1(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } -#line 1846 "internal.templateparser.php" +#line 1854 "internal.templateparser.php" #line 81 "internal.templateparser.y" function yy_r2(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 1849 "internal.templateparser.php" +#line 1857 "internal.templateparser.php" #line 87 "internal.templateparser.y" function yy_r3(){if ($this->compiler->has_code) { $tmp =''; foreach ($this->prefix_code as $code) {$tmp.=$code;} $this->prefix_code=array(); $this->_retvalue = $this->cacher->processNocacheCode($tmp.$this->yystack[$this->yyidx + 0]->minor, $this->compiler,$this->nocache,true); } $this->nocache=false; } -#line 1855 "internal.templateparser.php" +#line 1863 "internal.templateparser.php" #line 92 "internal.templateparser.y" function yy_r4(){ $this->_retvalue = ''; } -#line 1858 "internal.templateparser.php" +#line 1866 "internal.templateparser.php" #line 95 "internal.templateparser.y" function yy_r5(){$this->_retvalue = $this->cacher->processNocacheCode($this->yystack[$this->yyidx + -1]->minor, $this->compiler,false,false); } -#line 1861 "internal.templateparser.php" +#line 1869 "internal.templateparser.php" #line 97 "internal.templateparser.y" function yy_r6(){$this->_retvalue = $this->cacher->processNocacheCode($this->smarty->left_delimiter, $this->compiler,false,false); } -#line 1864 "internal.templateparser.php" +#line 1872 "internal.templateparser.php" #line 99 "internal.templateparser.y" function yy_r7(){$this->_retvalue = $this->cacher->processNocacheCode($this->smarty->right_delimiter, $this->compiler,false,false); } -#line 1867 "internal.templateparser.php" +#line 1875 "internal.templateparser.php" #line 101 "internal.templateparser.y" function yy_r8(){if (!$this->template->security) { $this->_retvalue = $this->cacher->processNocacheCode($this->yystack[$this->yyidx + 0]->minor, $this->compiler, false,true); @@ -1870,7 +1878,7 @@ static public $yy_action = array( }elseif ($this->smarty->security_policy->php_handling == SMARTY_PHP_REMOVE) { $this->_retvalue = ''; } } -#line 1878 "internal.templateparser.php" +#line 1886 "internal.templateparser.php" #line 111 "internal.templateparser.y" function yy_r9(){if (!$this->template->security) { $this->_retvalue = $this->cacher->processNocacheCode('yystack[$this->yyidx + -1]->minor.' ?>', $this->compiler, false,true); @@ -1881,7 +1889,7 @@ static public $yy_action = array( }elseif ($this->smarty->security_policy->php_handling == SMARTY_PHP_REMOVE) { $this->_retvalue = ''; } } -#line 1889 "internal.templateparser.php" +#line 1897 "internal.templateparser.php" #line 121 "internal.templateparser.y" function yy_r10(){if (!$this->template->security) { $this->_retvalue = $this->cacher->processNocacheCode($this->compiler->compileTag('print_expression',array('value'=>$this->yystack[$this->yyidx + -1]->minor)), $this->compiler, false,true); @@ -1892,28 +1900,28 @@ static public $yy_action = array( }elseif ($this->smarty->security_policy->php_handling == SMARTY_PHP_REMOVE) { $this->_retvalue = ''; } } -#line 1900 "internal.templateparser.php" +#line 1908 "internal.templateparser.php" #line 131 "internal.templateparser.y" function yy_r11(){$this->_retvalue = $this->cacher->processNocacheCode("yystack[$this->yyidx + 0]->minor."';?>\n", $this->compiler, true, true); } -#line 1903 "internal.templateparser.php" +#line 1911 "internal.templateparser.php" #line 132 "internal.templateparser.y" function yy_r12(){$this->_retvalue = $this->cacher->processNocacheCode("';?>\n", $this->compiler, true, true); } -#line 1906 "internal.templateparser.php" +#line 1914 "internal.templateparser.php" #line 134 "internal.templateparser.y" function yy_r13(){$this->_retvalue = $this->cacher->processNocacheCode($this->yystack[$this->yyidx + 0]->minor, $this->compiler,false,false); } -#line 1909 "internal.templateparser.php" +#line 1917 "internal.templateparser.php" #line 141 "internal.templateparser.y" function yy_r14(){ $this->_retvalue = $this->compiler->compileTag('print_expression',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } -#line 1912 "internal.templateparser.php" +#line 1920 "internal.templateparser.php" #line 143 "internal.templateparser.y" function yy_r15(){ $this->_retvalue = $this->compiler->compileTag('assign',array_merge(array('value'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor)); } -#line 1915 "internal.templateparser.php" +#line 1923 "internal.templateparser.php" #line 145 "internal.templateparser.y" function yy_r16(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor,$this->yystack[$this->yyidx + -1]->minor); } -#line 1918 "internal.templateparser.php" +#line 1926 "internal.templateparser.php" #line 147 "internal.templateparser.y" function yy_r17(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,array_merge(array('object_methode'=>$this->yystack[$this->yyidx + -2]->minor),$this->yystack[$this->yyidx + -1]->minor)); } -#line 1921 "internal.templateparser.php" +#line 1929 "internal.templateparser.php" #line 149 "internal.templateparser.y" function yy_r18(){ $this->_retvalue = ''.$this->compiler->compileTag($this->yystack[$this->yyidx + -4]->minor,$this->yystack[$this->yyidx + -1]->minor).'smarty->plugin_handler->loadSmartyPlugin($this->yystack[$this->yyidx + -3]->minor[0],'modifier')) { @@ -1928,76 +1936,76 @@ static public $yy_action = array( } } } -#line 1936 "internal.templateparser.php" +#line 1944 "internal.templateparser.php" #line 163 "internal.templateparser.y" function yy_r19(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -2]->minor.'close',$this->yystack[$this->yyidx + -1]->minor); } -#line 1939 "internal.templateparser.php" +#line 1947 "internal.templateparser.php" #line 165 "internal.templateparser.y" function yy_r20(){ $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor.'close',array('object_methode'=>$this->yystack[$this->yyidx + -1]->minor)); } -#line 1942 "internal.templateparser.php" +#line 1950 "internal.templateparser.php" #line 167 "internal.templateparser.y" function yy_r21(){if (!in_array($this->yystack[$this->yyidx + -3]->minor,array('if','elseif','while'))) { $this->compiler->trigger_template_error ("wrong syntax for tag \"" . $this->yystack[$this->yyidx + -3]->minor . "\""); } $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor,array('if condition'=>$this->yystack[$this->yyidx + -1]->minor)); } -#line 1948 "internal.templateparser.php" +#line 1956 "internal.templateparser.php" #line 171 "internal.templateparser.y" function yy_r22(){ if (!in_array($this->yystack[$this->yyidx + -3]->minor,array('if','elseif','while'))) { $this->compiler->trigger_template_error ("wrong syntax for tag \"" . $this->yystack[$this->yyidx + -3]->minor . "\""); } $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -3]->minor,array('if condition'=>$this->yystack[$this->yyidx + -1]->minor)); } -#line 1954 "internal.templateparser.php" +#line 1962 "internal.templateparser.php" #line 176 "internal.templateparser.y" function yy_r23(){ if ($this->yystack[$this->yyidx + -9]->minor != 'for') { $this->compiler->trigger_template_error ("wrong syntax for tag \"" . $this->yystack[$this->yyidx + -9]->minor . "\""); } $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -9]->minor,array('start'=>$this->yystack[$this->yyidx + -7]->minor,'ifexp'=>$this->yystack[$this->yyidx + -5]->minor,'varloop'=>$this->yystack[$this->yyidx + -2]->minor,'loop'=>$this->yystack[$this->yyidx + -1]->minor)); } -#line 1961 "internal.templateparser.php" +#line 1969 "internal.templateparser.php" #line 181 "internal.templateparser.y" function yy_r24(){ $this->_retvalue = '='.$this->yystack[$this->yyidx + 0]->minor; } -#line 1964 "internal.templateparser.php" +#line 1972 "internal.templateparser.php" #line 182 "internal.templateparser.y" function yy_r25(){ $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } -#line 1967 "internal.templateparser.php" +#line 1975 "internal.templateparser.php" #line 184 "internal.templateparser.y" function yy_r26(){ if ($this->yystack[$this->yyidx + -6]->minor != 'foreach') { $this->compiler->trigger_template_error ("wrong syntax for tag \"" . $this->yystack[$this->yyidx + -6]->minor . "\""); } $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); } -#line 1974 "internal.templateparser.php" +#line 1982 "internal.templateparser.php" #line 189 "internal.templateparser.y" function yy_r27(){ if ($this->yystack[$this->yyidx + -6]->minor != 'foreach') { $this->compiler->trigger_template_error ("wrong syntax for tag \"" . $this->yystack[$this->yyidx + -6]->minor . "\""); } $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + -6]->minor,array('from'=>$this->yystack[$this->yyidx + -4]->minor,'item'=>$this->yystack[$this->yyidx + -1]->minor)); } -#line 1981 "internal.templateparser.php" +#line 1989 "internal.templateparser.php" #line 199 "internal.templateparser.y" function yy_r28(){ $this->_retvalue = array_merge($this->yystack[$this->yyidx + -1]->minor,$this->yystack[$this->yyidx + 0]->minor); } -#line 1984 "internal.templateparser.php" +#line 1992 "internal.templateparser.php" #line 203 "internal.templateparser.y" function yy_r30(){ $this->_retvalue = array(); } -#line 1987 "internal.templateparser.php" +#line 1995 "internal.templateparser.php" #line 206 "internal.templateparser.y" function yy_r31(){ $this->_retvalue = array($this->yystack[$this->yyidx + -2]->minor=>$this->yystack[$this->yyidx + 0]->minor); } -#line 1990 "internal.templateparser.php" +#line 1998 "internal.templateparser.php" #line 211 "internal.templateparser.y" function yy_r32(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); } -#line 1993 "internal.templateparser.php" +#line 2001 "internal.templateparser.php" #line 212 "internal.templateparser.y" function yy_r33(){ $this->yystack[$this->yyidx + -2]->minor[]=$this->yystack[$this->yyidx + 0]->minor; $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor; } -#line 1996 "internal.templateparser.php" +#line 2004 "internal.templateparser.php" #line 214 "internal.templateparser.y" function yy_r34(){ $this->_retvalue = array('var' => $this->yystack[$this->yyidx + -2]->minor, 'value'=>$this->yystack[$this->yyidx + 0]->minor); } -#line 1999 "internal.templateparser.php" +#line 2007 "internal.templateparser.php" #line 220 "internal.templateparser.y" function yy_r35(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; } -#line 2002 "internal.templateparser.php" +#line 2010 "internal.templateparser.php" #line 224 "internal.templateparser.y" function yy_r37(){$this->_retvalue = '$_smarty_tpl->getStreamVariable(\''. $this->yystack[$this->yyidx + -2]->minor .'://'. $this->yystack[$this->yyidx + 0]->minor . '\')'; } -#line 2005 "internal.templateparser.php" +#line 2013 "internal.templateparser.php" #line 225 "internal.templateparser.y" function yy_r38(){ if ($this->smarty->plugin_handler->loadSmartyPlugin($this->yystack[$this->yyidx + -1]->minor[0],'modifier')) { @@ -2012,119 +2020,119 @@ static public $yy_action = array( } } } -#line 2020 "internal.templateparser.php" +#line 2028 "internal.templateparser.php" #line 243 "internal.templateparser.y" function yy_r41(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2023 "internal.templateparser.php" +#line 2031 "internal.templateparser.php" #line 245 "internal.templateparser.y" function yy_r42(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor . $this->yystack[$this->yyidx + -1]->minor . $this->yystack[$this->yyidx + 0]->minor; } -#line 2026 "internal.templateparser.php" +#line 2034 "internal.templateparser.php" #line 247 "internal.templateparser.y" function yy_r43(){ $this->_retvalue = '('. $this->yystack[$this->yyidx + -2]->minor . ').(' . $this->yystack[$this->yyidx + 0]->minor. ')'; } -#line 2029 "internal.templateparser.php" +#line 2037 "internal.templateparser.php" #line 264 "internal.templateparser.y" function yy_r48(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2032 "internal.templateparser.php" +#line 2040 "internal.templateparser.php" #line 273 "internal.templateparser.y" function yy_r52(){ $this->_retvalue = "(". $this->yystack[$this->yyidx + -1]->minor .")"; } -#line 2035 "internal.templateparser.php" +#line 2043 "internal.templateparser.php" #line 276 "internal.templateparser.y" function yy_r53(){ $this->_retvalue = "'".$this->yystack[$this->yyidx + -1]->minor."'"; } -#line 2038 "internal.templateparser.php" +#line 2046 "internal.templateparser.php" #line 277 "internal.templateparser.y" function yy_r54(){ $this->_retvalue = "''"; } -#line 2041 "internal.templateparser.php" +#line 2049 "internal.templateparser.php" #line 279 "internal.templateparser.y" function yy_r55(){ $this->_retvalue = "'".str_replace('\"','"',$this->yystack[$this->yyidx + -1]->minor)."'"; } -#line 2044 "internal.templateparser.php" +#line 2052 "internal.templateparser.php" #line 283 "internal.templateparser.y" function yy_r57(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2047 "internal.templateparser.php" +#line 2055 "internal.templateparser.php" #line 284 "internal.templateparser.y" function yy_r58(){ $this->prefix_number++; $this->prefix_code[] = 'prefix_number.'=$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + -3]->minor .'\')->value;?>'; $this->_retvalue = $this->yystack[$this->yyidx + -6]->minor.'::$_tmp'.$this->prefix_number.'('. $this->yystack[$this->yyidx + -1]->minor .')'; } -#line 2050 "internal.templateparser.php" +#line 2058 "internal.templateparser.php" #line 286 "internal.templateparser.y" function yy_r59(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor.'::'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2053 "internal.templateparser.php" +#line 2061 "internal.templateparser.php" #line 287 "internal.templateparser.y" function yy_r60(){ $this->prefix_number++; $this->prefix_code[] = 'prefix_number.'=$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + -4]->minor .'\')->value;?>'; $this->_retvalue = $this->yystack[$this->yyidx + -7]->minor.'::$_tmp'.$this->prefix_number.'('. $this->yystack[$this->yyidx + -2]->minor .')'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2056 "internal.templateparser.php" +#line 2064 "internal.templateparser.php" #line 289 "internal.templateparser.y" function yy_r61(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'::'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2059 "internal.templateparser.php" +#line 2067 "internal.templateparser.php" #line 291 "internal.templateparser.y" function yy_r62(){ $this->_retvalue = $this->yystack[$this->yyidx + -4]->minor.'::$'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2062 "internal.templateparser.php" +#line 2070 "internal.templateparser.php" #line 293 "internal.templateparser.y" function yy_r63(){ $this->_retvalue = $this->yystack[$this->yyidx + -5]->minor.'::$'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2065 "internal.templateparser.php" +#line 2073 "internal.templateparser.php" #line 300 "internal.templateparser.y" function yy_r64(){ if ($this->yystack[$this->yyidx + 0]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('internal_smarty_var',$this->yystack[$this->yyidx + 0]->minor['index']);} else { $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + 0]->minor['var'] .')->value'.$this->yystack[$this->yyidx + 0]->minor['index']; $this->nocache=$this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor['var'],"'"))->nocache;} } -#line 2069 "internal.templateparser.php" +#line 2077 "internal.templateparser.php" #line 303 "internal.templateparser.y" function yy_r65(){ $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->'.$this->yystack[$this->yyidx + 0]->minor; $this->nocache=$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"))->nocache; } -#line 2072 "internal.templateparser.php" +#line 2080 "internal.templateparser.php" #line 307 "internal.templateparser.y" function yy_r67(){$this->_retvalue = '$_smarty_tpl->getConfigVariable(\''. $this->yystack[$this->yyidx + -1]->minor .'\')'; } -#line 2075 "internal.templateparser.php" +#line 2083 "internal.templateparser.php" #line 310 "internal.templateparser.y" function yy_r68(){$this->_retvalue = array('var'=>$this->yystack[$this->yyidx + -1]->minor, 'index'=>$this->yystack[$this->yyidx + 0]->minor); } -#line 2078 "internal.templateparser.php" +#line 2086 "internal.templateparser.php" #line 318 "internal.templateparser.y" function yy_r70(){return; } -#line 2081 "internal.templateparser.php" +#line 2089 "internal.templateparser.php" #line 322 "internal.templateparser.y" function yy_r71(){ $this->_retvalue = "['". $this->yystack[$this->yyidx + 0]->minor ."']"; } -#line 2084 "internal.templateparser.php" +#line 2092 "internal.templateparser.php" #line 323 "internal.templateparser.y" function yy_r72(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + 0]->minor ."]"; } -#line 2087 "internal.templateparser.php" +#line 2095 "internal.templateparser.php" #line 324 "internal.templateparser.y" function yy_r73(){ $this->_retvalue = "[".$this->yystack[$this->yyidx + 0]->minor."]"; } -#line 2090 "internal.templateparser.php" +#line 2098 "internal.templateparser.php" #line 325 "internal.templateparser.y" function yy_r74(){ $this->_retvalue = "[". $this->yystack[$this->yyidx + -1]->minor ."]"; } -#line 2093 "internal.templateparser.php" +#line 2101 "internal.templateparser.php" #line 327 "internal.templateparser.y" function yy_r75(){ $this->_retvalue = '['.$this->compiler->compileTag('internal_smarty_var','[\'section\'][\''.$this->yystack[$this->yyidx + -1]->minor.'\'][\'index\']').']'; } -#line 2096 "internal.templateparser.php" +#line 2104 "internal.templateparser.php" #line 331 "internal.templateparser.y" function yy_r77(){$this->_retvalue = ''; } -#line 2099 "internal.templateparser.php" +#line 2107 "internal.templateparser.php" #line 339 "internal.templateparser.y" function yy_r79(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.'.'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2102 "internal.templateparser.php" +#line 2110 "internal.templateparser.php" #line 341 "internal.templateparser.y" function yy_r80(){$this->_retvalue = '\''.$this->yystack[$this->yyidx + 0]->minor.'\''; } -#line 2105 "internal.templateparser.php" +#line 2113 "internal.templateparser.php" #line 343 "internal.templateparser.y" function yy_r81(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -1]->minor.')'; } -#line 2108 "internal.templateparser.php" +#line 2116 "internal.templateparser.php" #line 348 "internal.templateparser.y" function yy_r82(){ $this->_retvalue = '$_smarty_tpl->getVariable('. $this->yystack[$this->yyidx + -2]->minor .')->value'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; $this->nocache=$this->template->getVariable(trim($this->yystack[$this->yyidx + -2]->minor,"'"))->nocache; } -#line 2111 "internal.templateparser.php" +#line 2119 "internal.templateparser.php" #line 350 "internal.templateparser.y" function yy_r83(){$this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } -#line 2114 "internal.templateparser.php" +#line 2122 "internal.templateparser.php" #line 352 "internal.templateparser.y" function yy_r84(){$this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2117 "internal.templateparser.php" +#line 2125 "internal.templateparser.php" #line 354 "internal.templateparser.y" function yy_r85(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2120 "internal.templateparser.php" +#line 2128 "internal.templateparser.php" #line 355 "internal.templateparser.y" function yy_r86(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } -#line 2123 "internal.templateparser.php" +#line 2131 "internal.templateparser.php" #line 356 "internal.templateparser.y" function yy_r87(){ $this->_retvalue = '->{'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } -#line 2126 "internal.templateparser.php" +#line 2134 "internal.templateparser.php" #line 357 "internal.templateparser.y" function yy_r88(){ $this->_retvalue = '->{\''.$this->yystack[$this->yyidx + -4]->minor.'\'.'.$this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + 0]->minor.'}'; } -#line 2129 "internal.templateparser.php" +#line 2137 "internal.templateparser.php" #line 359 "internal.templateparser.y" function yy_r89(){ $this->_retvalue = '->'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2132 "internal.templateparser.php" +#line 2140 "internal.templateparser.php" #line 365 "internal.templateparser.y" function yy_r90(){if (!$this->template->security || $this->smarty->security_handler->isTrustedPhpFunction($this->yystack[$this->yyidx + -3]->minor, $this->compiler)) { if ($this->yystack[$this->yyidx + -3]->minor == 'isset' || $this->yystack[$this->yyidx + -3]->minor == 'empty' || $this->yystack[$this->yyidx + -3]->minor == 'array' || is_callable($this->yystack[$this->yyidx + -3]->minor)) { @@ -2133,124 +2141,133 @@ static public $yy_action = array( $this->compiler->trigger_template_error ("unknown function \"" . $this->yystack[$this->yyidx + -3]->minor . "\""); } } } -#line 2141 "internal.templateparser.php" +#line 2149 "internal.templateparser.php" #line 376 "internal.templateparser.y" function yy_r91(){ $this->_retvalue = $this->yystack[$this->yyidx + -3]->minor . "(". $this->yystack[$this->yyidx + -1]->minor .")"; } -#line 2144 "internal.templateparser.php" +#line 2152 "internal.templateparser.php" #line 380 "internal.templateparser.y" function yy_r92(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.",".$this->yystack[$this->yyidx + 0]->minor; } -#line 2147 "internal.templateparser.php" +#line 2155 "internal.templateparser.php" #line 384 "internal.templateparser.y" function yy_r94(){ return; } -#line 2150 "internal.templateparser.php" +#line 2158 "internal.templateparser.php" #line 389 "internal.templateparser.y" function yy_r95(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor,true); } -#line 2153 "internal.templateparser.php" +#line 2161 "internal.templateparser.php" #line 390 "internal.templateparser.y" function yy_r96(){ $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor,false); } -#line 2156 "internal.templateparser.php" +#line 2164 "internal.templateparser.php" #line 397 "internal.templateparser.y" function yy_r97(){ $this->_retvalue = $this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2159 "internal.templateparser.php" +#line 2167 "internal.templateparser.php" #line 401 "internal.templateparser.y" function yy_r99(){$this->_retvalue = ','.$this->yystack[$this->yyidx + 0]->minor; } -#line 2162 "internal.templateparser.php" +#line 2170 "internal.templateparser.php" #line 402 "internal.templateparser.y" function yy_r100(){$this->_retvalue = ',\''.$this->yystack[$this->yyidx + 0]->minor.'\''; } -#line 2165 "internal.templateparser.php" +#line 2173 "internal.templateparser.php" #line 409 "internal.templateparser.y" function yy_r102(){$this->_retvalue = '!'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2168 "internal.templateparser.php" +#line 2176 "internal.templateparser.php" #line 414 "internal.templateparser.y" function yy_r104(){$this->_retvalue =$this->yystack[$this->yyidx + 0]->minor; } -#line 2171 "internal.templateparser.php" +#line 2179 "internal.templateparser.php" #line 415 "internal.templateparser.y" function yy_r105(){$this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.$this->yystack[$this->yyidx + -1]->minor.$this->yystack[$this->yyidx + 0]->minor; } -#line 2174 "internal.templateparser.php" +#line 2182 "internal.templateparser.php" #line 416 "internal.templateparser.y" function yy_r106(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor.')'; } -#line 2177 "internal.templateparser.php" +#line 2185 "internal.templateparser.php" #line 417 "internal.templateparser.y" function yy_r107(){$this->_retvalue = 'in_array('.$this->yystack[$this->yyidx + -2]->minor.',(array)'.$this->yystack[$this->yyidx + 0]->minor.')'; } -#line 2180 "internal.templateparser.php" +#line 2188 "internal.templateparser.php" #line 419 "internal.templateparser.y" function yy_r109(){$this->_retvalue = '!('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; } -#line 2183 "internal.templateparser.php" +#line 2191 "internal.templateparser.php" #line 420 "internal.templateparser.y" function yy_r110(){$this->_retvalue = '('.$this->yystack[$this->yyidx + -2]->minor.' % '.$this->yystack[$this->yyidx + 0]->minor.')'; } -#line 2186 "internal.templateparser.php" +#line 2194 "internal.templateparser.php" #line 421 "internal.templateparser.y" function yy_r111(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; } -#line 2189 "internal.templateparser.php" +#line 2197 "internal.templateparser.php" #line 422 "internal.templateparser.y" function yy_r112(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -1]->minor.')'; } -#line 2192 "internal.templateparser.php" +#line 2200 "internal.templateparser.php" #line 423 "internal.templateparser.y" function yy_r113(){$this->_retvalue = '!(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; } -#line 2195 "internal.templateparser.php" +#line 2203 "internal.templateparser.php" #line 424 "internal.templateparser.y" function yy_r114(){$this->_retvalue = '(1 & '.$this->yystack[$this->yyidx + -2]->minor.' / '.$this->yystack[$this->yyidx + 0]->minor.')'; } -#line 2198 "internal.templateparser.php" +#line 2206 "internal.templateparser.php" #line 430 "internal.templateparser.y" function yy_r119(){$this->_retvalue = '=='; } -#line 2201 "internal.templateparser.php" +#line 2209 "internal.templateparser.php" #line 431 "internal.templateparser.y" function yy_r120(){$this->_retvalue = '!='; } -#line 2204 "internal.templateparser.php" +#line 2212 "internal.templateparser.php" #line 432 "internal.templateparser.y" function yy_r121(){$this->_retvalue = '>'; } -#line 2207 "internal.templateparser.php" +#line 2215 "internal.templateparser.php" #line 433 "internal.templateparser.y" function yy_r122(){$this->_retvalue = '<'; } -#line 2210 "internal.templateparser.php" +#line 2218 "internal.templateparser.php" #line 434 "internal.templateparser.y" function yy_r123(){$this->_retvalue = '>='; } -#line 2213 "internal.templateparser.php" +#line 2221 "internal.templateparser.php" #line 435 "internal.templateparser.y" function yy_r124(){$this->_retvalue = '<='; } -#line 2216 "internal.templateparser.php" +#line 2224 "internal.templateparser.php" #line 436 "internal.templateparser.y" function yy_r125(){$this->_retvalue = '==='; } -#line 2219 "internal.templateparser.php" +#line 2227 "internal.templateparser.php" #line 437 "internal.templateparser.y" function yy_r126(){$this->_retvalue = '!=='; } -#line 2222 "internal.templateparser.php" +#line 2230 "internal.templateparser.php" #line 439 "internal.templateparser.y" function yy_r127(){$this->_retvalue = '&&'; } -#line 2225 "internal.templateparser.php" +#line 2233 "internal.templateparser.php" #line 440 "internal.templateparser.y" function yy_r128(){$this->_retvalue = '||'; } -#line 2228 "internal.templateparser.php" +#line 2236 "internal.templateparser.php" #line 445 "internal.templateparser.y" function yy_r129(){ $this->_retvalue = 'array('.$this->yystack[$this->yyidx + -1]->minor.')'; } -#line 2231 "internal.templateparser.php" +#line 2239 "internal.templateparser.php" #line 447 "internal.templateparser.y" function yy_r131(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.','.$this->yystack[$this->yyidx + 0]->minor; } -#line 2234 "internal.templateparser.php" +#line 2242 "internal.templateparser.php" #line 448 "internal.templateparser.y" function yy_r132(){ return; } -#line 2237 "internal.templateparser.php" +#line 2245 "internal.templateparser.php" #line 450 "internal.templateparser.y" function yy_r134(){ $this->_retvalue = $this->yystack[$this->yyidx + -2]->minor.'=>'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2240 "internal.templateparser.php" +#line 2248 "internal.templateparser.php" #line 451 "internal.templateparser.y" function yy_r135(){ $this->_retvalue = '\''.$this->yystack[$this->yyidx + -2]->minor.'\'=>'.$this->yystack[$this->yyidx + 0]->minor; } -#line 2243 "internal.templateparser.php" +#line 2251 "internal.templateparser.php" #line 458 "internal.templateparser.y" function yy_r138(){$this->_retvalue = "`".$this->yystack[$this->yyidx + -1]->minor."`"; } -#line 2246 "internal.templateparser.php" +#line 2254 "internal.templateparser.php" #line 459 "internal.templateparser.y" function yy_r139(){$this->_retvalue = "'.".$this->yystack[$this->yyidx + -1]->minor.".'"; } -#line 2249 "internal.templateparser.php" +#line 2257 "internal.templateparser.php" #line 460 "internal.templateparser.y" function yy_r140(){$this->_retvalue = "'.".'$_smarty_tpl->getVariable(\''. $this->yystack[$this->yyidx + 0]->minor .'\')->value'.".'"; $this->nocache=$this->template->getVariable(trim($this->yystack[$this->yyidx + 0]->minor,"'"))->nocache; } -#line 2252 "internal.templateparser.php" +#line 2260 "internal.templateparser.php" #line 461 "internal.templateparser.y" function yy_r141(){$this->_retvalue = "'.(".$this->yystack[$this->yyidx + -1]->minor.").'"; } -#line 2255 "internal.templateparser.php" +#line 2263 "internal.templateparser.php" #line 462 "internal.templateparser.y" - function yy_r142(){$this->_retvalue = addcslashes($this->yystack[$this->yyidx + 0]->minor,"'"); } -#line 2258 "internal.templateparser.php" + function yy_r142(){$this->_retvalue = '$'.addcslashes($this->yystack[$this->yyidx + 0]->minor,"'"); } +#line 2266 "internal.templateparser.php" +#line 463 "internal.templateparser.y" + function yy_r143(){$this->_retvalue = '{'.addcslashes($this->yystack[$this->yyidx + 0]->minor,"'"); } +#line 2269 "internal.templateparser.php" +#line 464 "internal.templateparser.y" + function yy_r144(){$this->_retvalue = '`'.addcslashes($this->yystack[$this->yyidx + 0]->minor,"'"); } +#line 2272 "internal.templateparser.php" +#line 465 "internal.templateparser.y" + function yy_r145(){$this->_retvalue = addcslashes($this->yystack[$this->yyidx + 0]->minor,"'"); } +#line 2275 "internal.templateparser.php" /** * placeholder for the left hand side in a reduce operation. @@ -2367,7 +2384,7 @@ static public $yy_action = array( $this->internalError = true; $this->yymajor = $yymajor; $this->compiler->trigger_template_error(); -#line 2376 "internal.templateparser.php" +#line 2393 "internal.templateparser.php" } /** @@ -2391,7 +2408,7 @@ static public $yy_action = array( $this->internalError = false; $this->retvalue = $this->_retvalue; //echo $this->retvalue."\n\n"; -#line 2401 "internal.templateparser.php" +#line 2418 "internal.templateparser.php" } /**