⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ael_lex.c

📁 asterisk 是一个很有知名度开源软件
💻 C
📖 第 1 页 / 共 5 页
字号:
       49,   49,   49,   49,   49,   49,   49,   49,   49,   49,       49,   49,   49,   49,   49,   49,   49,   49,   49,   49,       49,   49,   49,   49,   49,   49,   49,   49,   49,   49,       49,   49,   49,   49,   49,   49,   49,   49,   49,   49,       49,   49,   49,   49,   49,   49,   49,   49,   49,   49,       49,   49,   49,   49,   49,   49,   49,   49,   49,   49,       49,   49,   49,   49,   49,   49,   49,   49,   49,   49,       49,   49,   49,   49,   49,   49,   49,   49,   49,   49,       49,   49,   49,   49,   49    } ;static yyconst flex_int32_t yy_meta[50] =    {   0,        1,    1,    2,    1,    3,    4,    3,    3,    1,    1,        1,    5,    1,    3,    1,    1,    1,    3,    1,    3,        3,    1,    3,    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    } ;static yyconst flex_int16_t yy_base[304] =    {   0,        0,    0,   40,   43,   82,  121,  160,  199,   55,   56,       60,   74,  247,  296,   90,  104,  432, 1023,  429, 1023,      426, 1023,  397,   31, 1023, 1023, 1023, 1023,   43, 1023,     1023,  410, 1023,    0,  401,  382,   36,  389,   34,  378,       38,  380,   80,  368,  372,  385,  381,   66,  357,  369,     1023, 1023, 1023,  138, 1023, 1023,  143, 1023,  336, 1023,     1023, 1023,  375,  414, 1023, 1023, 1023,  453, 1023,  396,     1023,  104,  177, 1023, 1023,  182, 1023, 1023, 1023,   78,        0, 1023,  231, 1023, 1023,  262, 1023,  393,  390,  356,     1023, 1023,    0, 1023,  348,  360,   92,  350,  354,  337,      333,  333,  333,  334,  329,  333,  344,  326,  335,  320,      327,  322,  299,  303,   93,  302,  301,  280, 1023, 1023,      314, 1023,  328,  344,  358,  492, 1023, 1023, 1023,  531,      570,  609,  648,  687, 1023, 1023, 1023,  726, 1023,  765,      804,  843,  882,  329, 1023,  143, 1023,  144, 1023,  392,     1023, 1023,  397, 1023,  431,  436,  470, 1023, 1023, 1023,      475, 1023, 1023,  484, 1023,  514,  523,  553,  305,    0,      288,  305,  299,  297,  280,  297,  292,  287,  289,    0,      291,  276,  250,  257,  250,  252,  247,  258,  241,  238,      251,  248,  232,  232,  236,  235,  228,  233,    0,  234,      113,  218,    0,  217,  209,  220,    0,    0,  207,  200,      196,    0,  203,  199,  208,  197,  189,  193,  206,  203,      186,  203,    0,    0,  181,  187,  184,  192,  190,  181,      187,  186,  186,    0,    0,  171,  171,  160,  164,  166,        0,  169,  169,  152,  147,  143,  149,    0,  138,    0,      139,  149,  138,    0,  140,    0,  135,  134,  109,    0,      112,    0,  111,    0,  105,   80,    0,   82,   61,   76,        0,    0,   46,   30,    0,    0,    0,  170,    0,    0,        0,   50, 1023, 1023,  930,  935,  940,  945,  950,  955,      960,  965,  970,  975,  980,  985,  989,  994,  999, 1004,     1009, 1012, 1017    } ;static yyconst flex_int16_t yy_def[304] =    {   0,      284,    1,  285,  285,  286,  286,  287,  287,  288,  288,      289,  289,  290,  290,  291,  291,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  292,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  293,  284,  284,  293,  284,  294,  284,      284,  284,  294,  295,  284,  284,  284,  295,  284,  296,      284,  297,  298,  284,  284,  298,  284,  284,  284,  284,      299,  284,  300,  284,  284,  300,  284,  284,  284,  284,      284,  284,  301,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  302,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  293,  284,  284,      293,  284,  293,  293,  293,  294,  284,  284,  284,  294,      294,  294,  294,  295,  284,  284,  284,  295,  284,  295,      295,  295,  295,  296,  284,  297,  284,  297,  284,  298,      284,  284,  298,  284,  298,  298,  298,  284,  284,  284,      300,  284,  284,  300,  284,  300,  300,  300,  284,  301,      284,  284,  284,  284,  284,  284,  284,  284,  284,  302,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  302,  284,      284,  284,  302,  284,  284,  284,  302,  302,  284,  284,      284,  302,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  302,  302,  284,  284,  284,  284,  284,  284,      284,  284,  284,  302,  302,  284,  284,  284,  284,  284,      302,  284,  284,  284,  284,  284,  284,  302,  284,  302,      284,  284,  284,  302,  284,  302,  302,  284,  284,  302,      284,  302,  284,  302,  284,  284,  302,  284,  284,  284,      302,  302,  284,  284,  302,  302,  302,  284,  302,  302,      303,  303,  284,    0,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284    } ;static yyconst flex_int16_t yy_nxt[1073] =    {   0,       18,   19,   20,   21,   22,   22,   23,   24,   25,   26,       27,   22,   28,   29,   30,   31,   32,   22,   33,   22,       22,   34,   22,   35,   36,   37,   38,   39,   40,   41,       42,   43,   44,   22,   45,   46,   22,   22,   47,   48,       49,   22,   22,   50,   22,   51,   52,   53,   22,   55,       56,   91,   55,   56,   92,  283,   93,   71,   71,   97,       55,   57,   58,   55,   57,   58,   72,   72,  100,   74,       75,  280,  104,   98,  101,  105,   91,  278,  102,  278,       74,   76,   75,   74,   75,   55,  279,   58,   55,  114,       58,   60,   61,  115,   74,   76,   75,   62,  158,   84,       85,  277,   60,   63,   61,   74,  147,   77,  107,  108,       84,   86,   87,   84,   85,  148,  109,  149,  276,   74,      275,   77,  192,  159,   84,   86,   87,   60,  274,   61,       60,   61,  173,  174,  193,   84,   62,   85,  273,  272,      225,   60,   63,   61,  226,  147,  147,  119,  120,   84,      271,   85,  123,  124,  284,  148,  284,  284,  119,  121,      122,  270,  269,  123,  121,  125,   60,  268,   61,   65,       66,  278,   67,  278,  267,  281,  266,  265,  264,  263,       65,   68,   69,  119,  262,  122,  151,  152,  123,  261,      125,  155,  156,  260,  259,  258,  257,  151,  153,  152,      256,  255,  155,  153,  156,   65,  254,   69,   65,   66,      253,   67,  252,  251,  250,  249,  248,  247,  246,   65,       68,   69,  151,  245,  154,  244,  243,  155,  242,  157,      241,  240,  239,  238,  237,  236,  235,  234,  233,  232,      162,  163,  231,  230,   65,  229,   69,   78,   78,   78,       78,  162,  164,  165,   80,   78,   78,   78,  228,   78,      227,   78,   78,   78,  224,   78,  223,  222,   81,  221,      220,  166,  167,  219,  218,  217,  162,  216,  163,  215,      214,  213,  166,  164,  168,  212,  211,  210,  209,  119,      120,  208,   78,   78,   78,   82,   78,   78,   78,   78,      119,  121,  122,   80,   78,   78,   78,  166,   78,  167,       78,   78,   78,  207,   78,  206,  205,   81,  204,  203,      202,  201,  200,  123,  124,  119,  199,  122,  198,  197,      196,  145,  195,  194,  123,  121,  125,  119,  120,  191,      190,   78,   78,   78,   82,  127,  128,  189,  119,  121,      122,  129,  188,  119,  120,  187,  127,  130,  128,  123,      186,  125,  185,  184,  119,  121,  122,  119,  120,  183,      182,  181,  180,  119,  179,  122,  178,  177,  119,  121,      122,  127,  176,  128,  131,  132,  175,  172,  171,  119,      133,  122,  169,   89,   88,  131,  130,  132,  145,  117,      116,  151,  152,  119,  113,  122,  155,  156,  112,  111,      110,  106,  151,  153,  152,  103,   99,  155,  153,  156,      131,   96,  132,  135,  136,   95,  137,   94,   90,   89,       88,  284,  284,  284,  135,  138,  139,  151,  284,  154,      151,  152,  155,  284,  157,  151,  152,  284,  284,  284,      284,  151,  153,  152,  284,  284,  151,  153,  152,  135,      284,  139,  140,  141,  284,  142,  284,  284,  284,  284,      284,  284,  284,  140,  138,  143,  151,  284,  154,  151,      152,  151,  284,  154,  162,  163,  284,  284,  284,  284,      151,  153,  152,  166,  167,  162,  164,  165,  140,  284,      143,  127,  128,  284,  166,  164,  168,  129,  284,  284,      284,  284,  127,  130,  128,  151,  284,  154,  284,  284,      162,  284,  163,  162,  163,  284,  284,  284,  284,  166,      284,  167,  162,  163,  162,  164,  165,  127,  284,  128,      131,  132,  284,  162,  164,  165,  133,  284,  284,  284,      284,  131,  130,  132,  284,  284,  284,  284,  284,  162,      284,  163,  162,  163,  284,  284,  284,  284,  162,  284,      163,  284,  284,  162,  164,  165,  131,  284,  132,  127,      128,  284,  284,  284,  284,  129,  284,  284,  284,  284,      127,  130,  128,  284,  284,  284,  284,  284,  162,  284,      163,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  127,  284,  128,  127,  128,      284,  284,  284,  284,  129,  284,  284,  284,  284,  127,      130,  128,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  127,  284,  128,  127,  128,  284,      284,  284,  284,  129,  284,  284,  284,  284,  127,  130,      128,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  127,  284,  128,  135,  136,  284,  137,      284,  284,  284,  284,  284,  284,  284,  135,  138,  139,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  135,  284,  139,  140,  141,  284,  142,  284,      284,  284,  284,  284,  284,  284,  140,  138,  143,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  140,  284,  143,  135,  136,  284,  137,  284,  284,      284,  284,  284,  284,  284,  135,  138,  139,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      135,  284,  139,  135,  136,  284,  137,  284,  284,  284,      284,  284,  284,  284,  135,  138,  139,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  135,      284,  139,  135,  136,  284,  137,  284,  284,  284,  284,      284,  284,  284,  135,  138,  139,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  135,  284,      139,  135,  136,  284,  137,  284,  284,  284,  284,  284,      284,  284,  135,  138,  139,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  135,  284,  139,       54,   54,   54,   54,   54,   59,   59,   59,   59,   59,       64,   64,   64,   64,   64,   70,   70,   70,   70,   70,       73,   73,   73,   73,   73,   79,   79,   79,   79,   79,       83,   83,   83,   83,   83,   91,  284,   91,   91,   91,      118,  118,  118,  118,  118,  126,  126,  126,  126,  126,      134,  134,  134,  134,  134,  144,  144,  144,  144,  146,      146,  146,  146,  146,  150,  150,  150,  150,  150,  160,      284,  160,  160,  160,  161,  161,  161,  161,  161,  170,      284,  170,  170,  170,   91,   91,   91,  282,  282,  282,      284,  282,   17,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284    } ;static yyconst flex_int16_t yy_chk[1073] =    {   0,        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,        1,    1,    1,    1,    1,    1,    1,    1,    1,    3,        3,   24,    4,    4,   29,  282,   29,    9,   10,   37,        3,    3,    3,    4,    4,    4,    9,   10,   39,   11,       11,  274,   41,   37,   39,   41,   24,  270,   39,  270,       11,   11,   11,   12,   12,    3,  273,    3,    4,   48,        4,    5,    5,   48,   12,   12,   12,    5,   80,   15,       15,  269,    5,    5,    5,   11,   72,   11,   43,   43,       15,   15,   15,   16,   16,   72,   43,   72,  268,   12,      266,   12,  115,   80,   16,   16,   16,    5,  265,    5,        6,    6,   97,   97,  115,   15,    6,   15,  263,  261,      201,    6,    6,    6,  201,  146,  148,   54,   54,   16,      259,   16,   57,   57,  146,  148,  146,  148,   54,   54,       54,  258,  257,   57,   57,   57,    6,  255,    6,    7,        7,  278,    7,  278,  253,  278,  252,  251,  249,  247,        7,    7,    7,   54,  246,   54,   73,   73,   57,  245,       57,   76,   76,  244,  243,  242,  240,   73,   73,   73,      239,  238,   76,   76,   76,    7,  237,    7,    8,    8,      236,    8,  233,  232,  231,  230,  229,  228,  227,    8,        8,    8,   73,  226,   73,  225,  222,   76,  221,   76,      220,  219,  218,  217,  216,  215,  214,  213,  211,  210,       83,   83,  209,  206,    8,  205,    8,   13,   13,   13,       13,   83,   83,   83,   13,   13,   13,   13,  204,   13,      202,   13,   13,   13,  200,   13,  198,  197,   13,  196,      195,   86,   86,  194,  193,  192,   83,  191,   83,  190,      189,  188,   86,   86,   86,  187,  186,  185,  184,  118,      118,  183,   13,   13,   13,   13,   14,   14,   14,   14,      118,  118,  118,   14,   14,   14,   14,   86,   14,   86,       14,   14,   14,  182,   14,  181,  179,   14,  178,  177,      176,  175,  174,  121,  121,  118,  173,  118,  172,  171,      169,  144,  117,  116,  121,  121,  121,  123,  123,  114,      113,   14,   14,   14,   14,   59,   59,  112,  123,  123,      123,   59,  111,  124,  124,  110,   59,   59,   59,  121,      109,  121,  108,  107,  124,  124,  124,  125,  125,  106,      105,  104,  103,  123,  102,  123,  101,  100,  125,  125,      125,   59,   99,   59,   63,   63,   98,   96,   95,  124,       63,  124,   90,   89,   88,   63,   63,   63,   70,   50,       49,  150,  150,  125,   47,  125,  153,  153,   46,   45,       44,   42,  150,  150,  150,   40,   38,  153,  153,  153,       63,   36,   63,   64,   64,   35,   64,   32,   23,   21,       19,   17,    0,    0,   64,   64,   64,  150,    0,  150,      155,  155,  153,    0,  153,  156,  156,    0,    0,    0,        0,  155,  155,  155,    0,    0,  156,  156,  156,   64,        0,   64,   68,   68,    0,   68,    0,    0,    0,    0,        0,    0,    0,   68,   68,   68,  155,    0,  155,  157,      157,  156,    0,  156,  161,  161,    0,    0,    0,    0,      157,  157,  157,  164,  164,  161,  161,  161,   68,    0,       68,  126,  126,    0,  164,  164,  164,  126,    0,    0,        0,    0,  126,  126,  126,  157,    0,  157,    0,    0,      161,    0,  161,  166,  166,    0,    0,    0,    0,  164,        0,  164,  167,  167,  166,  166,  166,  126,    0,  126,      130,  130,    0,  167,  167,  167,  130,    0,    0,    0,        0,  130,  130,  130,    0,    0,    0,    0,    0,  166,        0,  166,  168,  168,    0,    0,    0,    0,  167,    0,      167,    0,    0,  168,  168,  168,  130,    0,  130,  131,      131,    0,    0,    0,    0,  131,    0,    0,    0,    0,      131,  131,  131,    0,    0,    0,    0,    0,  168,    0,      168,    0,    0,    0,    0,    0,    0,    0,    0,    0,        0,    0,    0,    0,    0,  131,    0,  131,  132,  132,        0,    0,    0,    0,  132,    0,    0,    0,    0,  132,      132,  132,    0,    0,    0,    0,    0,    0,    0,    0,        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,        0,    0,    0,    0,  132,    0,  132,  133,  133,    0,        0,    0,    0,  133,    0,    0,    0,    0,  133,  133,      133,    0,    0,    0,    0,    0,    0,    0,    0,    0,        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,        0,    0,    0,  133,    0,  133,  134,  134,    0,  134,        0,    0,    0,    0,    0,    0,    0,  134,  134,  134,        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,        0,    0,  134,    0,  134,  138,  138,    0,  138,    0,        0,    0,    0,    0,    0,    0,  138,  138,  138,    0,        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,        0,  138,    0,  138,  140,  140,    0,  140,    0,    0,        0,    0,    0,    0,    0,  140,  140,  140,    0,    0,        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,      140,    0,  140,  141,  141,    0,  141,    0,    0,    0,        0,    0,    0,    0,  141,  141,  141,    0,    0,    0,        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,        0,    0,    0,    0,    0,    0,    0,    0,    0,  141,        0,  141,  142,  142,    0,  142,    0,    0,    0,    0,        0,    0,    0,  142,  142,  142,    0,    0,    0,    0,        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,        0,    0,    0,    0,    0,    0,    0,    0,  142,    0,      142,  143,  143,    0,  143,    0,    0,    0,    0,    0,        0,    0,  143,  143,  143,    0,    0,    0,    0,    0,        0,    0,    0,    0,    0,    0,    0,    0,    0,    0,        0,    0,    0,    0,    0,    0,    0,  143,    0,  143,      285,  285,  285,  285,  285,  286,  286,  286,  286,  286,      287,  287,  287,  287,  287,  288,  288,  288,  288,  288,      289,  289,  289,  289,  289,  290,  290,  290,  290,  290,      291,  291,  291,  291,  291,  292,    0,  292,  292,  292,      293,  293,  293,  293,  293,  294,  294,  294,  294,  294,      295,  295,  295,  295,  295,  296,  296,  296,  296,  297,      297,  297,  297,  297,  298,  298,  298,  298,  298,  299,        0,  299,  299,  299,  300,  300,  300,  300,  300,  301,        0,  301,  301,  301,  302,  302,  302,  303,  303,  303,        0,  303,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284,  284,  284,  284,  284,  284,  284,  284,  284,      284,  284    } ;/* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. */#define REJECT reject_used_but_not_detected#define yymore() (yyg->yy_more_flag = 1)#define YY_MORE_ADJ yyg->yy_more_len#define YY_RESTORE_YY_MORE_OFFSET#line 1 "ael.flex"/* * Asterisk -- An open source telephony toolkit. * * Copyright (C) 2006, Digium, Inc. * * Steve Murphy <murf@parsetree.com> * * See http://www.asterisk.org for more information about * the Asterisk project. Please do not directly contact * any of the maintainers of this project for assistance; * the project provides a web site, mailing lists and IRC * channels for your use. * * This program is free software, distributed under the terms of * the GNU General Public License Version 2. See the LICENSE file * at the top of the source tree. *//*! \file * * \brief Flex scanner description of tokens used in AEL2 . * *//* * Start with flex options: * * %x describes the contexts we have: paren, semic and argg, plus INITIAL *//* prefix used for various globally-visible functions and variables. * This renames also ael_yywrap, but since we do not use it, we just * add option noyywrap to remove it. *//* I specify this option to suppress flex generating code with ECHO  in it. This generates compiler warnings in some systems; We've  seen the fwrite generate Unused variable warnings with 4.1.2 gcc.  Some systems have tweaked flex ECHO macro to keep the compiler  happy.  To keep the warning message from getting output, I added  a default rule at the end of the patterns section *//* ael_yyfree normally just frees its arg. It can be null sometimes,   which some systems will complain about, so, we'll define our own version *//* batch gives a bit more performance if we are using it in * a non-interactive mode. We probably don't care much. *//* outfile is the filename to be used instead of lex.yy.c *//* * These are not supported in flex 2.5.4, but we need them * at the moment: * reentrant produces a thread-safe parser. Not 100% sure that * we require it, though. * bison-bridge passes an additional yylval argument to ael_yylex(). * bison-locations is probably not needed. */#line 71 "ael.flex"#include "asterisk.h"ASTERISK_FILE_VERSION(__FILE__, "$Revision: 162272 $")#include <sys/types.h>#include <sys/stat.h>#include <unistd.h>#include <glob.h>#if !defined(GLOB_ABORTED)#define GLOB_ABORTED GLOB_ABEND#endif#include "asterisk/logger.h"#include "asterisk/utils.h"#include "asterisk/lock.h"#include "asterisk/hashtab.h"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -