[asterisk-commits] murf: branch murf/bug_7638 r79504 - in /team/murf/bug_7638: ./ include/asteri...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Aug 14 19:50:40 CDT 2007


Author: murf
Date: Tue Aug 14 19:50:40 2007
New Revision: 79504

URL: http://svn.digium.com/view/asterisk?view=rev&rev=79504
Log:
Continuation of previous commit 79503; updates stretching back to 59692 were applied to this branch, as far as AEL is concerned.

Added:
    team/murf/bug_7638/res/ael/ael.tab.c   (with props)
    team/murf/bug_7638/res/ael/ael.tab.h   (with props)
    team/murf/bug_7638/res/ael/ael_lex.c   (with props)
Removed:
    team/murf/bug_7638/pbx/ael/ael.tab.c
    team/murf/bug_7638/pbx/ael/ael.tab.h
    team/murf/bug_7638/pbx/ael/ael_lex.c
Modified:
    team/murf/bug_7638/   (props changed)
    team/murf/bug_7638/include/asterisk/extconf.h
    team/murf/bug_7638/res/ael/pval.c
    team/murf/bug_7638/res/res_features.c
    team/murf/bug_7638/utils/ael_main.c
    team/murf/bug_7638/utils/conf2ael.c
    team/murf/bug_7638/utils/extconf.c

Propchange: team/murf/bug_7638/
------------------------------------------------------------------------------
    automerge = yes-sir

Propchange: team/murf/bug_7638/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Propchange: team/murf/bug_7638/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Tue Aug 14 19:50:40 2007
@@ -1,1 +1,1 @@
-/trunk:1-79383
+/trunk:1-79425

Modified: team/murf/bug_7638/include/asterisk/extconf.h
URL: http://svn.digium.com/view/asterisk/team/murf/bug_7638/include/asterisk/extconf.h?view=diff&rev=79504&r1=79503&r2=79504
==============================================================================
--- team/murf/bug_7638/include/asterisk/extconf.h (original)
+++ team/murf/bug_7638/include/asterisk/extconf.h Tue Aug 14 19:50:40 2007
@@ -182,6 +182,9 @@
 							 const char *registrar);
 void localized_merge_contexts_and_delete(struct ast_context **extcontexts, const char *registrar);
 int localized_context_verify_includes(struct ast_context *con);
+void localized_use_conf_dir(void);
+void localized_use_local_dir(void);
+
 
 #ifndef _ASTERISK_PBX_H
 /*!

Added: team/murf/bug_7638/res/ael/ael.tab.c
URL: http://svn.digium.com/view/asterisk/team/murf/bug_7638/res/ael/ael.tab.c?view=auto&rev=79504
==============================================================================
--- team/murf/bug_7638/res/ael/ael.tab.c (added)
+++ team/murf/bug_7638/res/ael/ael.tab.c Tue Aug 14 19:50:40 2007
@@ -1,0 +1,3382 @@
+/* A Bison parser, made by GNU Bison 2.3.  */
+
+/* Skeleton implementation for Bison's Yacc-like parsers in C
+
+   Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+   Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2, or (at your option)
+   any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin Street, Fifth Floor,
+   Boston, MA 02110-1301, USA.  */
+
+/* As a special exception, you may create a larger work that contains
+   part or all of the Bison parser skeleton and distribute that work
+   under terms of your choice, so long as that work isn't itself a
+   parser generator using the skeleton or a modified version thereof
+   as a parser skeleton.  Alternatively, if you modify or redistribute
+   the parser skeleton itself, you may (at your option) remove this
+   special exception, which will cause the skeleton and the resulting
+   Bison output files to be licensed under the GNU General Public
+   License without this special exception.
+
+   This special exception was added by the Free Software Foundation in
+   version 2.2 of Bison.  */
+
+/* C LALR(1) parser skeleton written by Richard Stallman, by
+   simplifying the original so-called "semantic" parser.  */
+
+/* All symbols defined below should begin with yy or YY, to avoid
+   infringing on user name space.  This should be done even for local
+   variables, as they might otherwise be expanded by user macros.
+   There are some unavoidable exceptions within include files to
+   define necessary library symbols; they are noted "INFRINGES ON
+   USER NAME SPACE" below.  */
+
+/* Identify Bison output.  */
+#define YYBISON 1
+
+/* Bison version.  */
+#define YYBISON_VERSION "2.3"
+
+/* Skeleton name.  */
+#define YYSKELETON_NAME "yacc.c"
+
+/* Pure parsers.  */
+#define YYPURE 1
+
+/* Using locations.  */
+#define YYLSP_NEEDED 1
+
+/* Substitute the variable and function names.  */
+#define yyparse ael_yyparse
+#define yylex   ael_yylex
+#define yyerror ael_yyerror
+#define yylval  ael_yylval
+#define yychar  ael_yychar
+#define yydebug ael_yydebug
+#define yynerrs ael_yynerrs
+#define yylloc ael_yylloc
+
+/* Tokens.  */
+#ifndef YYTOKENTYPE
+# define YYTOKENTYPE
+   /* Put the tokens into the symbol table, so that GDB and other debuggers
+      know about them.  */
+   enum yytokentype {
+     KW_CONTEXT = 258,
+     LC = 259,
+     RC = 260,
+     LP = 261,
+     RP = 262,
+     SEMI = 263,
+     EQ = 264,
+     COMMA = 265,
+     COLON = 266,
+     AMPER = 267,
+     BAR = 268,
+     AT = 269,
+     KW_MACRO = 270,
+     KW_GLOBALS = 271,
+     KW_IGNOREPAT = 272,
+     KW_SWITCH = 273,
+     KW_IF = 274,
+     KW_IFTIME = 275,
+     KW_ELSE = 276,
+     KW_RANDOM = 277,
+     KW_ABSTRACT = 278,
+     EXTENMARK = 279,
+     KW_GOTO = 280,
+     KW_JUMP = 281,
+     KW_RETURN = 282,
+     KW_BREAK = 283,
+     KW_CONTINUE = 284,
+     KW_REGEXTEN = 285,
+     KW_HINT = 286,
+     KW_FOR = 287,
+     KW_WHILE = 288,
+     KW_CASE = 289,
+     KW_PATTERN = 290,
+     KW_DEFAULT = 291,
+     KW_CATCH = 292,
+     KW_SWITCHES = 293,
+     KW_ESWITCHES = 294,
+     KW_INCLUDES = 295,
+     KW_LOCAL = 296,
+     word = 297
+   };
+#endif
+/* Tokens.  */
+#define KW_CONTEXT 258
+#define LC 259
+#define RC 260
+#define LP 261
+#define RP 262
+#define SEMI 263
+#define EQ 264
+#define COMMA 265
+#define COLON 266
+#define AMPER 267
+#define BAR 268
+#define AT 269
+#define KW_MACRO 270
+#define KW_GLOBALS 271
+#define KW_IGNOREPAT 272
+#define KW_SWITCH 273
+#define KW_IF 274
+#define KW_IFTIME 275
+#define KW_ELSE 276
+#define KW_RANDOM 277
+#define KW_ABSTRACT 278
+#define EXTENMARK 279
+#define KW_GOTO 280
+#define KW_JUMP 281
+#define KW_RETURN 282
+#define KW_BREAK 283
+#define KW_CONTINUE 284
+#define KW_REGEXTEN 285
+#define KW_HINT 286
+#define KW_FOR 287
+#define KW_WHILE 288
+#define KW_CASE 289
+#define KW_PATTERN 290
+#define KW_DEFAULT 291
+#define KW_CATCH 292
+#define KW_SWITCHES 293
+#define KW_ESWITCHES 294
+#define KW_INCLUDES 295
+#define KW_LOCAL 296
+#define word 297
+
+
+
+
+/* Copy the first part of user declarations.  */
+#line 1 "ael.y"
+
+/*
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * Copyright (C) 2006, Digium, Inc.
+ *
+ * Steve Murphy <murf at 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 Bison Grammar description of AEL2.
+ *
+ */
+
+#include "asterisk.h"
+
+ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "asterisk/logger.h"
+#include "asterisk/ael_structs.h"
+
+pval * linku1(pval *head, pval *tail);
+static void set_dads(pval *dad, pval *child_list);
+void reset_parencount(yyscan_t yyscanner);
+void reset_semicount(yyscan_t yyscanner);
+void reset_argcount(yyscan_t yyscanner );
+ 
+#define YYLEX_PARAM ((struct parse_io *)parseio)->scanner
+#define YYERROR_VERBOSE 1
+
+extern char *my_file;
+#ifdef AAL_ARGCHECK
+int ael_is_funcname(char *name);
+#endif
+static char *ael_token_subst(char *mess);
+
+
+
+/* Enabling traces.  */
+#ifndef YYDEBUG
+# define YYDEBUG 0
+#endif
+
+/* Enabling verbose error messages.  */
+#ifdef YYERROR_VERBOSE
+# undef YYERROR_VERBOSE
+# define YYERROR_VERBOSE 1
+#else
+# define YYERROR_VERBOSE 1
+#endif
+
+/* Enabling the token table.  */
+#ifndef YYTOKEN_TABLE
+# define YYTOKEN_TABLE 0
+#endif
+
+#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
+typedef union YYSTYPE
+#line 54 "ael.y"
+{
+	int	intval;		/* integer value, typically flags */
+	char	*str;		/* strings */
+	struct pval *pval;	/* full objects */
+}
+/* Line 187 of yacc.c.  */
+#line 246 "ael.tab.c"
+	YYSTYPE;
+# define yystype YYSTYPE /* obsolescent; will be withdrawn */
+# define YYSTYPE_IS_DECLARED 1
+# define YYSTYPE_IS_TRIVIAL 1
+#endif
+
+#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
+typedef struct YYLTYPE
+{
+  int first_line;
+  int first_column;
+  int last_line;
+  int last_column;
+} YYLTYPE;
+# define yyltype YYLTYPE /* obsolescent; will be withdrawn */
+# define YYLTYPE_IS_DECLARED 1
+# define YYLTYPE_IS_TRIVIAL 1
+#endif
+
+
+/* Copy the second part of user declarations.  */
+#line 60 "ael.y"
+
+	/* declaring these AFTER the union makes things a lot simpler! */
+void yyerror(YYLTYPE *locp, struct parse_io *parseio, char const *s);
+int ael_yylex (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , void * yyscanner);
+
+/* create a new object with start-end marker */
+pval *npval(pvaltype type, int first_line, int last_line,
+	int first_column, int last_column);
+
+/* create a new object with start-end marker, simplified interface.
+ * Must be declared here because YYLTYPE is not known before
+ */
+static pval *npval2(pvaltype type, YYLTYPE *first, YYLTYPE *last);
+
+/* another frontend for npval, this time for a string */
+static pval *nword(char *string, YYLTYPE *pos);
+
+/* update end position of an object, return the object */
+static pval *update_last(pval *, YYLTYPE *);
+
+
+/* Line 216 of yacc.c.  */
+#line 291 "ael.tab.c"
+
+#ifdef short
+# undef short
+#endif
+
+#ifdef YYTYPE_UINT8
+typedef YYTYPE_UINT8 yytype_uint8;
+#else
+typedef unsigned char yytype_uint8;
+#endif
+
+#ifdef YYTYPE_INT8
+typedef YYTYPE_INT8 yytype_int8;
+#elif (defined __STDC__ || defined __C99__FUNC__ \
+     || defined __cplusplus || defined _MSC_VER)
+typedef signed char yytype_int8;
+#else
+typedef short int yytype_int8;
+#endif
+
+#ifdef YYTYPE_UINT16
+typedef YYTYPE_UINT16 yytype_uint16;
+#else
+typedef unsigned short int yytype_uint16;
+#endif
+
+#ifdef YYTYPE_INT16
+typedef YYTYPE_INT16 yytype_int16;
+#else
+typedef short int yytype_int16;
+#endif
+
+#ifndef YYSIZE_T
+# ifdef __SIZE_TYPE__
+#  define YYSIZE_T __SIZE_TYPE__
+# elif defined size_t
+#  define YYSIZE_T size_t
+# elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
+     || defined __cplusplus || defined _MSC_VER)
+#  include <stddef.h> /* INFRINGES ON USER NAME SPACE */
+#  define YYSIZE_T size_t
+# else
+#  define YYSIZE_T unsigned int
+# endif
+#endif
+
+#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
+
+#ifndef YY_
+# if YYENABLE_NLS
+#  if ENABLE_NLS
+#   include <libintl.h> /* INFRINGES ON USER NAME SPACE */
+#   define YY_(msgid) dgettext ("bison-runtime", msgid)
+#  endif
+# endif
+# ifndef YY_
+#  define YY_(msgid) msgid
+# endif
+#endif
+
+/* Suppress unused-variable warnings by "using" E.  */
+#if ! defined lint || defined __GNUC__
+# define YYUSE(e) ((void) (e))
+#else
+# define YYUSE(e) /* empty */
+#endif
+
+/* Identity function, used to suppress warnings about constant conditions.  */
+#ifndef lint
+# define YYID(n) (n)
+#else
+#if (defined __STDC__ || defined __C99__FUNC__ \
+     || defined __cplusplus || defined _MSC_VER)
+static int
+YYID (int i)
+#else
+static int
+YYID (i)
+    int i;
+#endif
+{
+  return i;
+}
+#endif
+
+#if ! defined yyoverflow || YYERROR_VERBOSE
+
+/* The parser invokes alloca or malloc; define the necessary symbols.  */
+
+# ifdef YYSTACK_USE_ALLOCA
+#  if YYSTACK_USE_ALLOCA
+#   ifdef __GNUC__
+#    define YYSTACK_ALLOC __builtin_alloca
+#   elif defined __BUILTIN_VA_ARG_INCR
+#    include <alloca.h> /* INFRINGES ON USER NAME SPACE */
+#   elif defined _AIX
+#    define YYSTACK_ALLOC __alloca
+#   elif defined _MSC_VER
+#    include <malloc.h> /* INFRINGES ON USER NAME SPACE */
+#    define alloca _alloca
+#   else
+#    define YYSTACK_ALLOC alloca
+#    if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
+     || defined __cplusplus || defined _MSC_VER)
+#     include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
+#     ifndef _STDLIB_H
+#      define _STDLIB_H 1
+#     endif
+#    endif
+#   endif
+#  endif
+# endif
+
+# ifdef YYSTACK_ALLOC
+   /* Pacify GCC's `empty if-body' warning.  */
+#  define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
+#  ifndef YYSTACK_ALLOC_MAXIMUM
+    /* The OS might guarantee only one guard page at the bottom of the stack,
+       and a page size can be as small as 4096 bytes.  So we cannot safely
+       invoke alloca (N) if N exceeds 4096.  Use a slightly smaller number
+       to allow for a few compiler-allocated temporary stack slots.  */
+#   define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
+#  endif
+# else
+#  define YYSTACK_ALLOC YYMALLOC
+#  define YYSTACK_FREE YYFREE
+#  ifndef YYSTACK_ALLOC_MAXIMUM
+#   define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
+#  endif
+#  if (defined __cplusplus && ! defined _STDLIB_H \
+       && ! ((defined YYMALLOC || defined malloc) \
+	     && (defined YYFREE || defined free)))
+#   include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
+#   ifndef _STDLIB_H
+#    define _STDLIB_H 1
+#   endif
+#  endif
+#  ifndef YYMALLOC
+#   define YYMALLOC malloc
+#   if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
+     || defined __cplusplus || defined _MSC_VER)
+void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
+#   endif
+#  endif
+#  ifndef YYFREE
+#   define YYFREE free
+#   if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
+     || defined __cplusplus || defined _MSC_VER)
+void free (void *); /* INFRINGES ON USER NAME SPACE */
+#   endif
+#  endif
+# endif
+#endif /* ! defined yyoverflow || YYERROR_VERBOSE */
+
+
+#if (! defined yyoverflow \
+     && (! defined __cplusplus \
+	 || (defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL \
+	     && defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
+
+/* A type that is properly aligned for any stack member.  */
+union yyalloc
+{
+  yytype_int16 yyss;
+  YYSTYPE yyvs;
+    YYLTYPE yyls;
+};
+
+/* The size of the maximum gap between one aligned stack and the next.  */
+# define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
+
+/* The size of an array large to enough to hold all stacks, each with
+   N elements.  */
+# define YYSTACK_BYTES(N) \
+     ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE) + sizeof (YYLTYPE)) \
+      + 2 * YYSTACK_GAP_MAXIMUM)
+
+/* Copy COUNT objects from FROM to TO.  The source and destination do
+   not overlap.  */
+# ifndef YYCOPY
+#  if defined __GNUC__ && 1 < __GNUC__
+#   define YYCOPY(To, From, Count) \
+      __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
+#  else
+#   define YYCOPY(To, From, Count)		\
+      do					\
+	{					\
+	  YYSIZE_T yyi;				\
+	  for (yyi = 0; yyi < (Count); yyi++)	\
+	    (To)[yyi] = (From)[yyi];		\
+	}					\
+      while (YYID (0))
+#  endif
+# endif
+
+/* Relocate STACK from its old location to the new one.  The
+   local variables YYSIZE and YYSTACKSIZE give the old and new number of
+   elements in the stack, and YYPTR gives the new location of the
+   stack.  Advance YYPTR to a properly aligned location for the next
+   stack.  */
+# define YYSTACK_RELOCATE(Stack)					\
+    do									\
+      {									\
+	YYSIZE_T yynewbytes;						\
+	YYCOPY (&yyptr->Stack, Stack, yysize);				\
+	Stack = &yyptr->Stack;						\
+	yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
+	yyptr += yynewbytes / sizeof (*yyptr);				\
+      }									\
+    while (YYID (0))
+
+#endif
+
+/* YYFINAL -- State number of the termination state.  */
+#define YYFINAL  14
+/* YYLAST -- Last index in YYTABLE.  */
+#define YYLAST   300
+
+/* YYNTOKENS -- Number of terminals.  */
+#define YYNTOKENS  43
+/* YYNNTS -- Number of nonterminals.  */
+#define YYNNTS  56
+/* YYNRULES -- Number of rules.  */
+#define YYNRULES  137
+/* YYNRULES -- Number of states.  */
+#define YYNSTATES  275
+
+/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX.  */
+#define YYUNDEFTOK  2
+#define YYMAXUTOK   297
+
+#define YYTRANSLATE(YYX)						\
+  ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
+
+/* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX.  */
+static const yytype_uint8 yytranslate[] =
+{
+       0,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
+       2,     2,     2,     2,     2,     2,     1,     2,     3,     4,
+       5,     6,     7,     8,     9,    10,    11,    12,    13,    14,
+      15,    16,    17,    18,    19,    20,    21,    22,    23,    24,
+      25,    26,    27,    28,    29,    30,    31,    32,    33,    34,
+      35,    36,    37,    38,    39,    40,    41,    42
+};
+
+#if YYDEBUG
+/* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
+   YYRHS.  */
+static const yytype_uint16 yyprhs[] =
+{
+       0,     0,     3,     5,     7,    10,    13,    15,    17,    19,
+      21,    23,    25,    32,    34,    35,    44,    49,    50,    53,
+      56,    57,    63,    64,    71,    72,    74,    78,    81,    82,
+      85,    88,    90,    92,    94,    96,    98,   100,   102,   105,
+     107,   112,   116,   121,   129,   138,   139,   142,   145,   151,
+     153,   161,   162,   167,   170,   173,   178,   180,   183,   185,
+     188,   192,   194,   197,   201,   203,   206,   210,   216,   220,
+     222,   224,   228,   232,   235,   236,   237,   238,   251,   255,
+     257,   261,   264,   267,   268,   274,   277,   280,   283,   287,
+     289,   292,   293,   295,   299,   303,   309,   315,   321,   327,
+     328,   331,   334,   339,   340,   346,   350,   351,   355,   359,
+     362,   364,   365,   367,   368,   372,   373,   376,   381,   385,
+     390,   391,   394,   396,   398,   404,   409,   414,   415,   419,
+     425,   428,   430,   434,   437,   441,   444,   449
+};
+
+/* YYRHS -- A `-1'-separated list of the rules' RHS.  */
+static const yytype_int8 yyrhs[] =
+{
+      44,     0,    -1,    45,    -1,    46,    -1,    45,    46,    -1,
+      45,     1,    -1,    48,    -1,    50,    -1,    51,    -1,     8,
+      -1,    42,    -1,    36,    -1,    49,     3,    47,     4,    58,
+       5,    -1,    23,    -1,    -1,    15,    42,     6,    57,     7,
+       4,    91,     5,    -1,    16,     4,    52,     5,    -1,    -1,
+      53,    52,    -1,    52,     1,    -1,    -1,    42,     9,    54,
+      42,     8,    -1,    -1,    41,    42,     9,    56,    42,     8,
+      -1,    -1,    42,    -1,    57,    10,    42,    -1,    57,     1,
+      -1,    -1,    59,    58,    -1,    58,     1,    -1,    61,    -1,
+      98,    -1,    93,    -1,    94,    -1,    60,    -1,    53,    -1,
+      55,    -1,    42,     1,    -1,     8,    -1,    17,    24,    42,
+       8,    -1,    42,    24,    73,    -1,    30,    42,    24,    73,
+      -1,    31,     6,    69,     7,    42,    24,    73,    -1,    30,
+      31,     6,    69,     7,    42,    24,    73,    -1,    -1,    73,
+      62,    -1,    62,     1,    -1,    70,    11,    70,    11,    70,
+      -1,    42,    -1,    63,    13,    70,    13,    70,    13,    70,
+      -1,    -1,     6,    66,    68,     7,    -1,    19,    65,    -1,
+      22,    65,    -1,    20,     6,    64,     7,    -1,    42,    -1,
+      42,    42,    -1,    42,    -1,    69,    42,    -1,    69,    12,
+      42,    -1,    42,    -1,    42,    42,    -1,    42,    42,    42,
+      -1,    42,    -1,    42,    42,    -1,    71,    11,    42,    -1,
+      18,    65,     4,    89,     5,    -1,     4,    62,     5,    -1,
+      53,    -1,    55,    -1,    25,    79,     8,    -1,    26,    81,
+       8,    -1,    42,    11,    -1,    -1,    -1,    -1,    32,     6,
+      74,    42,     8,    75,    42,     8,    76,    42,     7,    73,
+      -1,    33,    65,    73,    -1,    72,    -1,    12,    82,     8,
+      -1,    86,     8,    -1,    42,     8,    -1,    -1,    86,     9,
+      77,    42,     8,    -1,    28,     8,    -1,    27,     8,    -1,
+      29,     8,    -1,    67,    73,    78,    -1,     8,    -1,    21,
+      73,    -1,    -1,    71,    -1,    71,    13,    71,    -1,    71,
+      10,    71,    -1,    71,    13,    71,    13,    71,    -1,    71,
+      10,    71,    10,    71,    -1,    36,    13,    71,    13,    71,
+      -1,    36,    10,    71,    10,    71,    -1,    -1,    10,    42,
+      -1,    71,    80,    -1,    71,    80,    14,    47,    -1,    -1,
+      42,     6,    83,    88,     7,    -1,    42,     6,     7,    -1,
+      -1,    42,     6,    85,    -1,    84,    88,     7,    -1,    84,
+       7,    -1,    42,    -1,    -1,    68,    -1,    -1,    88,    10,
+      87,    -1,    -1,    90,    89,    -1,    34,    42,    11,    62,
+      -1,    36,    11,    62,    -1,    35,    42,    11,    62,    -1,
+      -1,    92,    91,    -1,    73,    -1,    98,    -1,    37,    42,
+       4,    62,     5,    -1,    38,     4,    95,     5,    -1,    39,
+       4,    95,     5,    -1,    -1,    42,     8,    95,    -1,    42,
+      14,    42,     8,    95,    -1,    95,     1,    -1,    47,    -1,
+      47,    13,    64,    -1,    96,     8,    -1,    97,    96,     8,
+      -1,    97,     1,    -1,    40,     4,    97,     5,    -1,    40,
+       4,     5,    -1
+};
+
+/* YYRLINE[YYN] -- source line where rule number YYN was defined.  */
+static const yytype_uint16 yyrline[] =
+{
+       0,   186,   186,   189,   190,   191,   194,   195,   196,   197,
+     200,   201,   204,   219,   220,   223,   229,   235,   236,   237,
+     240,   240,   246,   246,   253,   254,   255,   256,   259,   260,
+     261,   264,   265,   266,   267,   268,   269,   270,   271,   272,
+     275,   280,   284,   289,   294,   304,   305,   306,   312,   317,
+     321,   329,   329,   333,   336,   339,   350,   351,   358,   359,
+     363,   369,   370,   375,   383,   384,   388,   394,   403,   406,
+     407,   408,   411,   414,   417,   418,   419,   417,   425,   429,
+     430,   431,   432,   435,   435,   468,   469,   470,   471,   475,
+     478,   479,   482,   483,   486,   489,   493,   497,   501,   507,
+     508,   512,   515,   521,   521,   526,   534,   534,   545,   552,
+     555,   556,   559,   560,   563,   566,   567,   570,   574,   578,
+     584,   585,   588,   589,   590,   596,   601,   606,   607,   608,
+     610,   613,   614,   621,   622,   623,   626,   629
+};
+#endif
+
+#if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
+/* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
+   First, the terminals, then, starting at YYNTOKENS, nonterminals.  */
+static const char *const yytname[] =
+{
+  "$end", "error", "$undefined", "KW_CONTEXT", "LC", "RC", "LP", "RP",
+  "SEMI", "EQ", "COMMA", "COLON", "AMPER", "BAR", "AT", "KW_MACRO",
+  "KW_GLOBALS", "KW_IGNOREPAT", "KW_SWITCH", "KW_IF", "KW_IFTIME",
+  "KW_ELSE", "KW_RANDOM", "KW_ABSTRACT", "EXTENMARK", "KW_GOTO", "KW_JUMP",
+  "KW_RETURN", "KW_BREAK", "KW_CONTINUE", "KW_REGEXTEN", "KW_HINT",
+  "KW_FOR", "KW_WHILE", "KW_CASE", "KW_PATTERN", "KW_DEFAULT", "KW_CATCH",
+  "KW_SWITCHES", "KW_ESWITCHES", "KW_INCLUDES", "KW_LOCAL", "word",
+  "$accept", "file", "objects", "object", "context_name", "context",
+  "opt_abstract", "macro", "globals", "global_statements", "assignment",
+  "@1", "local_assignment", "@2", "arglist", "elements", "element",
+  "ignorepat", "extension", "statements", "timerange", "timespec",
+  "test_expr", "@3", "if_like_head", "word_list", "hint_word",
+  "word3_list", "goto_word", "switch_statement", "statement", "@4", "@5",
+  "@6", "@7", "opt_else", "target", "opt_pri", "jumptarget", "macro_call",
+  "@8", "application_call_head", "@9", "application_call", "opt_word",
+  "eval_arglist", "case_statements", "case_statement", "macro_statements",
+  "macro_statement", "switches", "eswitches", "switchlist",
+  "included_entry", "includeslist", "includes", 0
+};
+#endif
+
+# ifdef YYPRINT
+/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
+   token YYLEX-NUM.  */
+static const yytype_uint16 yytoknum[] =
+{
+       0,   256,   257,   258,   259,   260,   261,   262,   263,   264,
+     265,   266,   267,   268,   269,   270,   271,   272,   273,   274,
+     275,   276,   277,   278,   279,   280,   281,   282,   283,   284,
+     285,   286,   287,   288,   289,   290,   291,   292,   293,   294,
+     295,   296,   297
+};
+# endif
+
+/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives.  */
+static const yytype_uint8 yyr1[] =
+{
+       0,    43,    44,    45,    45,    45,    46,    46,    46,    46,
+      47,    47,    48,    49,    49,    50,    51,    52,    52,    52,
+      54,    53,    56,    55,    57,    57,    57,    57,    58,    58,
+      58,    59,    59,    59,    59,    59,    59,    59,    59,    59,
+      60,    61,    61,    61,    61,    62,    62,    62,    63,    63,
+      64,    66,    65,    67,    67,    67,    68,    68,    69,    69,
+      69,    70,    70,    70,    71,    71,    71,    72,    73,    73,
+      73,    73,    73,    73,    74,    75,    76,    73,    73,    73,
+      73,    73,    73,    77,    73,    73,    73,    73,    73,    73,
+      78,    78,    79,    79,    79,    79,    79,    79,    79,    80,
+      80,    81,    81,    83,    82,    82,    85,    84,    86,    86,
+      87,    87,    88,    88,    88,    89,    89,    90,    90,    90,
+      91,    91,    92,    92,    92,    93,    94,    95,    95,    95,
+      95,    96,    96,    97,    97,    97,    98,    98
+};
+
+/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN.  */
+static const yytype_uint8 yyr2[] =
+{
+       0,     2,     1,     1,     2,     2,     1,     1,     1,     1,
+       1,     1,     6,     1,     0,     8,     4,     0,     2,     2,
+       0,     5,     0,     6,     0,     1,     3,     2,     0,     2,
+       2,     1,     1,     1,     1,     1,     1,     1,     2,     1,
+       4,     3,     4,     7,     8,     0,     2,     2,     5,     1,
+       7,     0,     4,     2,     2,     4,     1,     2,     1,     2,
+       3,     1,     2,     3,     1,     2,     3,     5,     3,     1,
+       1,     3,     3,     2,     0,     0,     0,    12,     3,     1,
+       3,     2,     2,     0,     5,     2,     2,     2,     3,     1,
+       2,     0,     1,     3,     3,     5,     5,     5,     5,     0,
+       2,     2,     4,     0,     5,     3,     0,     3,     3,     2,
+       1,     0,     1,     0,     3,     0,     2,     4,     3,     4,
+       0,     2,     1,     1,     5,     4,     4,     0,     3,     5,
+       2,     1,     3,     2,     3,     2,     4,     3
+};
+
+/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
+   STATE-NUM when YYTABLE doesn't specify something else to do.  Zero
+   means the default is an error.  */
+static const yytype_uint8 yydefact[] =
+{
+      14,     9,     0,     0,    13,     0,     0,     3,     6,     0,
+       7,     8,     0,    17,     1,     5,     4,     0,    24,     0,
+       0,    17,    11,    10,     0,    25,     0,    20,    19,    16,
+       0,    28,    27,     0,     0,     0,    39,     0,     0,     0,
+       0,     0,     0,     0,     0,    36,    37,     0,    28,    35,
+      31,    33,    34,    32,   120,    26,     0,     0,     0,     0,
+       0,   127,   127,     0,     0,    38,     0,    30,    12,     0,
+      45,    89,     0,     0,     0,     0,     0,     0,     0,     0,
+       0,     0,     0,     0,     0,     0,    69,    70,     0,    79,
+     122,   113,     0,     0,   120,   123,    21,     0,     0,     0,
+      58,     0,     0,     0,     0,   137,   131,     0,     0,    22,
+      41,     0,    45,     0,     0,    51,     0,    53,     0,    54,
+       0,    64,    92,     0,    99,     0,    86,    85,    87,    74,
+       0,     0,   106,    82,    73,    91,   109,    56,   112,     0,
+      81,    83,    15,   121,    40,     0,    42,     0,     0,    59,
+     127,     0,   130,   125,   126,     0,   133,   135,   136,     0,
+       0,    47,    68,     0,   103,    80,     0,   115,    49,     0,
+       0,     0,     0,     0,    65,     0,     0,     0,    71,     0,
+     101,    72,     0,    78,    45,   107,     0,    88,    57,   108,
+     111,     0,     0,     0,    60,     0,     0,   132,   134,     0,
+     105,   113,     0,     0,     0,     0,     0,   115,    62,     0,
+      55,     0,     0,     0,    94,    66,    93,   100,     0,     0,
+       0,    90,   110,   114,     0,     0,     0,   127,    23,     0,
+      52,     0,     0,    45,    67,   116,    63,    61,     0,     0,
+       0,     0,     0,     0,   102,    75,   124,    84,     0,    43,
+       0,   104,    45,    45,     0,     0,     0,    98,    97,    96,
+      95,     0,    44,     0,     0,     0,    48,     0,     0,    76,
+      50,     0,     0,     0,    77
+};
+
+/* YYDEFGOTO[NTERM-NUM].  */
+static const yytype_int16 yydefgoto[] =
+{
+      -1,     5,     6,     7,   106,     8,     9,    10,    11,    20,
+      86,    35,    87,   160,    26,    47,    48,    49,    50,   111,
+     169,   170,   116,   166,    88,   138,   101,   171,   122,    89,
+     112,   182,   261,   271,   191,   187,   123,   180,   125,   114,
+     201,    91,   185,    92,   223,   139,   206,   207,    93,    94,
+      51,    52,   103,   107,   108,    53
+};
+
+/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
+   STATE-NUM.  */
+#define YYPACT_NINF -206
+static const yytype_int16 yypact[] =
+{
+     139,  -206,    -4,    42,  -206,    56,   170,  -206,  -206,    66,
+    -206,  -206,   137,    46,  -206,  -206,  -206,    -6,    60,    65,
+      17,    46,  -206,  -206,   107,  -206,    14,  -206,  -206,  -206,
+      34,   119,  -206,   159,   127,   133,  -206,   166,   -14,   191,
+     197,   208,   209,   172,   111,  -206,  -206,    82,   119,  -206,
+    -206,  -206,  -206,  -206,    53,  -206,   207,   174,   211,   194,
+     180,   181,   181,     5,   212,  -206,    96,  -206,  -206,   102,
+      96,  -206,   183,   214,   214,   218,   214,    28,   184,   219,
+     220,   221,   224,   214,   190,   168,  -206,  -206,    96,  -206,
+    -206,    13,   173,   226,    53,  -206,  -206,   225,   180,    96,
+    -206,    20,    84,   104,   112,  -206,   222,   228,     6,  -206,
+    -206,   129,    96,   231,   230,  -206,   235,  -206,   192,  -206,
+     143,   199,   178,   232,   196,   234,  -206,  -206,  -206,  -206,
+      96,   239,  -206,  -206,  -206,   223,  -206,   203,  -206,   185,
+    -206,  -206,  -206,  -206,  -206,    77,  -206,   204,   205,  -206,
+     181,   206,  -206,  -206,  -206,   192,  -206,  -206,  -206,   241,
+     210,  -206,  -206,    18,   243,  -206,   213,   169,     2,   238,
+     246,   245,   184,   184,  -206,   184,   215,   184,  -206,   216,
+     240,  -206,   217,  -206,    96,  -206,    96,  -206,  -206,  -206,
+     227,   229,   233,   236,  -206,   147,   253,  -206,  -206,   254,
+    -206,   213,   256,   237,   242,   255,   259,   169,   244,   247,
+    -206,   247,   198,   120,   200,  -206,   187,  -206,    -6,   257,
+     179,  -206,  -206,  -206,   260,   248,    96,   181,  -206,   189,
+    -206,   262,   263,    96,  -206,  -206,  -206,   249,   264,   265,
+     184,   184,   184,   184,  -206,  -206,  -206,  -206,    96,  -206,
+     182,  -206,    96,    96,    24,   247,   247,   267,   267,   267,
+     267,   250,  -206,    32,   105,   268,  -206,   272,   247,  -206,
+    -206,   251,   275,    96,  -206
+};
+
+/* YYPGOTO[NTERM-NUM].  */
+static const yytype_int16 yypgoto[] =
+{
+    -206,  -206,  -206,   261,   -16,  -206,  -206,  -206,  -206,   266,
+      -5,  -206,   -17,  -206,  -206,   252,  -206,  -206,  -206,  -107,
+    -206,   115,    68,  -206,  -206,   117,   201,  -205,   -76,  -206,
+     -54,  -206,  -206,  -206,  -206,  -206,  -206,  -206,  -206,  -206,
+    -206,  -206,  -206,  -206,  -206,    87,    78,  -206,   202,  -206,
+    -206,  -206,   -59,   186,  -206,   -45
+};
+
+/* YYTABLE[YYPACT[STATE-NUM]].  What to do in state STATE-NUM.  If
+   positive, shift that token.  If negative, reduce the rule which
+   number is the opposite.  If zero, do what YYDEFACT says.
+   If YYTABLE_NINF, syntax error.  */
+#define YYTABLE_NINF -130
+static const yytype_int16 yytable[] =
+{
+      90,    24,   124,   104,   238,   163,   239,   157,    21,    95,
+     105,   158,   110,   -61,    46,    32,    21,    58,    28,   161,
+     136,    33,    29,   -46,    34,   161,    45,   147,    59,  -118,
+      22,    46,   148,   161,   135,    28,    23,  -117,    12,   -18,
+      90,    22,    22,    45,   208,   146,    13,    23,    23,    95,
+     265,   266,   -46,   -46,   -46,   137,    14,    70,  -118,  -118,
+    -118,    71,   149,   270,   120,    72,  -117,  -117,  -117,    17,
+     121,    73,    74,    75,    27,    76,   183,   220,    77,    78,
+      79,    80,    81,    67,   192,    82,    83,    68,    19,   148,
+      84,   195,   150,    42,    43,    85,   212,   213,   151,   214,
+      70,   216,    25,    67,    71,   152,   161,   -29,    72,   153,
+    -119,    31,    65,   152,    73,    74,    75,   154,    76,   149,
+      27,    77,    78,    79,    80,    81,   254,    36,    82,    83,
+     161,   176,   221,   241,   162,    66,    37,    43,    85,  -119,
+    -119,  -119,   117,    18,   119,   263,   264,     1,   152,    38,
+      39,   130,  -128,   172,     2,     3,   173,    40,    41,    42,
+      43,    44,     4,    54,   257,   258,   259,   260,   250,    55,
+      -2,    15,   249,   -14,   132,    56,   133,    27,     1,   134,
+     161,   140,   141,   152,   246,     2,     3,  -129,   175,   176,
+      57,   177,   189,     4,   262,   190,   251,    60,   176,   190,
+     243,    61,   244,   203,   204,   205,   179,   176,   240,   176,
+     242,   176,    62,    63,    64,    96,    97,    98,    99,   274,
+     115,   109,   100,   102,   118,   113,   121,   126,   127,   128,
+     129,   142,   131,   144,   168,   155,   156,   164,   165,   167,
+     178,   174,   181,   184,   186,   188,   193,   194,   196,   198,
+     200,   209,   199,   210,   218,   137,   211,   215,   217,   219,
+     226,   227,   228,   230,   234,   245,   233,    16,   247,   222,
+     197,   224,   248,   252,   253,   225,   256,   255,   176,   231,
+     269,   268,   273,   202,   232,   235,   236,    30,   229,   237,
+       0,   208,   267,   272,   159,     0,   143,     0,     0,   145,
+      69
+};
+
+static const yytype_int16 yycheck[] =
+{
+      54,    17,    78,    62,   209,   112,   211,     1,    13,    54,
+       5,     5,    66,    11,    31,     1,    21,    31,     1,     1,
+       7,     7,     5,     5,    10,     1,    31,     7,    42,     5,
+      36,    48,    12,     1,    88,     1,    42,     5,    42,     5,
+      94,    36,    36,    48,    42,    99,     4,    42,    42,    94,
+     255,   256,    34,    35,    36,    42,     0,     4,    34,    35,
+      36,     8,    42,   268,    36,    12,    34,    35,    36,     3,
+      42,    18,    19,    20,     9,    22,   130,   184,    25,    26,
+      27,    28,    29,     1,     7,    32,    33,     5,    42,    12,
+      37,   150,     8,    40,    41,    42,   172,   173,    14,   175,
+       4,   177,    42,     1,     8,     1,     1,     5,    12,     5,
+       5,     4,     1,     1,    18,    19,    20,     5,    22,    42,
+       9,    25,    26,    27,    28,    29,   233,     8,    32,    33,
+       1,    11,   186,    13,     5,    24,    17,    41,    42,    34,
+      35,    36,    74,     6,    76,   252,   253,     8,     1,    30,
+      31,    83,     5,    10,    15,    16,    13,    38,    39,    40,
+      41,    42,    23,     4,   240,   241,   242,   243,   227,    42,
+       0,     1,   226,     3,     6,    42,     8,     9,     8,    11,
+       1,     8,     9,     1,     5,    15,    16,     5,    10,    11,
+      24,    13,     7,    23,   248,    10,     7,     6,    11,    10,
+      13,     4,   218,    34,    35,    36,    10,    11,    10,    11,
+      10,    11,     4,     4,    42,     8,    42,     6,    24,   273,
+       6,     9,    42,    42,     6,    42,    42,     8,     8,     8,
+       6,     5,    42,     8,    42,    13,     8,     6,     8,     4,
+       8,    42,     8,     4,    21,    42,    42,    42,    42,     8,
+       7,    13,    42,     7,    14,    42,    11,    42,    42,    42,
+      24,     8,     8,     7,     5,     8,    11,     6,     8,    42,
+     155,    42,    24,    11,    11,    42,    11,    13,    11,    42,
+       8,    13,     7,   166,    42,   207,    42,    21,   201,    42,
+      -1,    42,    42,    42,   108,    -1,    94,    -1,    -1,    98,
+      48
+};
+
+/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
+   symbol of state STATE-NUM.  */
+static const yytype_uint8 yystos[] =
+{

[... 5974 lines stripped ...]



More information about the asterisk-commits mailing list