diff options
author | Karl Berry <karl@freefriends.org> | 2016-05-12 22:54:35 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-05-12 22:54:35 +0000 |
commit | f0e23ed3daf4d57345cfa284164276b520302c03 (patch) | |
tree | 3e5b0729899d1e124eec7996df94fd9f7e688d05 /Build/source/utils/asymptote/lex.yy.cc | |
parent | bd459bc63bbacb77224c9d858759541096c095c8 (diff) |
asy 2.38 sources
git-svn-id: svn://tug.org/texlive/trunk@41074 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/lex.yy.cc')
-rw-r--r-- | Build/source/utils/asymptote/lex.yy.cc | 776 |
1 files changed, 394 insertions, 382 deletions
diff --git a/Build/source/utils/asymptote/lex.yy.cc b/Build/source/utils/asymptote/lex.yy.cc index da9a42f73ce..b0024013e18 100644 --- a/Build/source/utils/asymptote/lex.yy.cc +++ b/Build/source/utils/asymptote/lex.yy.cc @@ -446,8 +446,8 @@ static void yy_fatal_error (yyconst char msg[] ); (yy_c_buf_p) = yy_cp; /* %% [4.0] data tables for the DFA and the user's section 1 definitions go here */ -#define YY_NUM_RULES 122 -#define YY_END_OF_BUFFER 123 +#define YY_NUM_RULES 124 +#define YY_END_OF_BUFFER 125 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info @@ -455,45 +455,45 @@ struct yy_trans_info flex_int32_t yy_verify; flex_int32_t yy_nxt; }; -static yyconst flex_int16_t yy_accept[335] = +static yyconst flex_int16_t yy_accept[337] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 123, 121, 28, 29, 29, 59, 119, 68, - 46, 66, 120, 34, 35, 44, 42, 31, 43, 40, - 45, 103, 32, 33, 53, 50, 55, 49, 68, 117, - 36, 121, 37, 47, 117, 117, 117, 117, 117, 117, - 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, - 38, 67, 39, 68, 4, 3, 3, 4, 4, 10, - 7, 7, 6, 10, 27, 13, 13, 12, 27, 122, - 116, 111, 112, 111, 114, 114, 114, 114, 114, 114, - 116, 116, 114, 116, 114, 114, 115, 116, 114, 114, - - 29, 52, 68, 73, 57, 48, 71, 62, 69, 64, - 70, 63, 104, 118, 30, 72, 104, 103, 0, 61, - 54, 51, 56, 117, 29, 74, 60, 117, 117, 117, - 117, 117, 117, 117, 84, 117, 117, 117, 117, 117, - 80, 117, 117, 117, 117, 117, 117, 117, 117, 117, - 117, 117, 117, 117, 117, 117, 117, 58, 3, 2, - 1, 7, 0, 0, 5, 0, 7, 9, 8, 13, - 0, 0, 11, 0, 13, 14, 22, 22, 15, 16, - 17, 18, 19, 20, 21, 0, 112, 114, 114, 113, - 114, 115, 112, 65, 41, 0, 30, 0, 104, 0, - - 0, 104, 117, 75, 117, 117, 117, 117, 117, 117, - 117, 117, 83, 117, 117, 117, 90, 117, 117, 117, - 117, 117, 117, 117, 117, 117, 117, 117, 117, 117, - 117, 117, 0, 0, 23, 23, 25, 0, 0, 104, - 117, 117, 117, 117, 79, 117, 81, 117, 117, 94, - 117, 117, 117, 107, 117, 117, 117, 117, 117, 117, - 117, 117, 117, 101, 105, 117, 117, 117, 24, 26, - 0, 104, 117, 117, 86, 117, 117, 108, 117, 106, - 117, 117, 117, 117, 117, 117, 96, 117, 117, 117, - 117, 117, 117, 117, 82, 91, 117, 117, 117, 117, - - 92, 117, 117, 117, 117, 98, 117, 85, 97, 88, - 117, 117, 117, 78, 117, 117, 117, 95, 117, 117, - 99, 117, 77, 89, 93, 87, 76, 102, 109, 110, - 117, 117, 100, 0 + 0, 0, 125, 123, 28, 29, 29, 60, 121, 46, + 69, 47, 67, 122, 34, 35, 44, 42, 31, 43, + 40, 45, 105, 32, 33, 54, 51, 56, 50, 69, + 119, 36, 123, 37, 48, 119, 119, 119, 119, 119, + 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, + 119, 38, 68, 39, 69, 4, 3, 3, 4, 4, + 10, 7, 7, 6, 10, 27, 13, 13, 12, 27, + 124, 118, 113, 114, 113, 116, 116, 116, 116, 116, + 116, 118, 118, 116, 118, 116, 116, 117, 118, 116, + + 116, 29, 53, 74, 69, 75, 58, 49, 72, 63, + 70, 65, 71, 64, 106, 120, 30, 73, 106, 105, + 0, 62, 55, 52, 57, 119, 29, 76, 61, 119, + 119, 119, 119, 119, 119, 119, 86, 119, 119, 119, + 119, 119, 82, 119, 119, 119, 119, 119, 119, 119, + 119, 119, 119, 119, 119, 119, 119, 119, 119, 59, + 3, 2, 1, 7, 0, 0, 5, 0, 7, 9, + 8, 13, 0, 0, 11, 0, 13, 14, 22, 22, + 15, 16, 17, 18, 19, 20, 21, 0, 114, 116, + 116, 115, 116, 117, 114, 66, 41, 0, 30, 0, + + 106, 0, 0, 106, 119, 77, 119, 119, 119, 119, + 119, 119, 119, 119, 85, 119, 119, 119, 92, 119, + 119, 119, 119, 119, 119, 119, 119, 119, 119, 119, + 119, 119, 119, 119, 0, 0, 23, 23, 25, 0, + 0, 106, 119, 119, 119, 119, 81, 119, 83, 119, + 119, 96, 119, 119, 119, 109, 119, 119, 119, 119, + 119, 119, 119, 119, 119, 103, 107, 119, 119, 119, + 24, 26, 0, 106, 119, 119, 88, 119, 119, 110, + 119, 108, 119, 119, 119, 119, 119, 119, 98, 119, + 119, 119, 119, 119, 119, 119, 84, 93, 119, 119, + + 119, 119, 94, 119, 119, 119, 119, 100, 119, 87, + 99, 90, 119, 119, 119, 80, 119, 119, 119, 97, + 119, 119, 101, 119, 79, 91, 95, 89, 78, 104, + 111, 112, 119, 119, 102, 0 } ; static yyconst flex_int32_t yy_ec[256] = @@ -501,17 +501,17 @@ static yyconst flex_int32_t yy_ec[256] = 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 2, 5, 6, 1, 7, 8, 9, 10, 11, - 12, 13, 14, 15, 16, 17, 18, 19, 19, 19, - 19, 20, 20, 20, 20, 21, 21, 22, 23, 24, - 25, 26, 27, 28, 29, 29, 29, 29, 29, 29, - 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, - 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, - 31, 32, 33, 34, 30, 1, 35, 36, 37, 38, - - 39, 40, 30, 41, 42, 30, 43, 44, 45, 46, - 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, - 57, 30, 58, 59, 60, 61, 1, 1, 1, 1, + 1, 2, 5, 6, 7, 8, 9, 10, 11, 12, + 13, 14, 15, 16, 17, 18, 19, 20, 20, 20, + 20, 21, 21, 21, 21, 22, 22, 23, 24, 25, + 26, 27, 28, 29, 30, 30, 30, 30, 30, 30, + 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, + 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, + 32, 33, 34, 35, 31, 1, 36, 37, 38, 39, + + 40, 41, 31, 42, 43, 31, 44, 45, 46, 47, + 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, + 58, 31, 59, 60, 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, 1, 1, 1, @@ -528,172 +528,173 @@ static yyconst flex_int32_t yy_ec[256] = 1, 1, 1, 1, 1 } ; -static yyconst flex_int32_t yy_meta[62] = +static yyconst flex_int32_t yy_meta[63] = { 0, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, - 3, 1, 1, 1, 1, 1, 1, 1, 3, 3, - 1, 1, 1, 1, 3, 3, 3, 3, 3, 3, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, + 3, 3, 1, 1, 1, 1, 1, 1, 1, 3, + 3, 1, 1, 1, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, - 3, 3, 3, 3, 3, 3, 3, 1, 1, 1, - 1 + 3, 3, 3, 3, 3, 3, 3, 3, 1, 1, + 1, 1 } ; -static yyconst flex_int16_t yy_base[342] = +static yyconst flex_int16_t yy_base[344] = { 0, - 0, 0, 59, 61, 63, 67, 72, 77, 0, 0, - 109, 0, 536, 537, 537, 537, 532, 509, 537, 526, - 507, 522, 537, 537, 537, 65, 69, 537, 68, 81, - 78, 154, 508, 537, 61, 504, 63, 537, 500, 0, - 537, 102, 537, 147, 139, 477, 130, 479, 134, 145, - 154, 143, 477, 136, 471, 484, 470, 162, 475, 479, - 537, 460, 537, 537, 537, 537, 515, 499, 503, 537, - 537, 512, 203, 211, 537, 537, 511, 218, 248, 537, - 537, 537, 537, 510, 487, 504, 537, 497, 495, 492, - 490, 484, 83, 480, 172, 476, 0, 207, 469, 537, - - 537, 537, 537, 537, 537, 537, 537, 537, 537, 486, - 537, 206, 210, 537, 0, 537, 217, 225, 241, 537, - 537, 537, 537, 0, 498, 537, 537, 463, 461, 454, - 458, 450, 445, 457, 0, 442, 444, 447, 440, 442, - 0, 440, 450, 431, 441, 445, 441, 446, 434, 181, - 213, 434, 437, 425, 429, 426, 433, 537, 537, 537, - 537, 537, 267, 283, 537, 236, 471, 537, 537, 537, - 303, 308, 537, 262, 470, 537, 259, 262, 537, 537, - 537, 537, 537, 537, 537, 301, 537, 537, 537, 537, - 456, 0, 468, 537, 306, 312, 0, 317, 322, 276, - - 333, 325, 431, 0, 430, 433, 415, 422, 421, 425, - 419, 411, 0, 416, 413, 415, 418, 413, 406, 401, - 410, 401, 400, 398, 398, 396, 397, 396, 407, 406, - 409, 399, 353, 362, 309, 537, 354, 368, 376, 357, - 391, 406, 397, 166, 0, 400, 0, 396, 398, 0, - 386, 382, 384, 0, 398, 397, 389, 391, 379, 378, - 385, 389, 383, 0, 0, 386, 369, 383, 537, 537, - 384, 360, 370, 368, 0, 356, 354, 0, 362, 0, - 341, 353, 351, 319, 318, 330, 0, 320, 314, 321, - 298, 301, 300, 285, 0, 0, 267, 264, 264, 261, - - 0, 262, 246, 229, 235, 0, 235, 0, 0, 0, - 213, 213, 203, 0, 202, 167, 152, 0, 163, 138, - 0, 132, 0, 0, 0, 0, 0, 0, 0, 0, - 140, 59, 0, 537, 405, 408, 411, 414, 89, 65, - 417 + 0, 0, 60, 62, 64, 69, 74, 79, 0, 0, + 112, 0, 539, 540, 540, 540, 535, 511, 540, 510, + 527, 508, 523, 540, 540, 540, 66, 69, 540, 70, + 83, 72, 157, 509, 540, 63, 505, 67, 540, 501, + 0, 540, 96, 540, 150, 142, 478, 133, 480, 137, + 148, 157, 146, 478, 55, 472, 485, 471, 150, 476, + 480, 540, 461, 540, 540, 540, 540, 517, 500, 504, + 540, 540, 514, 203, 207, 540, 540, 513, 213, 244, + 540, 540, 540, 540, 512, 488, 540, 505, 498, 496, + 493, 491, 485, 85, 481, 194, 477, 0, 219, 470, + + 540, 540, 540, 540, 540, 540, 540, 540, 540, 540, + 540, 487, 540, 207, 211, 540, 0, 540, 217, 223, + 239, 540, 540, 540, 540, 0, 500, 540, 540, 464, + 462, 455, 459, 451, 446, 458, 0, 443, 445, 448, + 441, 443, 0, 441, 451, 432, 442, 446, 442, 447, + 435, 200, 198, 435, 438, 426, 430, 427, 434, 540, + 540, 540, 540, 540, 265, 300, 540, 270, 473, 540, + 540, 540, 306, 312, 540, 275, 472, 540, 262, 266, + 540, 540, 540, 540, 540, 540, 540, 304, 540, 540, + 540, 540, 457, 0, 470, 540, 272, 307, 0, 320, + + 310, 331, 339, 315, 432, 0, 431, 434, 416, 423, + 422, 426, 420, 412, 0, 417, 414, 416, 419, 414, + 407, 402, 411, 402, 401, 399, 399, 397, 398, 397, + 408, 407, 410, 400, 360, 366, 268, 540, 358, 369, + 380, 361, 392, 407, 398, 175, 0, 401, 0, 397, + 399, 0, 387, 383, 385, 0, 399, 398, 390, 392, + 380, 379, 386, 389, 364, 0, 0, 367, 349, 358, + 540, 540, 388, 391, 344, 342, 0, 345, 339, 0, + 347, 0, 323, 336, 337, 314, 312, 320, 0, 314, + 308, 311, 291, 295, 282, 281, 0, 0, 266, 259, + + 262, 262, 0, 260, 250, 236, 235, 0, 232, 0, + 0, 0, 219, 221, 213, 0, 202, 178, 159, 0, + 162, 142, 0, 135, 0, 0, 0, 0, 0, 0, + 0, 0, 143, 69, 0, 540, 413, 416, 419, 422, + 68, 66, 425 } ; -static yyconst flex_int16_t yy_def[342] = +static yyconst flex_int16_t yy_def[344] = { 0, - 334, 1, 335, 335, 336, 336, 337, 337, 338, 338, - 334, 11, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 339, - 334, 334, 334, 334, 339, 339, 339, 339, 339, 339, - 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 340, 334, 334, 334, - - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 341, 334, 334, 334, 334, 334, - 334, 334, 334, 339, 334, 334, 334, 339, 339, 339, - 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - 339, 339, 339, 339, 339, 339, 339, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 340, 334, 334, 334, 334, 341, 334, 334, 334, - - 334, 334, 339, 339, 339, 339, 339, 339, 339, 339, - 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - 339, 339, 334, 334, 334, 334, 334, 334, 334, 334, - 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - 339, 339, 339, 339, 339, 339, 339, 339, 334, 334, - 334, 334, 339, 339, 339, 339, 339, 339, 339, 339, - 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - - 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - 339, 339, 339, 339, 339, 339, 339, 339, 339, 339, - 339, 339, 339, 0, 334, 334, 334, 334, 334, 334, - 334 + 336, 1, 337, 337, 338, 338, 339, 339, 340, 340, + 336, 11, 336, 336, 336, 336, 336, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 341, 336, 336, 336, 336, 341, 341, 341, 341, 341, + 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + 341, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 342, 336, 336, + + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 343, 336, 336, 336, + 336, 336, 336, 336, 336, 341, 336, 336, 336, 341, + 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + 341, 341, 341, 341, 341, 341, 341, 341, 341, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 336, 336, 336, 342, 336, 336, 336, 336, 343, 336, + + 336, 336, 336, 336, 341, 341, 341, 341, 341, 341, + 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + 341, 341, 341, 341, 336, 336, 336, 336, 336, 336, + 336, 336, 341, 341, 341, 341, 341, 341, 341, 341, + 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + 336, 336, 336, 336, 341, 341, 341, 341, 341, 341, + 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + + 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + 341, 341, 341, 341, 341, 341, 341, 341, 341, 341, + 341, 341, 341, 341, 341, 0, 336, 336, 336, 336, + 336, 336, 336 } ; -static yyconst flex_int16_t yy_nxt[599] = +static yyconst flex_int16_t yy_nxt[603] = { 0, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, - 24, 25, 26, 27, 28, 29, 30, 31, 32, 32, - 32, 33, 34, 35, 36, 37, 38, 39, 40, 40, + 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, + 33, 33, 34, 35, 36, 37, 38, 39, 40, 41, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, - 40, 51, 40, 40, 40, 52, 53, 54, 55, 56, - 57, 58, 59, 40, 60, 40, 40, 61, 62, 63, - 64, 66, 67, 66, 67, 71, 72, 192, 73, 71, - 72, 68, 73, 68, 76, 77, 69, 106, 69, 76, - 77, 78, 108, 110, 103, 121, 78, 123, 103, 107, - 114, 124, 111, 109, 74, 115, 333, 112, 74, 113, - - 113, 113, 116, 79, 101, 125, 189, 188, 79, 81, - 82, 83, 84, 85, 81, 86, 87, 87, 81, 81, - 81, 88, 89, 81, 90, 91, 87, 81, 81, 81, - 92, 81, 93, 94, 95, 81, 96, 97, 97, 81, - 98, 81, 99, 97, 97, 97, 97, 97, 97, 97, - 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, - 97, 97, 97, 97, 97, 97, 81, 87, 81, 100, - 117, 126, 118, 118, 118, 128, 132, 136, 332, 138, - 127, 144, 133, 331, 129, 147, 134, 330, 148, 137, - 130, 139, 119, 141, 140, 145, 188, 189, 142, 143, - - 152, 329, 153, 328, 163, 163, 164, 276, 165, 187, - 193, 154, 165, 162, 167, 277, 168, 327, 155, 171, - 171, 172, 195, 173, 196, 196, 196, 173, 113, 113, - 113, 223, 224, 198, 166, 199, 199, 199, 163, 164, - 326, 117, 169, 118, 118, 118, 325, 225, 119, 174, - 170, 175, 324, 176, 201, 200, 201, 176, 323, 202, - 202, 202, 226, 119, 171, 172, 177, 178, 163, 163, - 164, 322, 165, 321, 176, 320, 165, 235, 235, 176, - 236, 236, 179, 180, 163, 233, 164, 181, 165, 239, - 319, 239, 165, 182, 240, 240, 240, 183, 166, 184, - - 318, 185, 317, 186, 171, 171, 172, 316, 173, 171, - 234, 172, 173, 173, 166, 237, 315, 173, 314, 237, - 237, 237, 198, 313, 196, 196, 196, 269, 269, 237, - 196, 196, 196, 198, 174, 196, 196, 196, 312, 174, - 199, 199, 199, 202, 202, 202, 201, 311, 201, 310, - 119, 202, 202, 202, 163, 163, 164, 309, 165, 308, - 238, 307, 165, 171, 171, 172, 306, 173, 270, 305, - 304, 173, 270, 270, 270, 240, 240, 240, 272, 272, - 272, 271, 270, 271, 166, 303, 272, 272, 272, 239, - 302, 239, 301, 174, 240, 240, 240, 271, 300, 271, - - 299, 298, 272, 272, 272, 65, 65, 65, 70, 70, - 70, 75, 75, 75, 80, 80, 80, 197, 297, 197, - 296, 295, 294, 293, 292, 291, 290, 289, 288, 287, - 286, 285, 284, 283, 282, 281, 280, 279, 278, 275, - 274, 273, 268, 267, 266, 265, 264, 263, 262, 261, - 260, 259, 258, 257, 256, 255, 254, 253, 252, 251, - 250, 249, 248, 247, 246, 245, 244, 243, 242, 241, - 187, 188, 170, 162, 232, 231, 230, 229, 228, 227, - 222, 221, 220, 219, 218, 217, 216, 215, 214, 213, - 212, 211, 210, 209, 208, 207, 206, 205, 204, 203, - - 101, 194, 188, 189, 188, 188, 188, 191, 188, 190, - 189, 188, 187, 170, 162, 161, 160, 159, 158, 157, - 156, 151, 150, 149, 146, 135, 131, 103, 122, 120, - 105, 104, 103, 102, 101, 334, 13, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334 - + 51, 41, 52, 41, 41, 41, 53, 54, 55, 56, + 57, 58, 59, 60, 41, 61, 41, 41, 62, 63, + 64, 65, 67, 68, 67, 68, 72, 73, 194, 74, + 126, 72, 73, 69, 74, 69, 77, 78, 70, 108, + 70, 77, 78, 110, 79, 116, 112, 105, 123, 79, + 117, 109, 125, 105, 111, 113, 75, 118, 102, 127, + + 114, 75, 115, 115, 115, 149, 80, 335, 150, 191, + 190, 80, 82, 83, 84, 85, 86, 82, 87, 88, + 87, 87, 82, 82, 82, 89, 90, 82, 91, 92, + 87, 82, 82, 82, 93, 82, 94, 95, 96, 82, + 97, 98, 98, 82, 99, 82, 100, 98, 98, 98, + 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, + 98, 98, 98, 98, 98, 98, 98, 98, 98, 98, + 82, 87, 82, 101, 119, 128, 120, 120, 120, 130, + 134, 138, 334, 140, 129, 146, 135, 333, 131, 154, + 136, 155, 332, 139, 132, 141, 121, 143, 142, 147, + + 156, 331, 144, 145, 165, 165, 166, 157, 167, 164, + 169, 330, 170, 167, 173, 173, 174, 278, 175, 190, + 191, 189, 195, 175, 197, 279, 198, 198, 198, 329, + 115, 115, 115, 227, 200, 168, 201, 201, 201, 171, + 119, 328, 120, 120, 120, 176, 172, 177, 228, 178, + 121, 225, 226, 203, 178, 203, 202, 327, 204, 204, + 204, 326, 121, 179, 180, 325, 165, 165, 166, 324, + 167, 178, 165, 166, 323, 167, 178, 173, 174, 181, + 182, 237, 237, 322, 183, 238, 238, 271, 271, 200, + 184, 198, 198, 198, 185, 321, 186, 168, 187, 320, + + 188, 165, 235, 166, 319, 167, 318, 173, 173, 174, + 167, 175, 317, 173, 236, 174, 175, 175, 316, 239, + 315, 314, 175, 239, 239, 239, 198, 198, 198, 201, + 201, 201, 168, 239, 204, 204, 204, 200, 176, 198, + 198, 198, 313, 312, 176, 241, 121, 241, 311, 240, + 242, 242, 242, 203, 310, 203, 309, 308, 204, 204, + 204, 165, 165, 166, 307, 167, 306, 173, 173, 174, + 167, 175, 305, 272, 304, 303, 175, 272, 272, 272, + 242, 242, 242, 273, 302, 273, 301, 272, 274, 274, + 274, 300, 168, 299, 241, 298, 241, 297, 176, 242, + + 242, 242, 273, 296, 273, 295, 294, 274, 274, 274, + 274, 274, 274, 66, 66, 66, 71, 71, 71, 76, + 76, 76, 81, 81, 81, 199, 293, 199, 292, 291, + 290, 289, 288, 287, 286, 285, 284, 283, 282, 281, + 280, 277, 276, 275, 270, 269, 268, 267, 266, 265, + 264, 263, 262, 261, 260, 259, 258, 257, 256, 255, + 254, 253, 252, 251, 250, 249, 248, 247, 246, 245, + 244, 243, 189, 190, 172, 164, 234, 233, 232, 231, + 230, 229, 224, 223, 222, 221, 220, 219, 218, 217, + 216, 215, 214, 213, 212, 211, 210, 209, 208, 207, + + 206, 205, 102, 196, 190, 191, 190, 190, 190, 193, + 190, 192, 191, 190, 189, 172, 164, 163, 162, 161, + 160, 159, 158, 153, 152, 151, 148, 137, 133, 105, + 124, 122, 107, 106, 105, 104, 103, 102, 336, 13, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + + 336, 336 } ; -static yyconst flex_int16_t yy_chk[599] = +static yyconst flex_int16_t yy_chk[603] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, @@ -701,66 +702,67 @@ static yyconst flex_int16_t yy_chk[599] = 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, 3, 3, 4, 4, 5, 5, 340, 5, 6, - 6, 3, 6, 4, 7, 7, 3, 26, 4, 8, - 8, 7, 27, 29, 35, 35, 8, 37, 37, 26, - 31, 339, 29, 27, 5, 31, 332, 30, 6, 30, + 1, 1, 3, 3, 4, 4, 5, 5, 342, 5, + 341, 6, 6, 3, 6, 4, 7, 7, 3, 27, + 4, 8, 8, 28, 7, 32, 30, 36, 36, 8, + 32, 27, 38, 38, 28, 30, 5, 32, 43, 43, - 30, 30, 31, 7, 42, 42, 93, 93, 8, 11, - 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, + 31, 6, 31, 31, 31, 55, 7, 334, 55, 94, + 94, 8, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, - 32, 44, 32, 32, 32, 45, 47, 49, 331, 50, - 44, 52, 47, 322, 45, 54, 47, 320, 54, 49, - 45, 50, 32, 51, 50, 52, 95, 95, 51, 51, - - 58, 319, 58, 317, 73, 73, 73, 244, 73, 98, - 98, 58, 73, 74, 74, 244, 74, 316, 58, 78, - 78, 78, 112, 78, 112, 112, 112, 78, 113, 113, - 113, 150, 150, 117, 73, 117, 117, 117, 166, 166, - 315, 118, 74, 118, 118, 118, 313, 151, 113, 78, - 79, 79, 312, 79, 119, 117, 119, 79, 311, 119, - 119, 119, 151, 118, 174, 174, 79, 79, 163, 163, - 163, 307, 163, 305, 79, 304, 163, 177, 177, 79, - 178, 178, 79, 79, 164, 164, 164, 79, 164, 200, - 303, 200, 164, 79, 200, 200, 200, 79, 163, 79, - - 302, 79, 300, 79, 171, 171, 171, 299, 171, 172, - 172, 172, 171, 172, 164, 186, 298, 172, 297, 186, - 186, 186, 195, 294, 195, 195, 195, 235, 235, 186, - 196, 196, 196, 198, 171, 198, 198, 198, 293, 172, - 199, 199, 199, 202, 202, 202, 201, 292, 201, 291, - 196, 201, 201, 201, 233, 233, 233, 290, 233, 289, - 199, 288, 233, 234, 234, 234, 286, 234, 237, 285, - 284, 234, 237, 237, 237, 240, 240, 240, 272, 272, - 272, 238, 237, 238, 233, 283, 238, 238, 238, 239, - 282, 239, 281, 234, 239, 239, 239, 271, 279, 271, - - 277, 276, 271, 271, 271, 335, 335, 335, 336, 336, - 336, 337, 337, 337, 338, 338, 338, 341, 274, 341, - 273, 268, 267, 266, 263, 262, 261, 260, 259, 258, - 257, 256, 255, 253, 252, 251, 249, 248, 246, 243, - 242, 241, 232, 231, 230, 229, 228, 227, 226, 225, - 224, 223, 222, 221, 220, 219, 218, 217, 216, 215, - 214, 212, 211, 210, 209, 208, 207, 206, 205, 203, - 193, 191, 175, 167, 157, 156, 155, 154, 153, 152, - 149, 148, 147, 146, 145, 144, 143, 142, 140, 139, - 138, 137, 136, 134, 133, 132, 131, 130, 129, 128, - - 125, 110, 99, 96, 94, 92, 91, 90, 89, 88, - 86, 85, 84, 77, 72, 69, 68, 67, 62, 60, - 59, 57, 56, 55, 53, 48, 46, 39, 36, 33, - 22, 21, 20, 18, 17, 13, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334 - + 11, 11, 11, 11, 33, 45, 33, 33, 33, 46, + 48, 50, 333, 51, 45, 53, 48, 324, 46, 59, + 48, 59, 322, 50, 46, 51, 33, 52, 51, 53, + + 59, 321, 52, 52, 74, 74, 74, 59, 74, 75, + 75, 319, 75, 74, 79, 79, 79, 246, 79, 96, + 96, 99, 99, 79, 114, 246, 114, 114, 114, 318, + 115, 115, 115, 153, 119, 74, 119, 119, 119, 75, + 120, 317, 120, 120, 120, 79, 80, 80, 153, 80, + 115, 152, 152, 121, 80, 121, 119, 315, 121, 121, + 121, 314, 120, 80, 80, 313, 165, 165, 165, 309, + 165, 80, 168, 168, 307, 165, 80, 176, 176, 80, + 80, 179, 179, 306, 80, 180, 180, 237, 237, 197, + 80, 197, 197, 197, 80, 305, 80, 165, 80, 304, + + 80, 166, 166, 166, 302, 166, 301, 173, 173, 173, + 166, 173, 300, 174, 174, 174, 173, 174, 299, 188, + 296, 295, 174, 188, 188, 188, 198, 198, 198, 201, + 201, 201, 166, 188, 204, 204, 204, 200, 173, 200, + 200, 200, 294, 293, 174, 202, 198, 202, 292, 201, + 202, 202, 202, 203, 291, 203, 290, 288, 203, 203, + 203, 235, 235, 235, 287, 235, 286, 236, 236, 236, + 235, 236, 285, 239, 284, 283, 236, 239, 239, 239, + 242, 242, 242, 240, 281, 240, 279, 239, 240, 240, + 240, 278, 235, 276, 241, 275, 241, 270, 236, 241, + + 241, 241, 273, 269, 273, 268, 265, 273, 273, 273, + 274, 274, 274, 337, 337, 337, 338, 338, 338, 339, + 339, 339, 340, 340, 340, 343, 264, 343, 263, 262, + 261, 260, 259, 258, 257, 255, 254, 253, 251, 250, + 248, 245, 244, 243, 234, 233, 232, 231, 230, 229, + 228, 227, 226, 225, 224, 223, 222, 221, 220, 219, + 218, 217, 216, 214, 213, 212, 211, 210, 209, 208, + 207, 205, 195, 193, 177, 169, 159, 158, 157, 156, + 155, 154, 151, 150, 149, 148, 147, 146, 145, 144, + 142, 141, 140, 139, 138, 136, 135, 134, 133, 132, + + 131, 130, 127, 112, 100, 97, 95, 93, 92, 91, + 90, 89, 88, 86, 85, 78, 73, 70, 69, 68, + 63, 61, 60, 58, 57, 56, 54, 49, 47, 40, + 37, 34, 23, 22, 21, 20, 18, 17, 13, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + 336, 336, 336, 336, 336, 336, 336, 336, 336, 336, + + 336, 336 } ; static yy_state_type yy_last_accepting_state; @@ -769,7 +771,7 @@ static char *yy_last_accepting_cpos; extern int yy_flex_debug; int yy_flex_debug = 1; -static yyconst flex_int16_t yy_rule_linenum[122] = +static yyconst flex_int16_t yy_rule_linenum[124] = { 0, 212, 213, 215, 221, 225, 226, 236, 237, 238, 239, 243, 244, 254, 255, 256, 257, 258, 259, 260, 261, @@ -777,14 +779,14 @@ static yyconst flex_int16_t yy_rule_linenum[122] = 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, - 330, 331, 332, 333, 334, 335, 336, 337, 339, 340, - 341, 342, 343, 344, 346, 347, 348, 349, 350, 352, - 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, - 363, 364, 365, 366, 367, 368, 369, 371, 372, 373, - - 374, 375, 378, 385, 392, 394, 396, 398, 400, 403, - 405, 406, 412, 416, 420, 424, 427, 431, 432, 433, - 437 + 330, 331, 332, 333, 334, 335, 336, 337, 338, 340, + 341, 342, 343, 344, 345, 346, 348, 349, 350, 351, + 352, 354, 355, 356, 357, 358, 359, 360, 361, 362, + 363, 364, 365, 366, 367, 368, 369, 370, 371, 373, + + 374, 375, 376, 377, 380, 387, 394, 396, 398, 400, + 402, 405, 407, 408, 414, 418, 422, 426, 429, 433, + 434, 435, 439 } ; /* The intent behind this definition is that it'll catch @@ -996,7 +998,7 @@ void getstring(void) -#line 1000 "lex.yy.cc" +#line 1002 "lex.yy.cc" #define INITIAL 0 #define lexcomment 1 @@ -1281,7 +1283,7 @@ YY_DECL #line 209 "camp.l" -#line 1285 "lex.yy.cc" +#line 1287 "lex.yy.cc" while ( 1 ) /* loops until end-of-file is reached */ { @@ -1310,13 +1312,13 @@ yy_match: while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 335 ) + if ( yy_current_state >= 337 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; ++yy_cp; } - while ( yy_base[yy_current_state] != 537 ); + while ( yy_base[yy_current_state] != 540 ); yy_find_action: /* %% [10.0] code to find the action number goes here */ @@ -1339,13 +1341,13 @@ do_action: /* This label is used only to access EOF actions. */ { if ( yy_act == 0 ) fprintf( stderr, "--scanner backing up\n" ); - else if ( yy_act < 122 ) + else if ( yy_act < 124 ) fprintf( stderr, "--accepting rule at line %ld (\"%s\")\n", (long)yy_rule_linenum[yy_act], yytext ); - else if ( yy_act == 122 ) + else if ( yy_act == 124 ) fprintf( stderr, "--accepting default rule (\"%s\")\n", yytext ); - else if ( yy_act == 123 ) + else if ( yy_act == 125 ) fprintf( stderr, "--(end of buffer or a NUL)\n" ); else fprintf( stderr, "--EOF (start condition %d)\n", YY_START ); @@ -1666,292 +1668,302 @@ YY_RULE_SETUP case 46: YY_RULE_SETUP #line 315 "camp.l" -{DEFSYMBOL(SYM_MOD); return '%'; } +{DEFSYMBOL(SYM_QUOTIENT); return '#'; } YY_BREAK case 47: YY_RULE_SETUP #line 316 "camp.l" -{DEFSYMBOL(SYM_CARET); return '^'; } +{DEFSYMBOL(SYM_MOD); return '%'; } YY_BREAK case 48: YY_RULE_SETUP #line 317 "camp.l" -{savesymbol(SYM_CARET); return '^'; } +{DEFSYMBOL(SYM_CARET); return '^'; } YY_BREAK case 49: YY_RULE_SETUP #line 318 "camp.l" -{adjust(); return '?'; } +{savesymbol(SYM_CARET); return '^'; } YY_BREAK case 50: YY_RULE_SETUP #line 319 "camp.l" -{adjust(); return ASSIGN; } +{adjust(); return '?'; } YY_BREAK case 51: YY_RULE_SETUP #line 320 "camp.l" -{DEFSYMBOL(SYM_EQ); return EQ; } +{adjust(); return ASSIGN; } YY_BREAK case 52: YY_RULE_SETUP #line 321 "camp.l" -{DEFSYMBOL(SYM_NEQ); return NEQ; } +{DEFSYMBOL(SYM_EQ); return EQ; } YY_BREAK case 53: YY_RULE_SETUP #line 322 "camp.l" -{DEFSYMBOL(SYM_LT); return LT; } +{DEFSYMBOL(SYM_NEQ); return NEQ; } YY_BREAK case 54: YY_RULE_SETUP #line 323 "camp.l" -{DEFSYMBOL(SYM_LE); return LE; } +{DEFSYMBOL(SYM_LT); return LT; } YY_BREAK case 55: YY_RULE_SETUP #line 324 "camp.l" -{DEFSYMBOL(SYM_GT); return GT; } +{DEFSYMBOL(SYM_LE); return LE; } YY_BREAK case 56: YY_RULE_SETUP #line 325 "camp.l" -{DEFSYMBOL(SYM_GE); return GE; } +{DEFSYMBOL(SYM_GT); return GT; } YY_BREAK case 57: YY_RULE_SETUP #line 326 "camp.l" -{DEFSYMBOL(SYM_CAND); return CAND; } +{DEFSYMBOL(SYM_GE); return GE; } YY_BREAK case 58: YY_RULE_SETUP #line 327 "camp.l" -{DEFSYMBOL(SYM_COR); return COR; } +{DEFSYMBOL(SYM_CAND); return CAND; } YY_BREAK case 59: YY_RULE_SETUP #line 328 "camp.l" -{DEFSYMBOL(SYM_LOGNOT); return OPERATOR; } +{DEFSYMBOL(SYM_COR); return COR; } YY_BREAK case 60: YY_RULE_SETUP #line 329 "camp.l" -{DEFSYMBOL(SYM_CARETS); return CARETS; } +{DEFSYMBOL(SYM_LOGNOT); return OPERATOR; } YY_BREAK case 61: YY_RULE_SETUP #line 330 "camp.l" -{DEFSYMBOL(SYM_COLONS); return COLONS; } +{DEFSYMBOL(SYM_CARETS); return CARETS; } YY_BREAK case 62: YY_RULE_SETUP #line 331 "camp.l" -{DEFSYMBOL(SYM_INCR); return INCR; } +{DEFSYMBOL(SYM_COLONS); return COLONS; } YY_BREAK case 63: YY_RULE_SETUP #line 332 "camp.l" -{DEFSYMBOL(SYM_DOTS); return DOTS; } +{DEFSYMBOL(SYM_INCR); return INCR; } YY_BREAK case 64: YY_RULE_SETUP #line 333 "camp.l" -{DEFSYMBOL(SYM_DASHES); return DASHES; } +{DEFSYMBOL(SYM_DOTS); return DOTS; } YY_BREAK case 65: YY_RULE_SETUP #line 334 "camp.l" -{DEFSYMBOL(SYM_LONGDASH); return LONGDASH; } +{DEFSYMBOL(SYM_DASHES); return DASHES; } YY_BREAK case 66: YY_RULE_SETUP #line 335 "camp.l" -{DEFSYMBOL(SYM_AMPERSAND); return AMPERSAND; } +{DEFSYMBOL(SYM_LONGDASH); return LONGDASH; } YY_BREAK case 67: YY_RULE_SETUP #line 336 "camp.l" -{DEFSYMBOL(SYM_BAR); return BAR; } +{DEFSYMBOL(SYM_AMPERSAND); return AMPERSAND; } YY_BREAK case 68: YY_RULE_SETUP #line 337 "camp.l" -{makeopsymbol(); return OPERATOR; } +{DEFSYMBOL(SYM_BAR); return BAR; } YY_BREAK case 69: YY_RULE_SETUP -#line 339 "camp.l" -{savesymbol(SYM_PLUS); return SELFOP; } +#line 338 "camp.l" +{makeopsymbol(); return OPERATOR; } YY_BREAK case 70: YY_RULE_SETUP #line 340 "camp.l" -{savesymbol(SYM_MINUS); return SELFOP; } +{savesymbol(SYM_PLUS); return SELFOP; } YY_BREAK case 71: YY_RULE_SETUP #line 341 "camp.l" -{savesymbol(SYM_TIMES); return SELFOP; } +{savesymbol(SYM_MINUS); return SELFOP; } YY_BREAK case 72: YY_RULE_SETUP #line 342 "camp.l" -{savesymbol(SYM_DIVIDE); return SELFOP; } +{savesymbol(SYM_TIMES); return SELFOP; } YY_BREAK case 73: YY_RULE_SETUP #line 343 "camp.l" -{savesymbol(SYM_MOD); return SELFOP; } +{savesymbol(SYM_DIVIDE); return SELFOP; } YY_BREAK case 74: YY_RULE_SETUP #line 344 "camp.l" -{savesymbol(SYM_CARET); return SELFOP; } +{savesymbol(SYM_QUOTIENT); return SELFOP; } YY_BREAK case 75: YY_RULE_SETUP -#line 346 "camp.l" -{adjust(); return AND; } +#line 345 "camp.l" +{savesymbol(SYM_MOD); return SELFOP; } YY_BREAK case 76: YY_RULE_SETUP -#line 347 "camp.l" -{DEFSYMBOL(SYM_CONTROLS); return CONTROLS; } +#line 346 "camp.l" +{savesymbol(SYM_CARET); return SELFOP; } YY_BREAK case 77: YY_RULE_SETUP #line 348 "camp.l" -{DEFSYMBOL(SYM_TENSION); return TENSION; } +{adjust(); return AND; } YY_BREAK case 78: YY_RULE_SETUP #line 349 "camp.l" -{DEFSYMBOL(SYM_ATLEAST); return ATLEAST; } +{DEFSYMBOL(SYM_CONTROLS); return CONTROLS; } YY_BREAK case 79: YY_RULE_SETUP #line 350 "camp.l" -{DEFSYMBOL(SYM_CURL); return CURL; } +{DEFSYMBOL(SYM_TENSION); return TENSION; } YY_BREAK case 80: YY_RULE_SETUP -#line 352 "camp.l" -{adjust(); return IF; } +#line 351 "camp.l" +{DEFSYMBOL(SYM_ATLEAST); return ATLEAST; } YY_BREAK case 81: YY_RULE_SETUP -#line 353 "camp.l" -{adjust(); return ELSE; } +#line 352 "camp.l" +{DEFSYMBOL(SYM_CURL); return CURL; } YY_BREAK case 82: YY_RULE_SETUP #line 354 "camp.l" -{adjust(); return WHILE; } +{adjust(); return IF; } YY_BREAK case 83: YY_RULE_SETUP #line 355 "camp.l" -{adjust(); return FOR; } +{adjust(); return ELSE; } YY_BREAK case 84: YY_RULE_SETUP #line 356 "camp.l" -{adjust(); return DO; } +{adjust(); return WHILE; } YY_BREAK case 85: YY_RULE_SETUP #line 357 "camp.l" -{adjust(); return RETURN_; } +{adjust(); return FOR; } YY_BREAK case 86: YY_RULE_SETUP #line 358 "camp.l" -{adjust(); return BREAK; } +{adjust(); return DO; } YY_BREAK case 87: YY_RULE_SETUP #line 359 "camp.l" -{adjust(); return CONTINUE; } +{adjust(); return RETURN_; } YY_BREAK case 88: YY_RULE_SETUP #line 360 "camp.l" -{adjust(); return STRUCT; } +{adjust(); return BREAK; } YY_BREAK case 89: YY_RULE_SETUP #line 361 "camp.l" -{adjust(); return TYPEDEF; } +{adjust(); return CONTINUE; } YY_BREAK case 90: YY_RULE_SETUP #line 362 "camp.l" -{adjust(); return NEW; } +{adjust(); return STRUCT; } YY_BREAK case 91: YY_RULE_SETUP #line 363 "camp.l" -{adjust(); return ACCESS; } +{adjust(); return TYPEDEF; } YY_BREAK case 92: YY_RULE_SETUP #line 364 "camp.l" -{adjust(); return IMPORT; } +{adjust(); return NEW; } YY_BREAK case 93: YY_RULE_SETUP #line 365 "camp.l" -{adjust(); return UNRAVEL; } +{adjust(); return ACCESS; } YY_BREAK case 94: YY_RULE_SETUP #line 366 "camp.l" -{adjust(); return FROM; } +{adjust(); return IMPORT; } YY_BREAK case 95: YY_RULE_SETUP #line 367 "camp.l" -{adjust(); return INCLUDE; } +{adjust(); return UNRAVEL; } YY_BREAK case 96: YY_RULE_SETUP #line 368 "camp.l" -{adjust(); return QUOTE; } +{adjust(); return FROM; } YY_BREAK case 97: YY_RULE_SETUP #line 369 "camp.l" -{adjust(); makemod(trans::EXPLICIT_STATIC); - return MODIFIER; } +{adjust(); return INCLUDE; } YY_BREAK case 98: YY_RULE_SETUP -#line 371 "camp.l" -{adjust(); makeperm(trans::PUBLIC); return PERM; } +#line 370 "camp.l" +{adjust(); return QUOTE; } YY_BREAK case 99: YY_RULE_SETUP -#line 372 "camp.l" -{adjust(); makeperm(trans::PRIVATE); return PERM; } +#line 371 "camp.l" +{adjust(); makemod(trans::EXPLICIT_STATIC); + return MODIFIER; } YY_BREAK case 100: YY_RULE_SETUP #line 373 "camp.l" -{adjust(); makeperm(trans::RESTRICTED); return PERM; } +{adjust(); makeperm(trans::PUBLIC); return PERM; } YY_BREAK case 101: YY_RULE_SETUP #line 374 "camp.l" -{adjust(); return THIS; } +{adjust(); makeperm(trans::PRIVATE); return PERM; } YY_BREAK case 102: YY_RULE_SETUP #line 375 "camp.l" -{adjust(); return EXPLICIT; } +{adjust(); makeperm(trans::RESTRICTED); return PERM; } YY_BREAK case 103: YY_RULE_SETUP -#line 378 "camp.l" +#line 376 "camp.l" +{adjust(); return THIS; } + YY_BREAK +case 104: +YY_RULE_SETUP +#line 377 "camp.l" +{adjust(); return EXPLICIT; } + YY_BREAK +case 105: +YY_RULE_SETUP +#line 380 "camp.l" try { adjust(); yylval.e= new intExp(here(), lexical::cast<Int>(yytext)); } catch (lexical::bad_cast&) { @@ -1960,9 +1972,9 @@ try { yylval.e= new intExp(here(), 0); } return LIT; YY_BREAK -case 104: +case 106: YY_RULE_SETUP -#line 385 "camp.l" +#line 387 "camp.l" try { adjust(); yylval.e= new realExp(here(), lexical::cast<double>(yytext)); } catch (lexical::bad_cast&) { @@ -1971,121 +1983,121 @@ try { yylval.e= new realExp(here(), 0); } return LIT; YY_BREAK -case 105: +case 107: YY_RULE_SETUP -#line 392 "camp.l" +#line 394 "camp.l" { adjust(); yylval.e= new booleanExp(here(), true); return LIT; } YY_BREAK -case 106: +case 108: YY_RULE_SETUP -#line 394 "camp.l" +#line 396 "camp.l" { adjust(); yylval.e= new booleanExp(here(), false); return LIT; } YY_BREAK -case 107: +case 109: YY_RULE_SETUP -#line 396 "camp.l" +#line 398 "camp.l" { adjust(); yylval.e= new nullExp(here()); return LIT; } YY_BREAK -case 108: +case 110: YY_RULE_SETUP -#line 398 "camp.l" +#line 400 "camp.l" { adjust(); yylval.e= new cycleExp(here()); return LIT; } YY_BREAK -case 109: +case 111: YY_RULE_SETUP -#line 400 "camp.l" +#line 402 "camp.l" { adjust(); yylval.e= new newPictureExp(here()); return LIT; } YY_BREAK -case 110: +case 112: YY_RULE_SETUP -#line 403 "camp.l" +#line 405 "camp.l" {adjust(); BEGIN opname; } YY_BREAK -case 111: +case 113: YY_RULE_SETUP -#line 405 "camp.l" +#line 407 "camp.l" {adjust(); continue;} YY_BREAK -case 112: -/* rule 112 can match eol */ +case 114: +/* rule 114 can match eol */ YY_RULE_SETUP -#line 406 "camp.l" +#line 408 "camp.l" {adjust(); newline(); continue;} YY_BREAK case YY_STATE_EOF(opname): -#line 407 "camp.l" +#line 409 "camp.l" {adjust(); setEOF("missing operator name"); BEGIN INITIAL; return GARBAGE; } YY_BREAK -case 113: +case 115: YY_RULE_SETUP -#line 412 "camp.l" +#line 414 "camp.l" { savesymbol(SYM_CARET); BEGIN INITIAL; return ID; } YY_BREAK -case 114: +case 116: YY_RULE_SETUP -#line 416 "camp.l" +#line 418 "camp.l" { makeopsymbol(); BEGIN INITIAL; return ID;} YY_BREAK -case 115: +case 117: YY_RULE_SETUP -#line 420 "camp.l" +#line 422 "camp.l" { makeopsymbol(); BEGIN INITIAL; return ID; } YY_BREAK -case 116: +case 118: YY_RULE_SETUP -#line 424 "camp.l" +#line 426 "camp.l" {} YY_BREAK -case 117: +case 119: YY_RULE_SETUP -#line 427 "camp.l" +#line 429 "camp.l" { makesymbol(); return ID; } YY_BREAK -case 118: +case 120: YY_RULE_SETUP -#line 431 "camp.l" +#line 433 "camp.l" {adjust(); /*commentDepth = 1;*/ BEGIN lexcomment; } YY_BREAK -case 119: +case 121: YY_RULE_SETUP -#line 432 "camp.l" +#line 434 "camp.l" {startstring(); BEGIN texstring; } YY_BREAK -case 120: +case 122: YY_RULE_SETUP -#line 433 "camp.l" +#line 435 "camp.l" {startstring(); BEGIN cstring; } YY_BREAK case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(lexformat): -#line 435 "camp.l" +#line 437 "camp.l" { setEOF("unexpected end of input"); yyterminate(); } YY_BREAK -case 121: +case 123: YY_RULE_SETUP -#line 437 "camp.l" +#line 439 "camp.l" {adjust(); error(); em << "invalid token"; @@ -2093,12 +2105,12 @@ YY_RULE_SETUP em << " '" << yytext[0] << "'"; } YY_BREAK -case 122: +case 124: YY_RULE_SETUP -#line 443 "camp.l" +#line 445 "camp.l" ECHO; YY_BREAK -#line 2102 "lex.yy.cc" +#line 2114 "lex.yy.cc" case YY_END_OF_BUFFER: { @@ -2410,7 +2422,7 @@ static int yy_get_next_buffer (void) while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 335 ) + if ( yy_current_state >= 337 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; @@ -2443,11 +2455,11 @@ static int yy_get_next_buffer (void) while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) { yy_current_state = (int) yy_def[yy_current_state]; - if ( yy_current_state >= 335 ) + if ( yy_current_state >= 337 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; - yy_is_jam = (yy_current_state == 334); + yy_is_jam = (yy_current_state == 336); return yy_is_jam ? 0 : yy_current_state; } @@ -3221,4 +3233,4 @@ void yyfree (void * ptr ) /* %ok-for-header */ -#line 443 "camp.l" +#line 445 "camp.l" |