diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-20 20:10:19 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-20 20:10:19 +0000 |
commit | a5df6622bcaace28f113129a214d4d102af374de (patch) | |
tree | 1cc8fd8f8e629efb3ac99e3d7a2e2618f36092b4 /pbx/ael/ael_lex.c | |
parent | b3e46a45e6ec5d3f872a9fedf0aa7126b0eb7022 (diff) |
This finishes the changes for making Macro args LOCAL to the call, and allowing users to declare local variables.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70461 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx/ael/ael_lex.c')
-rw-r--r-- | pbx/ael/ael_lex.c | 997 |
1 files changed, 491 insertions, 506 deletions
diff --git a/pbx/ael/ael_lex.c b/pbx/ael/ael_lex.c index 80adc6f8d..d277fbc42 100644 --- a/pbx/ael/ael_lex.c +++ b/pbx/ael/ael_lex.c @@ -230,8 +230,8 @@ struct yy_buffer_state */ int yy_at_bol; - int yy_bs_lineno; /*!< The line count. */ - int yy_bs_column; /*!< The column count. */ + int yy_bs_lineno; /**< The line count. */ + int yy_bs_column; /**< The column count. */ /* Whether to try to fill the input buffer when we reach the * end of it. @@ -345,8 +345,8 @@ static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner ); *yy_cp = '\0'; \ yyg->yy_c_buf_p = yy_cp; -#define YY_NUM_RULES 61 -#define YY_END_OF_BUFFER 62 +#define YY_NUM_RULES 62 +#define YY_END_OF_BUFFER 63 /* This struct is not used in this scanner, but its presence is necessary. */ struct yy_trans_info @@ -354,34 +354,34 @@ struct yy_trans_info flex_int32_t yy_verify; flex_int32_t yy_nxt; }; -static yyconst flex_int16_t yy_accept[234] = +static yyconst flex_int16_t yy_accept[239] = { 0, - 0, 0, 0, 0, 0, 0, 0, 0, 41, 41, - 62, 61, 48, 46, 47, 49, 49, 9, 3, 4, - 7, 49, 8, 5, 6, 12, 49, 49, 49, 49, - 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, - 49, 1, 10, 2, 61, 51, 50, 61, 52, 61, - 57, 58, 59, 61, 61, 53, 54, 55, 61, 56, - 41, 42, 43, 48, 47, 49, 49, 40, 13, 11, - 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, - 49, 20, 49, 49, 49, 49, 49, 49, 49, 49, - 49, 0, 51, 50, 0, 52, 51, 50, 52, 0, - - 57, 58, 59, 0, 57, 58, 59, 0, 53, 54, - 55, 0, 56, 53, 54, 55, 56, 41, 42, 43, - 44, 43, 45, 49, 13, 13, 49, 49, 49, 49, - 49, 49, 49, 49, 31, 49, 49, 49, 49, 49, - 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, - 49, 49, 33, 49, 49, 49, 25, 49, 49, 26, - 24, 49, 49, 49, 27, 49, 49, 49, 49, 49, - 49, 49, 49, 49, 29, 36, 49, 49, 49, 49, - 49, 49, 49, 49, 16, 49, 49, 49, 49, 49, - 32, 49, 49, 49, 49, 49, 49, 49, 21, 49, - - 49, 49, 22, 49, 28, 19, 49, 49, 14, 49, - 34, 49, 17, 49, 49, 35, 49, 49, 49, 15, - 30, 49, 49, 39, 23, 37, 0, 38, 18, 0, - 0, 60, 0 + 0, 0, 0, 0, 0, 0, 0, 0, 42, 42, + 63, 62, 49, 47, 48, 50, 50, 9, 3, 4, + 7, 50, 8, 5, 6, 12, 50, 50, 50, 50, + 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, + 50, 50, 1, 10, 2, 62, 52, 51, 62, 53, + 62, 58, 59, 60, 62, 62, 54, 55, 56, 62, + 57, 42, 43, 44, 49, 48, 50, 50, 41, 13, + 11, 50, 50, 50, 50, 50, 50, 50, 50, 50, + 50, 50, 21, 50, 50, 50, 50, 50, 50, 50, + 50, 50, 50, 0, 52, 51, 0, 53, 52, 51, + + 53, 0, 58, 59, 60, 0, 58, 59, 60, 0, + 54, 55, 56, 0, 57, 54, 55, 56, 57, 42, + 43, 44, 45, 44, 46, 50, 13, 13, 50, 50, + 50, 50, 50, 50, 50, 50, 32, 50, 50, 50, + 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, + 50, 50, 50, 50, 50, 34, 50, 50, 50, 26, + 50, 50, 27, 25, 50, 50, 50, 28, 50, 50, + 50, 50, 50, 50, 50, 50, 50, 50, 30, 37, + 50, 50, 50, 50, 50, 50, 50, 50, 18, 16, + 50, 50, 50, 50, 50, 33, 50, 50, 50, 50, + + 50, 50, 50, 22, 50, 50, 50, 23, 50, 29, + 20, 50, 50, 14, 50, 35, 50, 17, 50, 50, + 36, 50, 50, 50, 15, 31, 50, 50, 40, 24, + 38, 0, 39, 19, 0, 0, 61, 0 } ; static yyconst flex_int32_t yy_ec[256] = @@ -425,184 +425,186 @@ static yyconst flex_int32_t yy_meta[48] = 3, 3, 3, 3, 3, 1, 3 } ; -static yyconst flex_int16_t yy_base[247] = +static yyconst flex_int16_t yy_base[252] = { 0, 0, 0, 39, 42, 81, 120, 159, 198, 47, 54, - 310, 985, 307, 985, 304, 0, 276, 985, 985, 985, - 985, 42, 985, 985, 289, 985, 281, 265, 31, 276, - 32, 265, 33, 270, 45, 258, 276, 272, 48, 251, - 263, 985, 985, 985, 73, 985, 985, 89, 985, 237, - 985, 985, 985, 276, 315, 985, 985, 985, 354, 985, - 289, 985, 66, 288, 285, 0, 252, 0, 401, 985, - 247, 256, 64, 245, 252, 239, 235, 238, 239, 234, - 238, 254, 236, 246, 235, 244, 227, 231, 47, 235, - 234, 103, 985, 985, 137, 985, 142, 176, 181, 439, - - 985, 985, 985, 478, 517, 556, 595, 634, 985, 985, - 985, 673, 985, 712, 751, 790, 829, 261, 985, 103, - 985, 104, 985, 238, 0, 876, 221, 238, 233, 231, - 214, 231, 226, 220, 0, 226, 212, 207, 213, 205, - 207, 202, 200, 197, 211, 209, 193, 193, 199, 198, - 192, 197, 0, 199, 100, 185, 0, 184, 201, 0, - 0, 187, 178, 174, 0, 178, 187, 176, 168, 172, - 184, 178, 158, 176, 0, 0, 151, 158, 159, 167, - 154, 156, 151, 151, 0, 137, 140, 132, 130, 131, - 0, 134, 131, 114, 112, 112, 119, 105, 0, 106, - - 116, 103, 0, 111, 0, 110, 106, 91, 0, 95, - 0, 94, 0, 96, 68, 0, 64, 57, 76, 0, - 0, 52, 44, 0, 0, 0, 168, 0, 0, 0, - 50, 985, 985, 922, 927, 932, 937, 940, 945, 950, - 955, 960, 964, 969, 974, 979 + 314, 985, 311, 985, 308, 0, 280, 985, 985, 985, + 985, 42, 985, 985, 293, 985, 285, 269, 31, 280, + 32, 269, 33, 274, 45, 262, 266, 279, 278, 48, + 257, 269, 985, 985, 985, 73, 985, 985, 89, 985, + 237, 985, 985, 985, 276, 315, 985, 985, 985, 354, + 985, 292, 985, 66, 292, 289, 0, 256, 0, 401, + 985, 250, 262, 64, 252, 259, 243, 238, 241, 242, + 237, 241, 257, 239, 249, 238, 247, 246, 229, 233, + 47, 237, 236, 103, 985, 985, 137, 985, 142, 176, + + 181, 439, 985, 985, 985, 478, 517, 556, 595, 634, + 985, 985, 985, 673, 985, 712, 751, 790, 829, 263, + 985, 103, 985, 104, 985, 240, 0, 876, 223, 240, + 235, 236, 219, 233, 228, 223, 0, 229, 214, 209, + 218, 211, 210, 204, 218, 201, 198, 212, 210, 194, + 194, 200, 199, 193, 198, 0, 200, 100, 187, 0, + 186, 202, 0, 0, 189, 183, 175, 0, 182, 178, + 187, 176, 168, 172, 184, 178, 158, 176, 0, 0, + 151, 158, 159, 167, 154, 156, 151, 151, 0, 0, + 137, 140, 132, 130, 131, 0, 134, 131, 114, 112, + + 112, 119, 105, 0, 106, 116, 103, 0, 111, 0, + 110, 106, 91, 0, 95, 0, 94, 0, 96, 68, + 0, 64, 57, 76, 0, 0, 52, 44, 0, 0, + 0, 168, 0, 0, 0, 50, 985, 985, 922, 927, + 932, 937, 940, 945, 950, 955, 960, 964, 969, 974, + 979 } ; -static yyconst flex_int16_t yy_def[247] = +static yyconst flex_int16_t yy_def[252] = { 0, - 233, 1, 234, 234, 235, 235, 236, 236, 237, 237, - 233, 233, 233, 233, 233, 238, 238, 233, 233, 233, - 233, 238, 233, 233, 233, 233, 238, 238, 238, 238, + 238, 1, 239, 239, 240, 240, 241, 241, 242, 242, + 238, 238, 238, 238, 238, 243, 243, 238, 238, 238, + 238, 243, 238, 238, 238, 238, 243, 243, 243, 243, + 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, + 243, 243, 238, 238, 238, 244, 238, 238, 244, 238, + 245, 238, 238, 238, 245, 246, 238, 238, 238, 246, + 238, 247, 238, 248, 238, 238, 243, 243, 243, 249, + 238, 243, 243, 243, 243, 243, 243, 243, 243, 243, + 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, + 243, 243, 243, 244, 238, 238, 244, 238, 244, 244, + + 244, 245, 238, 238, 238, 245, 245, 245, 245, 246, + 238, 238, 238, 246, 238, 246, 246, 246, 246, 247, + 238, 248, 238, 248, 238, 243, 250, 249, 243, 243, + 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, + 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, + 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, + 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, + 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, + 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, + 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, + + 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, + 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, + 243, 243, 243, 243, 243, 243, 243, 243, 243, 243, + 243, 238, 243, 243, 251, 251, 238, 0, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, - 238, 233, 233, 233, 239, 233, 233, 239, 233, 240, - 233, 233, 233, 240, 241, 233, 233, 233, 241, 233, - 242, 233, 243, 233, 233, 238, 238, 238, 244, 233, + 238 + } ; + +static yyconst flex_int16_t yy_nxt[1033] = + { 0, + 12, 13, 14, 15, 16, 16, 17, 18, 19, 20, + 16, 21, 22, 23, 24, 25, 16, 26, 16, 16, + 12, 16, 27, 28, 29, 30, 31, 32, 33, 34, + 35, 36, 16, 37, 38, 16, 16, 39, 40, 41, + 16, 16, 42, 16, 43, 44, 45, 47, 48, 63, + 47, 48, 69, 74, 70, 237, 63, 64, 47, 49, + 50, 47, 49, 50, 64, 77, 80, 75, 123, 81, + 90, 78, 83, 84, 91, 149, 124, 232, 125, 232, + 85, 95, 96, 47, 234, 50, 47, 150, 50, 52, + 53, 233, 95, 97, 98, 54, 231, 99, 100, 230, + + 52, 55, 53, 131, 132, 123, 123, 229, 99, 97, + 101, 95, 96, 238, 124, 238, 238, 95, 228, 98, + 227, 226, 95, 97, 98, 52, 181, 53, 52, 53, + 182, 225, 224, 99, 54, 101, 223, 222, 221, 52, + 55, 53, 220, 219, 218, 99, 100, 95, 217, 98, + 95, 96, 216, 215, 214, 213, 99, 97, 101, 212, + 211, 95, 97, 98, 52, 210, 53, 57, 58, 232, + 59, 232, 209, 235, 208, 207, 206, 205, 57, 60, + 61, 99, 204, 101, 95, 96, 95, 203, 98, 95, + 96, 202, 201, 200, 199, 95, 97, 98, 198, 197, + + 95, 97, 98, 57, 196, 61, 57, 58, 195, 59, + 194, 193, 192, 191, 190, 189, 188, 57, 60, 61, + 95, 187, 98, 186, 185, 95, 184, 98, 183, 180, + 179, 178, 177, 176, 175, 174, 173, 172, 171, 170, + 169, 168, 57, 167, 61, 103, 104, 166, 165, 164, + 163, 105, 162, 161, 160, 159, 103, 106, 104, 158, + 157, 156, 155, 154, 153, 121, 152, 151, 148, 147, + 146, 145, 144, 143, 142, 141, 140, 139, 138, 137, + 136, 103, 135, 104, 107, 108, 134, 133, 130, 129, + 109, 126, 66, 65, 121, 107, 106, 108, 93, 92, + + 89, 88, 87, 86, 82, 79, 76, 73, 72, 71, + 68, 66, 65, 238, 238, 238, 238, 238, 238, 238, + 107, 238, 108, 111, 112, 238, 113, 238, 238, 238, + 238, 238, 238, 238, 111, 114, 115, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238, 238, 238, 238, 238, 238, 238, 238, 111, + 238, 115, 116, 117, 238, 118, 238, 238, 238, 238, + 238, 238, 238, 116, 114, 119, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, - 238, 239, 233, 233, 239, 233, 239, 239, 239, 240, + 238, 238, 238, 238, 238, 238, 238, 238, 116, 238, - 233, 233, 233, 240, 240, 240, 240, 241, 233, 233, - 233, 241, 233, 241, 241, 241, 241, 242, 233, 243, - 233, 243, 233, 238, 245, 244, 238, 238, 238, 238, + 119, 127, 127, 238, 127, 238, 238, 238, 127, 127, + 127, 238, 127, 238, 127, 127, 127, 238, 127, 238, + 238, 127, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238, 238, 238, 238, 238, 127, 103, 104, 238, + 238, 238, 238, 105, 238, 238, 238, 238, 103, 106, + 104, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238, 238, 103, 238, 104, 107, 108, 238, 238, + 238, 238, 109, 238, 238, 238, 238, 107, 106, 108, + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238, 107, 238, 108, 103, 104, 238, 238, 238, + 238, 105, 238, 238, 238, 238, 103, 106, 104, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 103, 238, 104, 103, 104, 238, 238, 238, 238, + 105, 238, 238, 238, 238, 103, 106, 104, 238, 238, + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 103, 238, 104, 103, 104, 238, 238, 238, 238, 105, + 238, 238, 238, 238, 103, 106, 104, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238, 238, 238, 238, 238, 238, 238, 238, 103, + 238, 104, 111, 112, 238, 113, 238, 238, 238, 238, + 238, 238, 238, 111, 114, 115, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, - 238, 238, 238, 238, 238, 238, 233, 238, 238, 246, - 246, 233, 0, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233 - } ; + 238, 238, 238, 238, 238, 238, 238, 238, 111, 238, + 115, 116, 117, 238, 118, 238, 238, 238, 238, 238, + 238, 238, 116, 114, 119, 238, 238, 238, 238, 238, -static yyconst flex_int16_t yy_nxt[1033] = - { 0, - 12, 13, 14, 15, 16, 16, 17, 18, 19, 20, - 16, 21, 22, 23, 24, 25, 16, 26, 16, 16, - 12, 16, 27, 28, 29, 30, 31, 32, 33, 34, - 35, 36, 16, 16, 37, 16, 16, 38, 39, 40, - 16, 16, 41, 16, 42, 43, 44, 46, 47, 62, - 46, 47, 68, 73, 69, 232, 62, 63, 46, 48, - 49, 46, 48, 49, 63, 76, 79, 74, 121, 80, - 88, 77, 82, 83, 89, 146, 122, 227, 123, 227, - 84, 93, 94, 46, 229, 49, 46, 147, 49, 51, - 52, 228, 93, 95, 96, 53, 226, 97, 98, 225, - - 51, 54, 52, 129, 130, 121, 121, 224, 97, 95, - 99, 93, 94, 233, 122, 233, 233, 93, 223, 96, - 222, 221, 93, 95, 96, 51, 177, 52, 51, 52, - 178, 220, 219, 97, 53, 99, 218, 217, 216, 51, - 54, 52, 215, 214, 213, 97, 98, 93, 212, 96, - 93, 94, 211, 210, 209, 208, 97, 95, 99, 207, - 206, 93, 95, 96, 51, 205, 52, 56, 57, 227, - 58, 227, 204, 230, 203, 202, 201, 200, 56, 59, - 60, 97, 199, 99, 93, 94, 93, 198, 96, 93, - 94, 197, 196, 195, 194, 93, 95, 96, 193, 192, - - 93, 95, 96, 56, 191, 60, 56, 57, 190, 58, - 189, 188, 187, 186, 185, 184, 183, 56, 59, 60, - 93, 182, 96, 181, 180, 93, 179, 96, 176, 175, - 174, 173, 172, 171, 170, 169, 168, 167, 166, 165, - 164, 163, 56, 162, 60, 101, 102, 161, 160, 159, - 158, 103, 157, 156, 155, 154, 101, 104, 102, 153, - 152, 151, 150, 119, 149, 148, 145, 144, 143, 142, - 141, 140, 139, 138, 137, 136, 135, 134, 133, 132, - 131, 101, 128, 102, 105, 106, 127, 124, 65, 64, - 107, 119, 91, 90, 87, 105, 104, 106, 86, 85, - - 81, 78, 75, 72, 71, 70, 67, 65, 64, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 105, 233, 106, 109, 110, 233, 111, 233, 233, 233, - 233, 233, 233, 233, 109, 112, 113, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 109, - 233, 113, 114, 115, 233, 116, 233, 233, 233, 233, - 233, 233, 233, 114, 112, 117, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 114, 233, - - 117, 125, 125, 233, 125, 233, 233, 233, 125, 125, - 125, 233, 125, 233, 125, 125, 125, 233, 125, 233, - 233, 125, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 125, 101, 102, 233, - 233, 233, 233, 103, 233, 233, 233, 233, 101, 104, - 102, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 101, 233, 102, 105, 106, 233, 233, - 233, 233, 107, 233, 233, 233, 233, 105, 104, 106, - - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 105, 233, 106, 101, 102, 233, 233, 233, - 233, 103, 233, 233, 233, 233, 101, 104, 102, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 101, 233, 102, 101, 102, 233, 233, 233, 233, - 103, 233, 233, 233, 233, 101, 104, 102, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - - 101, 233, 102, 101, 102, 233, 233, 233, 233, 103, - 233, 233, 233, 233, 101, 104, 102, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 101, - 233, 102, 109, 110, 233, 111, 233, 233, 233, 233, - 233, 233, 233, 109, 112, 113, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 109, 233, - 113, 114, 115, 233, 116, 233, 233, 233, 233, 233, - 233, 233, 114, 112, 117, 233, 233, 233, 233, 233, - - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 114, 233, 117, - 109, 110, 233, 111, 233, 233, 233, 233, 233, 233, - 233, 109, 112, 113, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 109, 233, 113, 109, - 110, 233, 111, 233, 233, 233, 233, 233, 233, 233, - 109, 112, 113, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 109, 233, 113, 109, 110, - - 233, 111, 233, 233, 233, 233, 233, 233, 233, 109, - 112, 113, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 109, 233, 113, 109, 110, 233, - 111, 233, 233, 233, 233, 233, 233, 233, 109, 112, - 113, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 109, 233, 113, 125, 125, 233, 125, - 233, 233, 233, 125, 125, 125, 233, 125, 233, 125, - 125, 125, 233, 125, 233, 233, 125, 233, 233, 233, - - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 125, 45, 45, 45, 45, 45, 50, 50, 50, - 50, 50, 55, 55, 55, 55, 55, 61, 61, 61, - 61, 61, 66, 66, 66, 92, 92, 92, 92, 92, - 100, 100, 100, 100, 100, 108, 108, 108, 108, 108, - 118, 118, 118, 118, 120, 120, 120, 120, 120, 126, - 233, 126, 126, 126, 125, 233, 125, 125, 125, 231, - 231, 231, 233, 231, 11, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233 + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238, 238, 238, 238, 238, 238, 116, 238, 119, + 111, 112, 238, 113, 238, 238, 238, 238, 238, 238, + 238, 111, 114, 115, 238, 238, 238, 238, 238, 238, + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238, 238, 238, 238, 238, 111, 238, 115, 111, + 112, 238, 113, 238, 238, 238, 238, 238, 238, 238, + 111, 114, 115, 238, 238, 238, 238, 238, 238, 238, + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238, 238, 238, 238, 111, 238, 115, 111, 112, + + 238, 113, 238, 238, 238, 238, 238, 238, 238, 111, + 114, 115, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238, 238, 238, 111, 238, 115, 111, 112, 238, + 113, 238, 238, 238, 238, 238, 238, 238, 111, 114, + 115, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238, 238, 111, 238, 115, 127, 127, 238, 127, + 238, 238, 238, 127, 127, 127, 238, 127, 238, 127, + 127, 127, 238, 127, 238, 238, 127, 238, 238, 238, + + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 127, 46, 46, 46, 46, 46, 51, 51, 51, + 51, 51, 56, 56, 56, 56, 56, 62, 62, 62, + 62, 62, 67, 67, 67, 94, 94, 94, 94, 94, + 102, 102, 102, 102, 102, 110, 110, 110, 110, 110, + 120, 120, 120, 120, 122, 122, 122, 122, 122, 128, + 238, 128, 128, 128, 127, 238, 127, 127, 127, 236, + 236, 236, 238, 236, 11, 238, 238, 238, 238, 238, + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238 } ; static yyconst flex_int16_t yy_chk[1033] = @@ -612,115 +614,115 @@ static yyconst flex_int16_t yy_chk[1033] = 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, 9, - 4, 4, 22, 29, 22, 231, 10, 9, 3, 3, - 3, 4, 4, 4, 10, 31, 33, 29, 63, 33, - 39, 31, 35, 35, 39, 89, 63, 219, 63, 219, - 35, 45, 45, 3, 223, 3, 4, 89, 4, 5, - 5, 222, 45, 45, 45, 5, 218, 48, 48, 217, - - 5, 5, 5, 73, 73, 120, 122, 215, 48, 48, - 48, 92, 92, 120, 122, 120, 122, 45, 214, 45, - 212, 210, 92, 92, 92, 5, 155, 5, 6, 6, - 155, 208, 207, 48, 6, 48, 206, 204, 202, 6, - 6, 6, 201, 200, 198, 95, 95, 92, 197, 92, - 97, 97, 196, 195, 194, 193, 95, 95, 95, 192, - 190, 97, 97, 97, 6, 189, 6, 7, 7, 227, - 7, 227, 188, 227, 187, 186, 184, 183, 7, 7, - 7, 95, 182, 95, 98, 98, 97, 181, 97, 99, - 99, 180, 179, 178, 177, 98, 98, 98, 174, 173, - - 99, 99, 99, 7, 172, 7, 8, 8, 171, 8, - 170, 169, 168, 167, 166, 164, 163, 8, 8, 8, - 98, 162, 98, 159, 158, 99, 156, 99, 154, 152, - 151, 150, 149, 148, 147, 146, 145, 144, 143, 142, - 141, 140, 8, 139, 8, 50, 50, 138, 137, 136, - 134, 50, 133, 132, 131, 130, 50, 50, 50, 129, - 128, 127, 124, 118, 91, 90, 88, 87, 86, 85, - 84, 83, 82, 81, 80, 79, 78, 77, 76, 75, - 74, 50, 72, 50, 54, 54, 71, 67, 65, 64, - 54, 61, 41, 40, 38, 54, 54, 54, 37, 36, - - 34, 32, 30, 28, 27, 25, 17, 15, 13, 11, + 4, 4, 22, 29, 22, 236, 10, 9, 3, 3, + 3, 4, 4, 4, 10, 31, 33, 29, 64, 33, + 40, 31, 35, 35, 40, 91, 64, 224, 64, 224, + 35, 46, 46, 3, 228, 3, 4, 91, 4, 5, + 5, 227, 46, 46, 46, 5, 223, 49, 49, 222, + + 5, 5, 5, 74, 74, 122, 124, 220, 49, 49, + 49, 94, 94, 122, 124, 122, 124, 46, 219, 46, + 217, 215, 94, 94, 94, 5, 158, 5, 6, 6, + 158, 213, 212, 49, 6, 49, 211, 209, 207, 6, + 6, 6, 206, 205, 203, 97, 97, 94, 202, 94, + 99, 99, 201, 200, 199, 198, 97, 97, 97, 197, + 195, 99, 99, 99, 6, 194, 6, 7, 7, 232, + 7, 232, 193, 232, 192, 191, 188, 187, 7, 7, + 7, 97, 186, 97, 100, 100, 99, 185, 99, 101, + 101, 184, 183, 182, 181, 100, 100, 100, 178, 177, + + 101, 101, 101, 7, 176, 7, 8, 8, 175, 8, + 174, 173, 172, 171, 170, 169, 167, 8, 8, 8, + 100, 166, 100, 165, 162, 101, 161, 101, 159, 157, + 155, 154, 153, 152, 151, 150, 149, 148, 147, 146, + 145, 144, 8, 143, 8, 51, 51, 142, 141, 140, + 139, 51, 138, 136, 135, 134, 51, 51, 51, 133, + 132, 131, 130, 129, 126, 120, 93, 92, 90, 89, + 88, 87, 86, 85, 84, 83, 82, 81, 80, 79, + 78, 51, 77, 51, 55, 55, 76, 75, 73, 72, + 55, 68, 66, 65, 62, 55, 55, 55, 42, 41, + + 39, 38, 37, 36, 34, 32, 30, 28, 27, 25, + 17, 15, 13, 11, 0, 0, 0, 0, 0, 0, + 55, 0, 55, 56, 56, 0, 56, 0, 0, 0, + 0, 0, 0, 0, 56, 56, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 54, 0, 54, 55, 55, 0, 55, 0, 0, 0, - 0, 0, 0, 0, 55, 55, 55, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 56, + 0, 56, 60, 60, 0, 60, 0, 0, 0, 0, + 0, 0, 0, 60, 60, 60, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 55, - 0, 55, 59, 59, 0, 59, 0, 0, 0, 0, - 0, 0, 0, 59, 59, 59, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 59, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 60, 0, - 59, 69, 69, 0, 69, 0, 0, 0, 69, 69, - 69, 0, 69, 0, 69, 69, 69, 0, 69, 0, - 0, 69, 0, 0, 0, 0, 0, 0, 0, 0, + 60, 70, 70, 0, 70, 0, 0, 0, 70, 70, + 70, 0, 70, 0, 70, 70, 70, 0, 70, 0, + 0, 70, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 69, 100, 100, 0, - 0, 0, 0, 100, 0, 0, 0, 0, 100, 100, - 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 70, 102, 102, 0, + 0, 0, 0, 102, 0, 0, 0, 0, 102, 102, + 102, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 100, 0, 100, 104, 104, 0, 0, - 0, 0, 104, 0, 0, 0, 0, 104, 104, 104, + 0, 0, 0, 102, 0, 102, 106, 106, 0, 0, + 0, 0, 106, 0, 0, 0, 0, 106, 106, 106, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 104, 0, 104, 105, 105, 0, 0, 0, - 0, 105, 0, 0, 0, 0, 105, 105, 105, 0, + 0, 0, 106, 0, 106, 107, 107, 0, 0, 0, + 0, 107, 0, 0, 0, 0, 107, 107, 107, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 105, 0, 105, 106, 106, 0, 0, 0, 0, - 106, 0, 0, 0, 0, 106, 106, 106, 0, 0, + 0, 107, 0, 107, 108, 108, 0, 0, 0, 0, + 108, 0, 0, 0, 0, 108, 108, 108, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 106, 0, 106, 107, 107, 0, 0, 0, 0, 107, - 0, 0, 0, 0, 107, 107, 107, 0, 0, 0, + 108, 0, 108, 109, 109, 0, 0, 0, 0, 109, + 0, 0, 0, 0, 109, 109, 109, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 107, - 0, 107, 108, 108, 0, 108, 0, 0, 0, 0, - 0, 0, 0, 108, 108, 108, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 109, + 0, 109, 110, 110, 0, 110, 0, 0, 0, 0, + 0, 0, 0, 110, 110, 110, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 108, 0, - 108, 112, 112, 0, 112, 0, 0, 0, 0, 0, - 0, 0, 112, 112, 112, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 110, 0, + 110, 114, 114, 0, 114, 0, 0, 0, 0, 0, + 0, 0, 114, 114, 114, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 112, 0, 112, - 114, 114, 0, 114, 0, 0, 0, 0, 0, 0, - 0, 114, 114, 114, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 114, 0, 114, + 116, 116, 0, 116, 0, 0, 0, 0, 0, 0, + 0, 116, 116, 116, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 114, 0, 114, 115, - 115, 0, 115, 0, 0, 0, 0, 0, 0, 0, - 115, 115, 115, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 116, 0, 116, 117, + 117, 0, 117, 0, 0, 0, 0, 0, 0, 0, + 117, 117, 117, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 115, 0, 115, 116, 116, + 0, 0, 0, 0, 0, 117, 0, 117, 118, 118, - 0, 116, 0, 0, 0, 0, 0, 0, 0, 116, - 116, 116, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 118, 0, 0, 0, 0, 0, 0, 0, 118, + 118, 118, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 116, 0, 116, 117, 117, 0, - 117, 0, 0, 0, 0, 0, 0, 0, 117, 117, - 117, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 118, 0, 118, 119, 119, 0, + 119, 0, 0, 0, 0, 0, 0, 0, 119, 119, + 119, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 117, 0, 117, 126, 126, 0, 126, - 0, 0, 0, 126, 126, 126, 0, 126, 0, 126, - 126, 126, 0, 126, 0, 0, 126, 0, 0, 0, + 0, 0, 0, 119, 0, 119, 128, 128, 0, 128, + 0, 0, 0, 128, 128, 128, 0, 128, 0, 128, + 128, 128, 0, 128, 0, 0, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 126, 234, 234, 234, 234, 234, 235, 235, 235, - 235, 235, 236, 236, 236, 236, 236, 237, 237, 237, - 237, 237, 238, 238, 238, 239, 239, 239, 239, 239, - 240, 240, 240, 240, 240, 241, 241, 241, 241, 241, - 242, 242, 242, 242, 243, 243, 243, 243, 243, 244, - 0, 244, 244, 244, 245, 0, 245, 245, 245, 246, - 246, 246, 0, 246, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233, 233, 233, 233, 233, 233, 233, 233, 233, - 233, 233 + 0, 128, 239, 239, 239, 239, 239, 240, 240, 240, + 240, 240, 241, 241, 241, 241, 241, 242, 242, 242, + 242, 242, 243, 243, 243, 244, 244, 244, 244, 244, + 245, 245, 245, 245, 245, 246, 246, 246, 246, 246, + 247, 247, 247, 247, 248, 248, 248, 248, 248, 249, + 0, 249, 249, 249, 250, 0, 250, 250, 250, 251, + 251, 251, 0, 251, 238, 238, 238, 238, 238, 238, + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238, 238, 238, 238, 238, 238, 238, 238, 238, + 238, 238 } ; /* The intent behind this definition is that it'll catch @@ -730,7 +732,7 @@ static yyconst flex_int16_t yy_chk[1033] = #define yymore() (yyg->yy_more_flag = 1) #define YY_MORE_ADJ yyg->yy_more_len #define YY_RESTORE_YY_MORE_OFFSET -#line 1 "ael/ael.flex" +#line 1 "ael.flex" /* * Asterisk -- An open source telephony toolkit. * @@ -775,7 +777,7 @@ static yyconst flex_int16_t yy_chk[1033] = * bison-bridge passes an additional yylval argument to ael_yylex(). * bison-locations is probably not needed. */ -#line 59 "ael/ael.flex" +#line 59 "ael.flex" ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include <sys/types.h> @@ -881,7 +883,7 @@ static void pbcwhere(const char *text, int *line, int *col ) #define STORE_POS #define STORE_LOC #endif -#line 884 "ael_lex.c" +#line 886 "ael_lex.c" #define INITIAL 0 #define paren 1 @@ -889,17 +891,19 @@ static void pbcwhere(const char *text, int *line, int *col ) #define argg 3 #define comment 4 +#ifndef YY_NO_UNISTD_H /* Special case for "unistd.h", since it is non-ANSI. We include it way * down here because we want the user's section 1 to have been scanned first. * The user has a chance to override it with an option. */ #include <unistd.h> +#endif #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif -/*! \brief Holds the entire state of the reentrant scanner. */ +/* Holds the entire state of the reentrant scanner. */ struct yyguts_t { @@ -908,9 +912,9 @@ struct yyguts_t /* The rest are the same as the globals declared in the non-reentrant scanner. */ FILE *yyin_r, *yyout_r; - size_t yy_buffer_stack_top; /*!< index of top of stack. */ - size_t yy_buffer_stack_max; /*!< capacity of stack. */ - YY_BUFFER_STATE * yy_buffer_stack; /*!< Stack as an array. */ + size_t yy_buffer_stack_top; /**< index of top of stack. */ + size_t yy_buffer_stack_max; /**< capacity of stack. */ + YY_BUFFER_STATE * yy_buffer_stack; /**< Stack as an array. */ char yy_hold_char; int yy_n_chars; int yyleng_r; @@ -937,6 +941,8 @@ struct yyguts_t }; /* end struct yyguts_t */ +static int yy_init_globals (yyscan_t yyscanner ); + /* This must go here because YYSTYPE and YYLTYPE are included * from bison output in section 1.*/ # define yylval yyg->yylval_r @@ -1087,9 +1093,11 @@ static int input (yyscan_t yyscanner ); #ifndef YY_DECL #define YY_DECL_IS_OURS 1 -extern int ael_yylex (YYSTYPE * yylval_param,YYLTYPE * yylloc_param ,yyscan_t yyscanner); +extern int ael_yylex \ + (YYSTYPE * yylval_param,YYLTYPE * yylloc_param ,yyscan_t yyscanner); -#define YY_DECL int ael_yylex (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner) +#define YY_DECL int ael_yylex \ + (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner) #endif /* !YY_DECL */ /* Code executed at the beginning of each rule, after yytext and yyleng @@ -1116,10 +1124,10 @@ YY_DECL register int yy_act; struct yyguts_t * yyg = (struct yyguts_t*)yyscanner; -#line 173 "ael/ael.flex" +#line 173 "ael.flex" -#line 1122 "ael_lex.c" +#line 1130 "ael_lex.c" yylval = yylval_param; @@ -1182,13 +1190,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 >= 234 ) + if ( yy_current_state >= 239 ) 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_current_state != 233 ); + while ( yy_current_state != 238 ); yy_cp = yyg->yy_last_accepting_cpos; yy_current_state = yyg->yy_last_accepting_state; @@ -1210,250 +1218,255 @@ do_action: /* This label is used only to access EOF actions. */ case 1: YY_RULE_SETUP -#line 175 "ael/ael.flex" +#line 175 "ael.flex" { STORE_POS; return LC;} YY_BREAK case 2: YY_RULE_SETUP -#line 176 "ael/ael.flex" +#line 176 "ael.flex" { STORE_POS; return RC;} YY_BREAK case 3: YY_RULE_SETUP -#line 177 "ael/ael.flex" +#line 177 "ael.flex" { STORE_POS; return LP;} YY_BREAK case 4: YY_RULE_SETUP -#line 178 "ael/ael.flex" +#line 178 "ael.flex" { STORE_POS; return RP;} YY_BREAK case 5: YY_RULE_SETUP -#line 179 "ael/ael.flex" +#line 179 "ael.flex" { STORE_POS; return SEMI;} YY_BREAK case 6: YY_RULE_SETUP -#line 180 "ael/ael.flex" +#line 180 "ael.flex" { STORE_POS; return EQ;} YY_BREAK case 7: YY_RULE_SETUP -#line 181 "ael/ael.flex" +#line 181 "ael.flex" { STORE_POS; return COMMA;} YY_BREAK case 8: YY_RULE_SETUP -#line 182 "ael/ael.flex" +#line 182 "ael.flex" { STORE_POS; return COLON;} YY_BREAK case 9: YY_RULE_SETUP -#line 183 "ael/ael.flex" +#line 183 "ael.flex" { STORE_POS; return AMPER;} YY_BREAK case 10: YY_RULE_SETUP -#line 184 "ael/ael.flex" +#line 184 "ael.flex" { STORE_POS; return BAR;} YY_BREAK case 11: YY_RULE_SETUP -#line 185 "ael/ael.flex" +#line 185 "ael.flex" { STORE_POS; return EXTENMARK;} YY_BREAK case 12: YY_RULE_SETUP -#line 186 "ael/ael.flex" +#line 186 "ael.flex" { STORE_POS; return AT;} YY_BREAK case 13: YY_RULE_SETUP -#line 187 "ael/ael.flex" +#line 187 "ael.flex" {/*comment*/} YY_BREAK case 14: YY_RULE_SETUP -#line 188 "ael/ael.flex" +#line 188 "ael.flex" { STORE_POS; return KW_CONTEXT;} YY_BREAK case 15: YY_RULE_SETUP -#line 189 "ael/ael.flex" +#line 189 "ael.flex" { STORE_POS; return KW_ABSTRACT;} YY_BREAK case 16: YY_RULE_SETUP -#line 190 "ael/ael.flex" +#line 190 "ael.flex" { STORE_POS; return KW_MACRO;}; YY_BREAK case 17: YY_RULE_SETUP -#line 191 "ael/ael.flex" +#line 191 "ael.flex" { STORE_POS; return KW_GLOBALS;} YY_BREAK case 18: YY_RULE_SETUP -#line 192 "ael/ael.flex" -{ STORE_POS; return KW_IGNOREPAT;} +#line 192 "ael.flex" +{ STORE_POS; return KW_LOCAL;} YY_BREAK case 19: YY_RULE_SETUP -#line 193 "ael/ael.flex" -{ STORE_POS; return KW_SWITCH;} +#line 193 "ael.flex" +{ STORE_POS; return KW_IGNOREPAT;} YY_BREAK case 20: YY_RULE_SETUP -#line 194 "ael/ael.flex" -{ STORE_POS; return KW_IF;} +#line 194 "ael.flex" +{ STORE_POS; return KW_SWITCH;} YY_BREAK case 21: YY_RULE_SETUP -#line 195 "ael/ael.flex" -{ STORE_POS; return KW_IFTIME;} +#line 195 "ael.flex" +{ STORE_POS; return KW_IF;} YY_BREAK case 22: YY_RULE_SETUP -#line 196 "ael/ael.flex" -{ STORE_POS; return KW_RANDOM;} +#line 196 "ael.flex" +{ STORE_POS; return KW_IFTIME;} YY_BREAK case 23: YY_RULE_SETUP -#line 197 "ael/ael.flex" -{ STORE_POS; return KW_REGEXTEN;} +#line 197 "ael.flex" +{ STORE_POS; return KW_RANDOM;} YY_BREAK case 24: YY_RULE_SETUP -#line 198 "ael/ael.flex" -{ STORE_POS; return KW_HINT;} +#line 198 "ael.flex" +{ STORE_POS; return KW_REGEXTEN;} YY_BREAK case 25: YY_RULE_SETUP -#line 199 "ael/ael.flex" -{ STORE_POS; return KW_ELSE;} +#line 199 "ael.flex" +{ STORE_POS; return KW_HINT;} YY_BREAK case 26: YY_RULE_SETUP -#line 200 "ael/ael.flex" -{ STORE_POS; return KW_GOTO;} +#line 200 "ael.flex" +{ STORE_POS; return KW_ELSE;} YY_BREAK case 27: YY_RULE_SETUP -#line 201 "ael/ael.flex" -{ STORE_POS; return KW_JUMP;} +#line 201 "ael.flex" +{ STORE_POS; return KW_GOTO;} YY_BREAK case 28: YY_RULE_SETUP -#line 202 "ael/ael.flex" -{ STORE_POS; return KW_RETURN;} +#line 202 "ael.flex" +{ STORE_POS; return KW_JUMP;} YY_BREAK case 29: YY_RULE_SETUP -#line 203 "ael/ael.flex" -{ STORE_POS; return KW_BREAK;} +#line 203 "ael.flex" +{ STORE_POS; return KW_RETURN;} YY_BREAK case 30: YY_RULE_SETUP -#line 204 "ael/ael.flex" -{ STORE_POS; return KW_CONTINUE;} +#line 204 "ael.flex" +{ STORE_POS; return KW_BREAK;} YY_BREAK case 31: YY_RULE_SETUP -#line 205 "ael/ael.flex" -{ STORE_POS; return KW_FOR;} +#line 205 "ael.flex" +{ STORE_POS; return KW_CONTINUE;} YY_BREAK case 32: YY_RULE_SETUP -#line 206 "ael/ael.flex" -{ STORE_POS; return KW_WHILE;} +#line 206 "ael.flex" +{ STORE_POS; return KW_FOR;} YY_BREAK case 33: YY_RULE_SETUP -#line 207 "ael/ael.flex" -{ STORE_POS; return KW_CASE;} +#line 207 "ael.flex" +{ STORE_POS; return KW_WHILE;} YY_BREAK case 34: YY_RULE_SETUP -#line 208 "ael/ael.flex" -{ STORE_POS; return KW_DEFAULT;} +#line 208 "ael.flex" +{ STORE_POS; return KW_CASE;} YY_BREAK case 35: YY_RULE_SETUP -#line 209 "ael/ael.flex" -{ STORE_POS; return KW_PATTERN;} +#line 209 "ael.flex" +{ STORE_POS; return KW_DEFAULT;} YY_BREAK case 36: YY_RULE_SETUP -#line 210 "ael/ael.flex" -{ STORE_POS; return KW_CATCH;} +#line 210 "ael.flex" +{ STORE_POS; return KW_PATTERN;} YY_BREAK case 37: YY_RULE_SETUP -#line 211 "ael/ael.flex" -{ STORE_POS; return KW_SWITCHES;} +#line 211 "ael.flex" +{ STORE_POS; return KW_CATCH;} YY_BREAK case 38: YY_RULE_SETUP -#line 212 "ael/ael.flex" -{ STORE_POS; return KW_ESWITCHES;} +#line 212 "ael.flex" +{ STORE_POS; return KW_SWITCHES;} YY_BREAK case 39: YY_RULE_SETUP -#line 213 "ael/ael.flex" -{ STORE_POS; return KW_INCLUDES;} +#line 213 "ael.flex" +{ STORE_POS; return KW_ESWITCHES;} YY_BREAK case 40: YY_RULE_SETUP -#line 214 "ael/ael.flex" -{ BEGIN(comment); my_col += 2; } +#line 214 "ael.flex" +{ STORE_POS; return KW_INCLUDES;} YY_BREAK case 41: YY_RULE_SETUP -#line 216 "ael/ael.flex" -{ my_col += yyleng; } +#line 215 "ael.flex" +{ BEGIN(comment); my_col += 2; } YY_BREAK case 42: -/* rule 42 can match eol */ YY_RULE_SETUP -#line 217 "ael/ael.flex" -{ ++my_lineno; my_col=1;} +#line 217 "ael.flex" +{ my_col += yyleng; } YY_BREAK case 43: +/* rule 43 can match eol */ YY_RULE_SETUP -#line 218 "ael/ael.flex" -{ my_col += yyleng; } +#line 218 "ael.flex" +{ ++my_lineno; my_col=1;} YY_BREAK case 44: -/* rule 44 can match eol */ YY_RULE_SETUP -#line 219 "ael/ael.flex" -{ ++my_lineno; my_col=1;} +#line 219 "ael.flex" +{ my_col += yyleng; } YY_BREAK case 45: +/* rule 45 can match eol */ YY_RULE_SETUP -#line 220 "ael/ael.flex" -{ my_col += 2; BEGIN(INITIAL); } +#line 220 "ael.flex" +{ ++my_lineno; my_col=1;} YY_BREAK case 46: -/* rule 46 can match eol */ YY_RULE_SETUP -#line 222 "ael/ael.flex" -{ my_lineno++; my_col = 1; } +#line 221 "ael.flex" +{ my_col += 2; BEGIN(INITIAL); } YY_BREAK case 47: +/* rule 47 can match eol */ YY_RULE_SETUP -#line 223 "ael/ael.flex" -{ my_col += yyleng; } +#line 223 "ael.flex" +{ my_lineno++; my_col = 1; } YY_BREAK case 48: YY_RULE_SETUP -#line 224 "ael/ael.flex" -{ my_col += (yyleng*8)-(my_col%8); } +#line 224 "ael.flex" +{ my_col += yyleng; } YY_BREAK case 49: YY_RULE_SETUP -#line 226 "ael/ael.flex" +#line 225 "ael.flex" +{ my_col += (yyleng*8)-(my_col%8); } + YY_BREAK +case 50: +YY_RULE_SETUP +#line 227 "ael.flex" { STORE_POS; yylval->str = strdup(yytext); @@ -1468,10 +1481,10 @@ YY_RULE_SETUP * A comma at the top level is valid here, unlike in argg where it * is an argument separator so it must be returned as a token. */ -case 50: -/* rule 50 can match eol */ +case 51: +/* rule 51 can match eol */ YY_RULE_SETUP -#line 242 "ael/ael.flex" +#line 243 "ael.flex" { if ( pbcpop(')') ) { /* error */ STORE_LOC; @@ -1494,10 +1507,10 @@ YY_RULE_SETUP } } YY_BREAK -case 51: -/* rule 51 can match eol */ +case 52: +/* rule 52 can match eol */ YY_RULE_SETUP -#line 264 "ael/ael.flex" +#line 265 "ael.flex" { char c = yytext[yyleng-1]; if (c == '(') @@ -1506,10 +1519,10 @@ YY_RULE_SETUP yymore(); } YY_BREAK -case 52: -/* rule 52 can match eol */ +case 53: +/* rule 53 can match eol */ YY_RULE_SETUP -#line 272 "ael/ael.flex" +#line 273 "ael.flex" { char c = yytext[yyleng-1]; if ( pbcpop(c)) { /* error */ @@ -1531,10 +1544,10 @@ YY_RULE_SETUP * of the (external) call, which happens when parencount == 0 * before the decrement. */ -case 53: -/* rule 53 can match eol */ +case 54: +/* rule 54 can match eol */ YY_RULE_SETUP -#line 294 "ael/ael.flex" +#line 295 "ael.flex" { char c = yytext[yyleng-1]; if (c == '(') @@ -1543,10 +1556,10 @@ YY_RULE_SETUP yymore(); } YY_BREAK -case 54: -/* rule 54 can match eol */ +case 55: +/* rule 55 can match eol */ YY_RULE_SETUP -#line 302 "ael/ael.flex" +#line 303 "ael.flex" { if ( pbcpop(')') ) { /* error */ STORE_LOC; @@ -1571,10 +1584,10 @@ YY_RULE_SETUP } } YY_BREAK -case 55: -/* rule 55 can match eol */ +case 56: +/* rule 56 can match eol */ YY_RULE_SETUP -#line 326 "ael/ael.flex" +#line 327 "ael.flex" { if( parencount != 0) { /* printf("Folding in a comma!\n"); */ yymore(); @@ -1589,10 +1602,10 @@ YY_RULE_SETUP } } YY_BREAK -case 56: -/* rule 56 can match eol */ +case 57: +/* rule 57 can match eol */ YY_RULE_SETUP -#line 340 "ael/ael.flex" +#line 341 "ael.flex" { char c = yytext[yyleng-1]; if ( pbcpop(c) ) { /* error */ @@ -1610,20 +1623,20 @@ YY_RULE_SETUP * or in the first and second operand of a 'for'. As above, match * commas and use ';' as a separator (hence return it as a separate token). */ -case 57: -/* rule 57 can match eol */ +case 58: +/* rule 58 can match eol */ YY_RULE_SETUP -#line 357 "ael/ael.flex" +#line 358 "ael.flex" { char c = yytext[yyleng-1]; yymore(); pbcpush(c); } YY_BREAK -case 58: -/* rule 58 can match eol */ +case 59: +/* rule 59 can match eol */ YY_RULE_SETUP -#line 363 "ael/ael.flex" +#line 364 "ael.flex" { char c = yytext[yyleng-1]; if ( pbcpop(c) ) { /* error */ @@ -1636,10 +1649,10 @@ YY_RULE_SETUP yymore(); } YY_BREAK -case 59: -/* rule 59 can match eol */ +case 60: +/* rule 60 can match eol */ YY_RULE_SETUP -#line 375 "ael/ael.flex" +#line 376 "ael.flex" { STORE_LOC; yylval->str = strdup(yytext); @@ -1649,10 +1662,10 @@ YY_RULE_SETUP return word; } YY_BREAK -case 60: -/* rule 60 can match eol */ +case 61: +/* rule 61 can match eol */ YY_RULE_SETUP -#line 384 "ael/ael.flex" +#line 385 "ael.flex" { FILE *in1; char fnamebuf[1024],*p1,*p2; @@ -1721,7 +1734,7 @@ case YY_STATE_EOF(paren): case YY_STATE_EOF(semic): case YY_STATE_EOF(argg): case YY_STATE_EOF(comment): -#line 447 "ael/ael.flex" +#line 448 "ael.flex" { if ( --include_stack_index < 0 ) { yyterminate(); @@ -1735,12 +1748,12 @@ case YY_STATE_EOF(comment): } } YY_BREAK -case 61: +case 62: YY_RULE_SETUP -#line 460 "ael/ael.flex" +#line 461 "ael.flex" ECHO; YY_BREAK -#line 1743 "ael_lex.c" +#line 1756 "ael_lex.c" case YY_END_OF_BUFFER: { @@ -1926,7 +1939,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner) else { - size_t num_to_read = + int num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; while ( num_to_read <= 0 ) @@ -2025,7 +2038,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner) 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 >= 234 ) + if ( yy_current_state >= 239 ) yy_c = yy_meta[(unsigned int) yy_c]; } yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; @@ -2054,11 +2067,11 @@ static int yy_get_next_buffer (yyscan_t yyscanner) 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 >= 234 ) + if ( yy_current_state >= 239 ) 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 == 233); + yy_is_jam = (yy_current_state == 238); return yy_is_jam ? 0 : yy_current_state; } @@ -2176,12 +2189,10 @@ static int yy_get_next_buffer (yyscan_t yyscanner) } #endif /* ifndef YY_NO_INPUT */ -/*! - * \brief Immediately switch to a different input stream. - * \param input_file A readable stream. - * \param yyscanner The scanner object. - * - * \note This function does not reset the start condition to @c INITIAL . +/** Immediately switch to a different input stream. + * @param input_file A readable stream. + * @param yyscanner The scanner object. + * @note This function does not reset the start condition to @c INITIAL . */ void ael_yyrestart (FILE * input_file , yyscan_t yyscanner) { @@ -2197,10 +2208,9 @@ static int yy_get_next_buffer (yyscan_t yyscanner) ael_yy_load_buffer_state(yyscanner ); } -/*! - * \brief Switch to a different input buffer. - * \param new_buffer The new input buffer. - * \param yyscanner The scanner object. +/** Switch to a different input buffer. + * @param new_buffer The new input buffer. + * @param yyscanner The scanner object. */ void ael_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) { @@ -2243,13 +2253,11 @@ static void ael_yy_load_buffer_state (yyscan_t yyscanner) yyg->yy_hold_char = *yyg->yy_c_buf_p; } -/*! - * \brief Allocate and initialize an input buffer state. - * \param file A readable stream. - * \param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. - * \param yyscanner The scanner object. - * - * \return the allocated buffer state. +/** Allocate and initialize an input buffer state. + * @param file A readable stream. + * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. + * @param yyscanner The scanner object. + * @return the allocated buffer state. */ YY_BUFFER_STATE ael_yy_create_buffer (FILE * file, int size , yyscan_t yyscanner) { @@ -2275,10 +2283,9 @@ static void ael_yy_load_buffer_state (yyscan_t yyscanner) return b; } -/*! - * \brief Destroy the buffer. - * \param b a buffer created with ael_yy_create_buffer() - * \param yyscanner The scanner object. +/** Destroy the buffer. + * @param b a buffer created with ael_yy_create_buffer() + * @param yyscanner The scanner object. */ void ael_yy_delete_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner) { @@ -2329,10 +2336,9 @@ extern int isatty (int ); errno = oerrno; } -/*! - * \brief Discard all buffered characters. On the next scan, YY_INPUT will be called. - * \param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. - * \param yyscanner The scanner object. +/** Discard all buffered characters. On the next scan, YY_INPUT will be called. + * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. + * @param yyscanner The scanner object. */ void ael_yy_flush_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner) { @@ -2358,12 +2364,11 @@ extern int isatty (int ); ael_yy_load_buffer_state(yyscanner ); } -/*! - * \brief Pushes the new state onto the stack. The new state becomes +/** Pushes the new state onto the stack. The new state becomes * the current state. This function will allocate the stack * if necessary. - * \param new_buffer The new state. - * \param yyscanner The scanner object. + * @param new_buffer The new state. + * @param yyscanner The scanner object. */ void ael_yypush_buffer_state (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) { @@ -2392,10 +2397,9 @@ void ael_yypush_buffer_state (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner) yyg->yy_did_buffer_switch_on_eof = 1; } -/*! - * \brief Removes and deletes the top of the stack, if present. +/** Removes and deletes the top of the stack, if present. * The next element becomes the new top. - * \param yyscanner The scanner object. + * @param yyscanner The scanner object. */ void ael_yypop_buffer_state (yyscan_t yyscanner) { @@ -2457,13 +2461,11 @@ static void ael_yyensure_buffer_stack (yyscan_t yyscanner) } } -/*! - * \brief Setup the input buffer state to scan directly from a user-specified character buffer. - * \param base the character buffer - * \param size the size in bytes of the character buffer - * \param yyscanner The scanner object. - * - * \return the newly allocated buffer state object. +/** Setup the input buffer state to scan directly from a user-specified character buffer. + * @param base the character buffer + * @param size the size in bytes of the character buffer + * @param yyscanner The scanner object. + * @return the newly allocated buffer state object. */ YY_BUFFER_STATE ael_yy_scan_buffer (char * base, yy_size_t size , yyscan_t yyscanner) { @@ -2494,31 +2496,26 @@ YY_BUFFER_STATE ael_yy_scan_buffer (char * base, yy_size_t size , yyscan_t yys return b; } -/*! - * \brief Setup the input buffer state to scan a string. The next call to ael_yylex() will +/** Setup the input buffer state to scan a string. The next call to ael_yylex() will * scan from a @e copy of @a str. - * \param str a NUL-terminated string to scan - * \param yyscanner The scanner object. - * - * \return the newly allocated buffer state object. - * - * \note If you want to scan bytes that may contain NUL values, then use + * @param str a NUL-terminated string to scan + * @param yyscanner The scanner object. + * @return the newly allocated buffer state object. + * @note If you want to scan bytes that may contain NUL values, then use * ael_yy_scan_bytes() instead. */ -YY_BUFFER_STATE ael_yy_scan_string (yyconst char * str , yyscan_t yyscanner) +YY_BUFFER_STATE ael_yy_scan_string (yyconst char * yy_str , yyscan_t yyscanner) { - return ael_yy_scan_bytes(str,strlen(str) ,yyscanner); + return ael_yy_scan_bytes(yy_str,strlen(yy_str) ,yyscanner); } -/*! - * \brief Setup the input buffer state to scan the given bytes. The next call to ael_yylex() will +/** Setup the input buffer state to scan the given bytes. The next call to ael_yylex() will * scan from a @e copy of @a bytes. - * \param bytes the byte buffer to scan - * \param len the number of bytes in the buffer pointed to by @a bytes. - * \param yyscanner The scanner object. - * - * \return the newly allocated buffer state object. + * @param bytes the byte buffer to scan + * @param len the number of bytes in the buffer pointed to by @a bytes. + * @param yyscanner The scanner object. + * @return the newly allocated buffer state object. */ YY_BUFFER_STATE ael_yy_scan_bytes (yyconst char * bytes, int len , yyscan_t yyscanner) { @@ -2579,9 +2576,8 @@ static void yy_fatal_error (yyconst char* msg , yyscan_t yyscanner) /* Accessor methods (get/set functions) to struct members. */ -/*! - * \brief Get the user-defined data for this scanner. - * \param yyscanner The scanner object. +/** Get the user-defined data for this scanner. + * @param yyscanner The scanner object. */ YY_EXTRA_TYPE ael_yyget_extra (yyscan_t yyscanner) { @@ -2589,9 +2585,8 @@ YY_EXTRA_TYPE ael_yyget_extra (yyscan_t yyscanner) return yyextra; } -/*! - * \brief Get the current line number. - * \param yyscanner The scanner object. +/** Get the current line number. + * @param yyscanner The scanner object. */ int ael_yyget_lineno (yyscan_t yyscanner) { @@ -2603,9 +2598,8 @@ int ael_yyget_lineno (yyscan_t yyscanner) return yylineno; } -/*! - * \brief Get the current column number. - * \param yyscanner The scanner object. +/** Get the current column number. + * @param yyscanner The scanner object. */ int ael_yyget_column (yyscan_t yyscanner) { @@ -2617,9 +2611,8 @@ int ael_yyget_column (yyscan_t yyscanner) return yycolumn; } -/*! - * \brief Get the input stream. - * \param yyscanner The scanner object. +/** Get the input stream. + * @param yyscanner The scanner object. */ FILE *ael_yyget_in (yyscan_t yyscanner) { @@ -2627,9 +2620,8 @@ FILE *ael_yyget_in (yyscan_t yyscanner) return yyin; } -/*! - * \brief Get the output stream. - * \param yyscanner The scanner object. +/** Get the output stream. + * @param yyscanner The scanner object. */ FILE *ael_yyget_out (yyscan_t yyscanner) { @@ -2637,9 +2629,8 @@ FILE *ael_yyget_out (yyscan_t yyscanner) return yyout; } -/*! - * \brief Get the length of the current token. - * \param yyscanner The scanner object. +/** Get the length of the current token. + * @param yyscanner The scanner object. */ int ael_yyget_leng (yyscan_t yyscanner) { @@ -2647,9 +2638,8 @@ int ael_yyget_leng (yyscan_t yyscanner) return yyleng; } -/*! - * \brief Get the current token. - * \param yyscanner The scanner object. +/** Get the current token. + * @param yyscanner The scanner object. */ char *ael_yyget_text (yyscan_t yyscanner) @@ -2658,10 +2648,9 @@ char *ael_yyget_text (yyscan_t yyscanner) return yytext; } -/*! - * \brief Set the user-defined data. This data is never touched by the scanner. - * \param user_defined The data to be associated with this scanner. - * \param yyscanner The scanner object. +/** Set the user-defined data. This data is never touched by the scanner. + * @param user_defined The data to be associated with this scanner. + * @param yyscanner The scanner object. */ void ael_yyset_extra (YY_EXTRA_TYPE user_defined , yyscan_t yyscanner) { @@ -2669,10 +2658,9 @@ void ael_yyset_extra (YY_EXTRA_TYPE user_defined , yyscan_t yyscanner) yyextra = user_defined ; } -/*! - * \brief Set the current line number. - * \param line_number - * \param yyscanner The scanner object. +/** Set the current line number. + * @param line_number + * @param yyscanner The scanner object. */ void ael_yyset_lineno (int line_number , yyscan_t yyscanner) { @@ -2685,10 +2673,9 @@ void ael_yyset_lineno (int line_number , yyscan_t yyscanner) yylineno = line_number; } -/*! - * \brief Set the current column. - * \param line_number - * \param yyscanner The scanner object. +/** Set the current column. + * @param line_number + * @param yyscanner The scanner object. */ void ael_yyset_column (int column_no , yyscan_t yyscanner) { @@ -2701,13 +2688,11 @@ void ael_yyset_column (int column_no , yyscan_t yyscanner) yycolumn = column_no; } -/*! - * \brief Set the input stream. This does not discard the current +/** Set the input stream. This does not discard the current * input buffer. - * \param in_str A readable stream. - * \param yyscanner The scanner object. - * - * \see ael_yy_switch_to_buffer + * @param in_str A readable stream. + * @param yyscanner The scanner object. + * @see ael_yy_switch_to_buffer */ void ael_yyset_in (FILE * in_str , yyscan_t yyscanner) { @@ -2904,7 +2889,7 @@ void ael_yyfree (void * ptr , yyscan_t yyscanner) #undef YY_DECL_IS_OURS #undef YY_DECL #endif -#line 460 "ael/ael.flex" +#line 461 "ael.flex" |