i3
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
cfgparse.tab.c File Reference
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <unistd.h>
#include <fcntl.h>
#include "all.h"
#include <stdio.h>
Include dependency graph for cfgparse.tab.c:

Go to the source code of this file.

Data Structures

union  YYSTYPE
 
union  yyalloc
 

Macros

#define YYBISON   1
 
#define YYBISON_VERSION   "2.6.1"
 
#define YYSKELETON_NAME   "yacc.c"
 
#define YYPURE   0
 
#define YYPUSH   0
 
#define YYPULL   1
 
#define I3__FILE__   "cfgparse.y"
 
#define YY_NULL   0
 
#define YYERROR_VERBOSE   1
 
#define YY_SRC_CFGPARSE_TAB_H
 
#define YYDEBUG   1
 
#define YYTOKENTYPE
 
#define YYSTYPE_IS_TRIVIAL   1
 
#define yystype   YYSTYPE /* obsolescent; will be withdrawn */
 
#define YYSTYPE_IS_DECLARED   1
 
#define YYSIZE_T   unsigned int
 
#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)
 
#define YY_(msgid)   msgid
 
#define YYUSE(e)   ((void) (e))
 
#define YYID(n)   (n)
 
#define YYSTACK_ALLOC   YYMALLOC
 
#define YYSTACK_FREE   YYFREE
 
#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM
 
#define YYMALLOC   malloc
 
#define YYFREE   free
 
#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)
 
#define YYSTACK_BYTES(N)
 
#define YYCOPY_NEEDED   1
 
#define YYSTACK_RELOCATE(Stack_alloc, Stack)
 
#define YYCOPY(Dst, Src, Count)
 
#define YYFINAL   2
 
#define YYLAST   237
 
#define YYNTOKENS   108
 
#define YYNNTS   86
 
#define YYNRULES   193
 
#define YYNSTATES   288
 
#define YYUNDEFTOK   2
 
#define YYMAXUTOK   356
 
#define YYTRANSLATE(YYX)   ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
 
#define YYPACT_NINF   -149
 
#define YYTABLE_NINF   -1
 
#define yypact_value_is_default(yystate)   ((yystate) == (-149))
 
#define yytable_value_is_error(yytable_value)   YYID (0)
 
#define yyerrok   (yyerrstatus = 0)
 
#define yyclearin   (yychar = YYEMPTY)
 
#define YYEMPTY   (-2)
 
#define YYEOF   0
 
#define YYACCEPT   goto yyacceptlab
 
#define YYABORT   goto yyabortlab
 
#define YYERROR   goto yyerrorlab
 
#define YYFAIL   goto yyerrlab
 
#define YYRECOVERING()   (!!yyerrstatus)
 
#define YYBACKUP(Token, Value)
 
#define YYTERROR   1
 
#define YYERRCODE   256
 
#define YYLLOC_DEFAULT(Current, Rhs, N)
 
#define YYRHSLOC(Rhs, K)   ((Rhs)[K])
 
#define YY_LOCATION_PRINT(File, Loc)   ((void) 0)
 
#define YYLEX   yylex (context)
 
#define YYFPRINTF   fprintf
 
#define YYDPRINTF(Args)
 
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)
 
#define YY_STACK_PRINT(Bottom, Top)
 
#define YY_REDUCE_PRINT(Rule)
 
#define YYINITDEPTH   200
 
#define YYMAXDEPTH   10000
 
#define YYCASE_(N, S)
 
#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
 
#define YYSYNTAX_ERROR
 

Typedefs

typedef struct yy_buffer_stateYY_BUFFER_STATE
 
typedef union YYSTYPE YYSTYPE
 
typedef unsigned char yytype_uint8
 
typedef short int yytype_int8
 
typedef unsigned short int yytype_uint16
 
typedef short int yytype_int16
 

Enumerations

enum  yytokentype {
  NUMBER = 258, WORD = 259, STR = 260, STR_NG = 261,
  HEXCOLOR = 262, OUTPUT = 263, TOKBINDCODE = 264, TOKTERMINAL = 265,
  TOKCOMMENT = 266, TOKFONT = 267, TOKBINDSYM = 268, MODIFIER = 269,
  TOKCONTROL = 270, TOKSHIFT = 271, TOKFLOATING_MODIFIER = 272, TOKFLOATING_MAXIMUM_SIZE = 273,
  TOKFLOATING_MINIMUM_SIZE = 274, QUOTEDSTRING = 275, TOKWORKSPACE = 276, TOKOUTPUT = 277,
  TOKASSIGN = 278, TOKSET = 279, TOKIPCSOCKET = 280, TOKRESTARTSTATE = 281,
  TOKEXEC = 282, TOKEXEC_ALWAYS = 283, TOKSINGLECOLOR = 284, TOKCOLOR = 285,
  TOKARROW = 286, TOKMODE = 287, TOK_TIME_MS = 288, TOK_BAR = 289,
  TOK_ORIENTATION = 290, TOK_HORIZ = 291, TOK_VERT = 292, TOK_AUTO = 293,
  TOK_WORKSPACE_LAYOUT = 294, TOKNEWWINDOW = 295, TOKNEWFLOAT = 296, TOK_NORMAL = 297,
  TOK_NONE = 298, TOK_PIXEL = 299, TOK_1PIXEL = 300, TOK_HIDE_EDGE_BORDERS = 301,
  TOK_BOTH = 302, TOKFOCUSFOLLOWSMOUSE = 303, TOK_FORCE_FOCUS_WRAPPING = 304, TOK_FORCE_XINERAMA = 305,
  TOK_FAKE_OUTPUTS = 306, TOK_WORKSPACE_AUTO_BAF = 307, TOK_WORKSPACE_URGENCY_TIMER = 308, TOKWORKSPACEBAR = 309,
  TOK_DEFAULT = 310, TOK_STACKING = 311, TOK_TABBED = 312, TOKSTACKLIMIT = 313,
  TOK_POPUP_DURING_FULLSCREEN = 314, TOK_IGNORE = 315, TOK_LEAVE_FULLSCREEN = 316, TOK_FOR_WINDOW = 317,
  TOK_BAR_OUTPUT = 318, TOK_BAR_TRAY_OUTPUT = 319, TOK_BAR_SOCKET_PATH = 320, TOK_BAR_MODE = 321,
  TOK_BAR_HIDE = 322, TOK_BAR_DOCK = 323, TOK_BAR_MODIFIER = 324, TOK_BAR_CONTROL = 325,
  TOK_BAR_SHIFT = 326, TOK_BAR_MOD1 = 327, TOK_BAR_MOD2 = 328, TOK_BAR_MOD3 = 329,
  TOK_BAR_MOD4 = 330, TOK_BAR_MOD5 = 331, TOK_BAR_POSITION = 332, TOK_BAR_BOTTOM = 333,
  TOK_BAR_TOP = 334, TOK_BAR_STATUS_COMMAND = 335, TOK_BAR_I3BAR_COMMAND = 336, TOK_BAR_FONT = 337,
  TOK_BAR_WORKSPACE_BUTTONS = 338, TOK_BAR_VERBOSE = 339, TOK_BAR_COLORS = 340, TOK_BAR_COLOR_BACKGROUND = 341,
  TOK_BAR_COLOR_STATUSLINE = 342, TOK_BAR_COLOR_FOCUSED_WORKSPACE = 343, TOK_BAR_COLOR_ACTIVE_WORKSPACE = 344, TOK_BAR_COLOR_INACTIVE_WORKSPACE = 345,
  TOK_BAR_COLOR_URGENT_WORKSPACE = 346, TOK_NO_STARTUP_ID = 347, TOK_RELEASE = 348, TOK_MARK = 349,
  TOK_CLASS = 350, TOK_INSTANCE = 351, TOK_WINDOW_ROLE = 352, TOK_ID = 353,
  TOK_CON_ID = 354, TOK_TITLE = 355, TOK_URGENT = 356, NUMBER = 258,
  WORD = 259, STR = 260, STR_NG = 261, HEXCOLOR = 262,
  OUTPUT = 263, TOKBINDCODE = 264, TOKTERMINAL = 265, TOKCOMMENT = 266,
  TOKFONT = 267, TOKBINDSYM = 268, MODIFIER = 269, TOKCONTROL = 270,
  TOKSHIFT = 271, TOKFLOATING_MODIFIER = 272, TOKFLOATING_MAXIMUM_SIZE = 273, TOKFLOATING_MINIMUM_SIZE = 274,
  QUOTEDSTRING = 275, TOKWORKSPACE = 276, TOKOUTPUT = 277, TOKASSIGN = 278,
  TOKSET = 279, TOKIPCSOCKET = 280, TOKRESTARTSTATE = 281, TOKEXEC = 282,
  TOKEXEC_ALWAYS = 283, TOKSINGLECOLOR = 284, TOKCOLOR = 285, TOKARROW = 286,
  TOKMODE = 287, TOK_TIME_MS = 288, TOK_BAR = 289, TOK_ORIENTATION = 290,
  TOK_HORIZ = 291, TOK_VERT = 292, TOK_AUTO = 293, TOK_WORKSPACE_LAYOUT = 294,
  TOKNEWWINDOW = 295, TOKNEWFLOAT = 296, TOK_NORMAL = 297, TOK_NONE = 298,
  TOK_PIXEL = 299, TOK_1PIXEL = 300, TOK_HIDE_EDGE_BORDERS = 301, TOK_BOTH = 302,
  TOKFOCUSFOLLOWSMOUSE = 303, TOK_FORCE_FOCUS_WRAPPING = 304, TOK_FORCE_XINERAMA = 305, TOK_FAKE_OUTPUTS = 306,
  TOK_WORKSPACE_AUTO_BAF = 307, TOK_WORKSPACE_URGENCY_TIMER = 308, TOKWORKSPACEBAR = 309, TOK_DEFAULT = 310,
  TOK_STACKING = 311, TOK_TABBED = 312, TOKSTACKLIMIT = 313, TOK_POPUP_DURING_FULLSCREEN = 314,
  TOK_IGNORE = 315, TOK_LEAVE_FULLSCREEN = 316, TOK_FOR_WINDOW = 317, TOK_BAR_OUTPUT = 318,
  TOK_BAR_TRAY_OUTPUT = 319, TOK_BAR_SOCKET_PATH = 320, TOK_BAR_MODE = 321, TOK_BAR_HIDE = 322,
  TOK_BAR_DOCK = 323, TOK_BAR_MODIFIER = 324, TOK_BAR_CONTROL = 325, TOK_BAR_SHIFT = 326,
  TOK_BAR_MOD1 = 327, TOK_BAR_MOD2 = 328, TOK_BAR_MOD3 = 329, TOK_BAR_MOD4 = 330,
  TOK_BAR_MOD5 = 331, TOK_BAR_POSITION = 332, TOK_BAR_BOTTOM = 333, TOK_BAR_TOP = 334,
  TOK_BAR_STATUS_COMMAND = 335, TOK_BAR_I3BAR_COMMAND = 336, TOK_BAR_FONT = 337, TOK_BAR_WORKSPACE_BUTTONS = 338,
  TOK_BAR_VERBOSE = 339, TOK_BAR_COLORS = 340, TOK_BAR_COLOR_BACKGROUND = 341, TOK_BAR_COLOR_STATUSLINE = 342,
  TOK_BAR_COLOR_FOCUSED_WORKSPACE = 343, TOK_BAR_COLOR_ACTIVE_WORKSPACE = 344, TOK_BAR_COLOR_INACTIVE_WORKSPACE = 345, TOK_BAR_COLOR_URGENT_WORKSPACE = 346,
  TOK_NO_STARTUP_ID = 347, TOK_RELEASE = 348, TOK_MARK = 349, TOK_CLASS = 350,
  TOK_INSTANCE = 351, TOK_WINDOW_ROLE = 352, TOK_ID = 353, TOK_CON_ID = 354,
  TOK_TITLE = 355, TOK_URGENT = 356
}
 

Functions

int yylex (struct context *context)
 
int yyparse (void)
 
int yylex_destroy (void)
 
YY_BUFFER_STATE yy_scan_string (const char *)
 
void yyerror (const char *error_message)
 
int yywrap (void)
 
static int detect_version (char *buf)
 
static char * migrate_config (char *input, off_t size)
 
static void nagbar_exited (EV_P_ ev_child *watcher, int revents)
 
static bool write_nagbar_script (const char *path, const char *command)
 
static void start_configerror_nagbar (const char *config_path)
 
void kill_configerror_nagbar (bool wait_for_it)
 Kills the configerror i3-nagbar process, if any.
 
static void check_for_duplicate_bindings (struct context *context)
 
static void migrate_i3bar_exec (struct Autostart *exec)
 
void parse_file (const char *f)
 
static void yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const *const yyvaluep)
 
static void yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const *const yyvaluep)
 
static void yy_stack_print (yytype_int16 *yybottom, yytype_int16 *yytop)
 
static void yy_reduce_print (YYSTYPE *yyvsp, int yyrule)
 
static YYSIZE_T yystrlen (char *yystr) const
 
static char * yystpcpy (char *yydest, const char *yysrc)
 
static YYSIZE_T yytnamerr (char *yyres, const char *yystr)
 
static int yysyntax_error (YYSIZE_T *yymsg_alloc, char **yymsg, yytype_int16 *yyssp, int yytoken)
 
static void yydestruct (char *yymsg, int yytype, YYSTYPE *yyvaluep) const
 

Variables

bool force_old_config_parser = false
 
static pid_t configerror_pid = -1
 
static Match current_match
 
static Barconfig current_bar
 
static char * font_pattern
 
static char * edit_script_path
 
static char * pager_script_path
 
FILE * yyin = (FILE *) 0
 
static struct bindings_head * current_bindings
 
static struct contextcontext
 
int yydebug
 
YYSTYPE yylval
 
static const yytype_uint8 yytranslate []
 
static const yytype_uint16 yyprhs []
 
static const yytype_int16 yyrhs []
 
static const yytype_uint16 yyrline []
 
static const char *const yytname []
 
static const yytype_uint8 yyr1 []
 
static const yytype_uint8 yyr2 []
 
static const yytype_uint8 yydefact []
 
static const yytype_int16 yydefgoto []
 
static const yytype_int16 yypact []
 
static const yytype_int16 yypgoto []
 
static const yytype_uint16 yytable []
 
static const yytype_uint16 yycheck []
 
static const yytype_uint8 yystos []
 
int yychar
 
int yynerrs
 

Macro Definition Documentation

#define I3__FILE__   "cfgparse.y"

Definition at line 73 of file cfgparse.tab.c.

#define YY_ (   msgid)    msgid

Definition at line 1003 of file cfgparse.tab.c.

Referenced by yyparse(), and yysyntax_error().

#define YY_LOCATION_PRINT (   File,
  Loc 
)    ((void) 0)

Definition at line 1742 of file cfgparse.tab.c.

#define YY_NULL   0

Definition at line 770 of file cfgparse.tab.c.

Referenced by yysyntax_error().

#define YY_REDUCE_PRINT (   Rule)
Value:
do { \
if (yydebug) \
yy_reduce_print (yyvsp, Rule); \
} while (YYID (0))

Definition at line 1903 of file cfgparse.tab.c.

Referenced by yyparse().

#define YY_SRC_CFGPARSE_TAB_H

Definition at line 785 of file cfgparse.tab.c.

#define YY_STACK_PRINT (   Bottom,
  Top 
)
Value:
do { \
if (yydebug) \
yy_stack_print ((Bottom), (Top)); \
} while (YYID (0))

Definition at line 1865 of file cfgparse.tab.c.

Referenced by yyparse().

#define YY_SYMBOL_PRINT (   Title,
  Type,
  Value,
  Location 
)
Value:
do { \
if (yydebug) \
{ \
YYFPRINTF (stderr, "%s ", Title); \
yy_symbol_print (stderr, \
Type, Value); \
YYFPRINTF (stderr, "\n"); \
} \
} while (YYID (0))

Definition at line 1768 of file cfgparse.tab.c.

Referenced by yydestruct(), and yyparse().

#define YYABORT   goto yyabortlab

Definition at line 1669 of file cfgparse.tab.c.

Referenced by yyparse().

#define YYACCEPT   goto yyacceptlab

Definition at line 1668 of file cfgparse.tab.c.

Referenced by yyparse().

#define YYBACKUP (   Token,
  Value 
)
Value:
do \
if (yychar == YYEMPTY) \
{ \
yychar = (Token); \
yylval = (Value); \
YYPOPSTACK (yylen); \
yystate = *yyssp; \
goto yybackup; \
} \
else \
{ \
yyerror (YY_("syntax error: cannot back up")); \
YYERROR; \
} \
while (YYID (0))

Definition at line 1690 of file cfgparse.tab.c.

#define YYBISON   1

Definition at line 44 of file cfgparse.tab.c.

#define YYBISON_VERSION   "2.6.1"

Definition at line 47 of file cfgparse.tab.c.

#define YYCASE_ (   N,
 
)
Value:
case N: \
yyformat = S; \
break

Referenced by yysyntax_error().

#define yyclearin   (yychar = YYEMPTY)

Definition at line 1664 of file cfgparse.tab.c.

#define YYCOPY (   Dst,
  Src,
  Count 
)
Value:
do \
{ \
YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(Dst)[yyi] = (Src)[yyi]; \
} \
while (YYID (0))

Definition at line 1151 of file cfgparse.tab.c.

#define YYCOPY_NEEDED   1

Definition at line 1123 of file cfgparse.tab.c.

#define YYDEBUG   1

Definition at line 788 of file cfgparse.tab.c.

#define YYDPRINTF (   Args)
Value:
do { \
if (yydebug) \
YYFPRINTF Args; \
} while (YYID (0))

Definition at line 1762 of file cfgparse.tab.c.

Referenced by yyparse().

#define YYEMPTY   (-2)

Definition at line 1665 of file cfgparse.tab.c.

Referenced by yyparse(), and yysyntax_error().

#define YYEOF   0

Definition at line 1666 of file cfgparse.tab.c.

Referenced by yyparse().

#define YYERRCODE   256

Definition at line 1709 of file cfgparse.tab.c.

#define yyerrok   (yyerrstatus = 0)

Definition at line 1663 of file cfgparse.tab.c.

#define YYERROR   goto yyerrorlab

Definition at line 1670 of file cfgparse.tab.c.

#define YYERROR_VERBOSE   1

Definition at line 779 of file cfgparse.tab.c.

#define YYFAIL   goto yyerrlab

Definition at line 1680 of file cfgparse.tab.c.

#define YYFINAL   2

Definition at line 1164 of file cfgparse.tab.c.

Referenced by yyparse().

#define YYFPRINTF   fprintf

Definition at line 1759 of file cfgparse.tab.c.

Referenced by yy_reduce_print(), yy_stack_print(), and yy_symbol_print().

#define YYFREE   free

Definition at line 1093 of file cfgparse.tab.c.

#define YYID (   n)    (n)

Definition at line 1016 of file cfgparse.tab.c.

Referenced by yyparse().

#define YYINITDEPTH   200

Definition at line 1922 of file cfgparse.tab.c.

Referenced by yyparse().

#define YYLAST   237

Definition at line 1166 of file cfgparse.tab.c.

Referenced by yyparse(), and yysyntax_error().

#define YYLEX   yylex (context)

Definition at line 1751 of file cfgparse.tab.c.

Referenced by yyparse().

#define YYLLOC_DEFAULT (   Current,
  Rhs,
 
)
Value:
do \
if (YYID (N)) \
{ \
(Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
(Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
(Current).last_line = YYRHSLOC (Rhs, N).last_line; \
(Current).last_column = YYRHSLOC (Rhs, N).last_column; \
} \
else \
{ \
(Current).first_line = (Current).last_line = \
YYRHSLOC (Rhs, 0).last_line; \
(Current).first_column = (Current).last_column = \
YYRHSLOC (Rhs, 0).last_column; \
} \
while (YYID (0))

Definition at line 1716 of file cfgparse.tab.c.

#define YYMALLOC   malloc

Definition at line 1086 of file cfgparse.tab.c.

#define YYMAXDEPTH   10000

Definition at line 1933 of file cfgparse.tab.c.

Referenced by yyparse().

#define YYMAXUTOK   356

Definition at line 1179 of file cfgparse.tab.c.

#define YYNNTS   86

Definition at line 1171 of file cfgparse.tab.c.

#define YYNRULES   193

Definition at line 1173 of file cfgparse.tab.c.

#define YYNSTATES   288

Definition at line 1175 of file cfgparse.tab.c.

#define YYNTOKENS   108

Definition at line 1169 of file cfgparse.tab.c.

Referenced by yy_symbol_print(), yy_symbol_value_print(), yyparse(), and yysyntax_error().

#define YYPACT_NINF   -149

Definition at line 1514 of file cfgparse.tab.c.

#define yypact_value_is_default (   yystate)    ((yystate) == (-149))

Definition at line 1594 of file cfgparse.tab.c.

Referenced by yyparse(), and yysyntax_error().

#define YYPOPSTACK (   N)    (yyvsp -= (N), yyssp -= (N))

Referenced by yyparse().

#define YYPULL   1

Definition at line 59 of file cfgparse.tab.c.

#define YYPURE   0

Definition at line 53 of file cfgparse.tab.c.

#define YYPUSH   0

Definition at line 56 of file cfgparse.tab.c.

#define YYRECOVERING ( )    (!!yyerrstatus)

Definition at line 1688 of file cfgparse.tab.c.

#define YYRHSLOC (   Rhs,
 
)    ((Rhs)[K])

Definition at line 1735 of file cfgparse.tab.c.

#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)

Definition at line 993 of file cfgparse.tab.c.

#define YYSIZE_T   unsigned int

Definition at line 989 of file cfgparse.tab.c.

Referenced by yyparse(), yystrlen(), yysyntax_error(), and yytnamerr().

#define YYSKELETON_NAME   "yacc.c"

Definition at line 50 of file cfgparse.tab.c.

#define YYSTACK_ALLOC   YYMALLOC

Definition at line 1072 of file cfgparse.tab.c.

Referenced by yyparse().

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

Definition at line 1075 of file cfgparse.tab.c.

Referenced by yysyntax_error().

#define YYSTACK_BYTES (   N)
Value:
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \

Definition at line 1119 of file cfgparse.tab.c.

Referenced by yyparse().

#define YYSTACK_FREE   YYFREE

Definition at line 1073 of file cfgparse.tab.c.

Referenced by yyparse().

#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)

Definition at line 1115 of file cfgparse.tab.c.

#define YYSTACK_RELOCATE (   Stack_alloc,
  Stack 
)
Value:
do \
{ \
YYSIZE_T yynewbytes; \
YYCOPY (&yyptr->Stack_alloc, Stack, yysize); \
Stack = &yyptr->Stack_alloc; \
yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
yyptr += yynewbytes / sizeof (*yyptr); \
} \
while (YYID (0))

Definition at line 1130 of file cfgparse.tab.c.

Referenced by yyparse().

#define yystype   YYSTYPE /* obsolescent; will be withdrawn */

Definition at line 921 of file cfgparse.tab.c.

#define YYSTYPE_IS_DECLARED   1

Definition at line 922 of file cfgparse.tab.c.

#define YYSTYPE_IS_TRIVIAL   1

Definition at line 920 of file cfgparse.tab.c.

#define YYSYNTAX_ERROR
Value:
yysyntax_error (&yymsg_alloc, &yymsg, \
yyssp, yytoken)

Referenced by yyparse().

#define YYTABLE_NINF   -1

Definition at line 1565 of file cfgparse.tab.c.

#define yytable_value_is_error (   yytable_value)    YYID (0)

Definition at line 1597 of file cfgparse.tab.c.

Referenced by yyparse(), and yysyntax_error().

#define YYTERROR   1

Definition at line 1708 of file cfgparse.tab.c.

Referenced by yyparse(), and yysyntax_error().

#define YYTOKENTYPE

Definition at line 796 of file cfgparse.tab.c.

#define YYTRANSLATE (   YYX)    ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)

Definition at line 1181 of file cfgparse.tab.c.

Referenced by yyparse().

#define YYUNDEFTOK   2

Definition at line 1178 of file cfgparse.tab.c.

#define YYUSE (   e)    ((void) (e))

Definition at line 1009 of file cfgparse.tab.c.

Referenced by yy_symbol_value_print(), and yydestruct().

Typedef Documentation

Definition at line 96 of file cfgparse.tab.c.

typedef union YYSTYPE YYSTYPE
typedef short int yytype_int16

Definition at line 976 of file cfgparse.tab.c.

typedef short int yytype_int8

Definition at line 964 of file cfgparse.tab.c.

typedef unsigned short int yytype_uint16

Definition at line 970 of file cfgparse.tab.c.

typedef unsigned char yytype_uint8

Definition at line 955 of file cfgparse.tab.c.

Enumeration Type Documentation

Enumerator
NUMBER 
WORD 
STR 
STR_NG 
HEXCOLOR 
OUTPUT 
TOKBINDCODE 
TOKTERMINAL 
TOKCOMMENT 
TOKFONT 
TOKBINDSYM 
MODIFIER 
TOKCONTROL 
TOKSHIFT 
TOKFLOATING_MODIFIER 
TOKFLOATING_MAXIMUM_SIZE 
TOKFLOATING_MINIMUM_SIZE 
QUOTEDSTRING 
TOKWORKSPACE 
TOKOUTPUT 
TOKASSIGN 
TOKSET 
TOKIPCSOCKET 
TOKRESTARTSTATE 
TOKEXEC 
TOKEXEC_ALWAYS 
TOKSINGLECOLOR 
TOKCOLOR 
TOKARROW 
TOKMODE 
TOK_TIME_MS 
TOK_BAR 
TOK_ORIENTATION 
TOK_HORIZ 
TOK_VERT 
TOK_AUTO 
TOK_WORKSPACE_LAYOUT 
TOKNEWWINDOW 
TOKNEWFLOAT 
TOK_NORMAL 
TOK_NONE 
TOK_PIXEL 
TOK_1PIXEL 
TOK_HIDE_EDGE_BORDERS 
TOK_BOTH 
TOKFOCUSFOLLOWSMOUSE 
TOK_FORCE_FOCUS_WRAPPING 
TOK_FORCE_XINERAMA 
TOK_FAKE_OUTPUTS 
TOK_WORKSPACE_AUTO_BAF 
TOK_WORKSPACE_URGENCY_TIMER 
TOKWORKSPACEBAR 
TOK_DEFAULT 
TOK_STACKING 
TOK_TABBED 
TOKSTACKLIMIT 
TOK_POPUP_DURING_FULLSCREEN 
TOK_IGNORE 
TOK_LEAVE_FULLSCREEN 
TOK_FOR_WINDOW 
TOK_BAR_OUTPUT 
TOK_BAR_TRAY_OUTPUT 
TOK_BAR_SOCKET_PATH 
TOK_BAR_MODE 
TOK_BAR_HIDE 
TOK_BAR_DOCK 
TOK_BAR_MODIFIER 
TOK_BAR_CONTROL 
TOK_BAR_SHIFT 
TOK_BAR_MOD1 
TOK_BAR_MOD2 
TOK_BAR_MOD3 
TOK_BAR_MOD4 
TOK_BAR_MOD5 
TOK_BAR_POSITION 
TOK_BAR_BOTTOM 
TOK_BAR_TOP 
TOK_BAR_STATUS_COMMAND 
TOK_BAR_I3BAR_COMMAND 
TOK_BAR_FONT 
TOK_BAR_WORKSPACE_BUTTONS 
TOK_BAR_VERBOSE 
TOK_BAR_COLORS 
TOK_BAR_COLOR_BACKGROUND 
TOK_BAR_COLOR_STATUSLINE 
TOK_BAR_COLOR_FOCUSED_WORKSPACE 
TOK_BAR_COLOR_ACTIVE_WORKSPACE 
TOK_BAR_COLOR_INACTIVE_WORKSPACE 
TOK_BAR_COLOR_URGENT_WORKSPACE 
TOK_NO_STARTUP_ID 
TOK_RELEASE 
TOK_MARK 
TOK_CLASS 
TOK_INSTANCE 
TOK_WINDOW_ROLE 
TOK_ID 
TOK_CON_ID 
TOK_TITLE 
TOK_URGENT 
NUMBER 
WORD 
STR 
STR_NG 
HEXCOLOR 
OUTPUT 
TOKBINDCODE 
TOKTERMINAL 
TOKCOMMENT 
TOKFONT 
TOKBINDSYM 
MODIFIER 
TOKCONTROL 
TOKSHIFT 
TOKFLOATING_MODIFIER 
TOKFLOATING_MAXIMUM_SIZE 
TOKFLOATING_MINIMUM_SIZE 
QUOTEDSTRING 
TOKWORKSPACE 
TOKOUTPUT 
TOKASSIGN 
TOKSET 
TOKIPCSOCKET 
TOKRESTARTSTATE 
TOKEXEC 
TOKEXEC_ALWAYS 
TOKSINGLECOLOR 
TOKCOLOR 
TOKARROW 
TOKMODE 
TOK_TIME_MS 
TOK_BAR 
TOK_ORIENTATION 
TOK_HORIZ 
TOK_VERT 
TOK_AUTO 
TOK_WORKSPACE_LAYOUT 
TOKNEWWINDOW 
TOKNEWFLOAT 
TOK_NORMAL 
TOK_NONE 
TOK_PIXEL 
TOK_1PIXEL 
TOK_HIDE_EDGE_BORDERS 
TOK_BOTH 
TOKFOCUSFOLLOWSMOUSE 
TOK_FORCE_FOCUS_WRAPPING 
TOK_FORCE_XINERAMA 
TOK_FAKE_OUTPUTS 
TOK_WORKSPACE_AUTO_BAF 
TOK_WORKSPACE_URGENCY_TIMER 
TOKWORKSPACEBAR 
TOK_DEFAULT 
TOK_STACKING 
TOK_TABBED 
TOKSTACKLIMIT 
TOK_POPUP_DURING_FULLSCREEN 
TOK_IGNORE 
TOK_LEAVE_FULLSCREEN 
TOK_FOR_WINDOW 
TOK_BAR_OUTPUT 
TOK_BAR_TRAY_OUTPUT 
TOK_BAR_SOCKET_PATH 
TOK_BAR_MODE 
TOK_BAR_HIDE 
TOK_BAR_DOCK 
TOK_BAR_MODIFIER 
TOK_BAR_CONTROL 
TOK_BAR_SHIFT 
TOK_BAR_MOD1 
TOK_BAR_MOD2 
TOK_BAR_MOD3 
TOK_BAR_MOD4 
TOK_BAR_MOD5 
TOK_BAR_POSITION 
TOK_BAR_BOTTOM 
TOK_BAR_TOP 
TOK_BAR_STATUS_COMMAND 
TOK_BAR_I3BAR_COMMAND 
TOK_BAR_FONT 
TOK_BAR_WORKSPACE_BUTTONS 
TOK_BAR_VERBOSE 
TOK_BAR_COLORS 
TOK_BAR_COLOR_BACKGROUND 
TOK_BAR_COLOR_STATUSLINE 
TOK_BAR_COLOR_FOCUSED_WORKSPACE 
TOK_BAR_COLOR_ACTIVE_WORKSPACE 
TOK_BAR_COLOR_INACTIVE_WORKSPACE 
TOK_BAR_COLOR_URGENT_WORKSPACE 
TOK_NO_STARTUP_ID 
TOK_RELEASE 
TOK_MARK 
TOK_CLASS 
TOK_INSTANCE 
TOK_WINDOW_ROLE 
TOK_ID 
TOK_CON_ID 
TOK_TITLE 
TOK_URGENT 

Definition at line 799 of file cfgparse.tab.c.

Function Documentation

static void check_for_duplicate_bindings ( struct context context)
static
static int detect_version ( char *  buf)
static

Definition at line 137 of file cfgparse.tab.c.

Referenced by parse_file().

void kill_configerror_nagbar ( bool  wait_for_it)

Kills the configerror i3-nagbar process, if any.

Called when reloading/restarting.

If wait_for_it is set (restarting), this function will waitpid(), otherwise, ev is assumed to handle it (reloading).

Definition at line 453 of file cfgparse.tab.c.

References configerror_pid.

Referenced by cmd_reload(), and i3_restart().

static char* migrate_config ( char *  input,
off_t  size 
)
static

Definition at line 206 of file cfgparse.tab.c.

References exec_i3_utility(), and FREE.

Referenced by parse_file().

Here is the call graph for this function:

static void migrate_i3bar_exec ( struct Autostart exec)
static

Definition at line 519 of file cfgparse.tab.c.

References barconfigs, Autostart::command, ELOG, context::has_warnings, Barconfig::id, scalloc(), sstrdup(), Barconfig::status_command, and TAILQ_INSERT_TAIL.

Referenced by parse_file().

Here is the call graph for this function:

static void nagbar_exited ( EV_P_ ev_child *  watcher,
int  revents 
)
static

Definition at line 308 of file cfgparse.tab.c.

References configerror_pid, edit_script_path, and pager_script_path.

Referenced by start_configerror_nagbar().

void parse_file ( const char *  f)
static void start_configerror_nagbar ( const char *  config_path)
static
static bool write_nagbar_script ( const char *  path,
const char *  command 
)
static

Definition at line 352 of file cfgparse.tab.c.

Referenced by start_configerror_nagbar().

static void yy_reduce_print ( YYSTYPE yyvsp,
int  yyrule 
)
static

Definition at line 1882 of file cfgparse.tab.c.

References yy_symbol_print(), and YYFPRINTF.

Here is the call graph for this function:

YY_BUFFER_STATE yy_scan_string ( const char *  )

Referenced by parse_file().

static void yy_stack_print ( yytype_int16 yybottom,
yytype_int16 yytop 
)
static

Definition at line 1851 of file cfgparse.tab.c.

References YYFPRINTF.

static void yy_symbol_print ( FILE *  yyoutput,
int  yytype,
YYSTYPE const * const  yyvaluep 
)
static

Definition at line 1825 of file cfgparse.tab.c.

References yy_symbol_value_print(), YYFPRINTF, and YYNTOKENS.

Referenced by yy_reduce_print().

Here is the call graph for this function:

static void yy_symbol_value_print ( FILE *  yyoutput,
int  yytype,
YYSTYPE const * const  yyvaluep 
)
static

Definition at line 1791 of file cfgparse.tab.c.

References YYNTOKENS, and YYUSE.

Referenced by yy_symbol_print().

static void yydestruct ( char *  yymsg,
int  yytype,
YYSTYPE yyvaluep 
) const
static

Definition at line 2186 of file cfgparse.tab.c.

References YY_SYMBOL_PRINT, and YYUSE.

Referenced by yyparse().

void yyerror ( const char *  error_message)
int yylex ( struct context context)
int yylex_destroy ( void  )

Referenced by parse_file().

int yyparse ( void  )

Definition at line 2240 of file cfgparse.tab.c.

References Barconfig::bar_colors::active_workspace_bg, Barconfig::bar_colors::active_workspace_border, Barconfig::bar_colors::active_workspace_text, ADJ_LEFT_SCREEN_EDGE, ADJ_LOWER_SCREEN_EDGE, ADJ_NONE, ADJ_RIGHT_SCREEN_EDGE, ADJ_UPPER_SCREEN_EDGE, assignments, autostarts, autostarts_always, Colortriple::background, Barconfig::bar_colors::background, barconfigs, BIND_CONTROL, BIND_SHIFT, YYSTYPE::binding, bindings, Mode::bindings, Colortriple::border, BS_NONE, BS_NORMAL, BS_PIXEL, Match::class, YYSTYPE::color, Barconfig::colors, Binding::command, Assignment::command, Match::con_id, config, Config::container_stack_limit, Config::container_stack_limit_value, current_bindings, current_match, Config::default_border, Config::default_border_width, Config::default_floating_border, Config::default_layout, Config::default_orientation, Assignment::dest, Config::disable_focus_follows_mouse, Config::disable_workspace_bar, DLOG, ELOG, Config::fake_outputs, Config::floating_maximum_height, Config::floating_maximum_width, Config::floating_minimum_height, Config::floating_minimum_width, Config::floating_modifier, Barconfig::bar_colors::focused_workspace_bg, Barconfig::bar_colors::focused_workspace_border, Barconfig::bar_colors::focused_workspace_text, Config::font, Barconfig::font, font_pattern, Config::force_focus_wrapping, Config::force_xinerama, FREE, get_colorpixel(), context::has_warnings, Config::hide_edge_borders, Barconfig::hide_workspace_buttons, HORIZ, Barconfig::i3bar_command, Barconfig::id, Match::id, Barconfig::bar_colors::inactive_workspace_bg, Barconfig::bar_colors::inactive_workspace_border, Barconfig::bar_colors::inactive_workspace_text, Colortriple::indicator, Match::instance, Config::ipc_socket_path, Binding::keycode, load_font(), Match::mark, Assignment::match, match_copy(), match_init(), match_is_empty(), Barconfig::mode, modes, Barconfig::modifier, Binding::mods, Mode::name, Workspace_Assignment::name, NO_ORIENTATION, Barconfig::num_outputs, YYSTYPE::number, Workspace_Assignment::output, Barconfig::outputs, Config::popup_during_fullscreen, Barconfig::position, regex_new(), Config::restart_state_path, Match::role, sasprintf(), scalloc(), set_font(), YYSTYPE::single_color, SLIST_INSERT_HEAD, smalloc(), Barconfig::socket_path, srealloc(), sstrdup(), Barconfig::status_command, Barconfig::bar_colors::statusline, YYSTYPE::string, Binding::symbol, TAILQ_FOREACH, TAILQ_INIT, TAILQ_INSERT_TAIL, Colortriple::text, Match::title, Barconfig::tray_output, Assignment::type, Match::urgent, Barconfig::bar_colors::urgent_workspace_bg, Barconfig::bar_colors::urgent_workspace_border, Barconfig::bar_colors::urgent_workspace_text, Barconfig::verbose, VERT, Assignment::workspace, Config::workspace_auto_back_and_forth, workspace_get(), Config::workspace_urgency_timer, ws_assignments, x, YY_, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, yydestruct(), YYDPRINTF, YYEMPTY, YYEOF, yyerror(), YYFINAL, YYID, YYINITDEPTH, YYLAST, YYLEX, yylval, YYMAXDEPTH, yynerrs, YYNTOKENS, yypact_value_is_default, YYPOPSTACK, YYSIZE_T, yyalloc::yyss_alloc, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, YYSYNTAX_ERROR, yytable_value_is_error, YYTERROR, YYTRANSLATE, and yyalloc::yyvs_alloc.

Referenced by parse_file().

Here is the call graph for this function:

static char* yystpcpy ( char *  yydest,
const char *  yysrc 
)
static

Definition at line 1974 of file cfgparse.tab.c.

Referenced by yytnamerr().

static YYSIZE_T yystrlen ( char *  yystr) const
static

Definition at line 1950 of file cfgparse.tab.c.

References YYSIZE_T.

Referenced by yysyntax_error(), and yytnamerr().

static int yysyntax_error ( YYSIZE_T yymsg_alloc,
char **  yymsg,
yytype_int16 yyssp,
int  yytoken 
)
static

Definition at line 2047 of file cfgparse.tab.c.

References YY_, YY_NULL, YYCASE_, YYEMPTY, YYLAST, YYNTOKENS, yypact_value_is_default, YYSIZE_T, YYSTACK_ALLOC_MAXIMUM, yystrlen(), yytable_value_is_error, YYTERROR, and yytnamerr().

Here is the call graph for this function:

static YYSIZE_T yytnamerr ( char *  yyres,
const char *  yystr 
)
static

Definition at line 1999 of file cfgparse.tab.c.

References YYSIZE_T, yystpcpy(), and yystrlen().

Referenced by yysyntax_error().

Here is the call graph for this function:

int yywrap ( void  )

Definition at line 127 of file cfgparse.tab.c.

Variable Documentation

pid_t configerror_pid = -1
static

Definition at line 84 of file cfgparse.tab.c.

Referenced by kill_configerror_nagbar(), nagbar_exited(), and start_configerror_nagbar().

struct context* context
static

Definition at line 104 of file cfgparse.tab.c.

Referenced by start_application().

Barconfig current_bar
static

Definition at line 87 of file cfgparse.tab.c.

struct bindings_head* current_bindings
static

Definition at line 103 of file cfgparse.tab.c.

Referenced by yyparse().

Match current_match
static
char* edit_script_path
static

Definition at line 94 of file cfgparse.tab.c.

Referenced by nagbar_exited(), and start_configerror_nagbar().

char* font_pattern
static

Definition at line 91 of file cfgparse.tab.c.

Referenced by parse_file(), and yyparse().

bool force_old_config_parser = false

Definition at line 82 of file cfgparse.tab.c.

Referenced by main(), and parse_file().

char * pager_script_path
static

Definition at line 94 of file cfgparse.tab.c.

Referenced by nagbar_exited(), and start_configerror_nagbar().

int yychar

Definition at line 2210 of file cfgparse.tab.c.

const yytype_uint16 yycheck[]
static
Initial value:
=
{
1, 27, 28, 29, 3, 31, 19, 33, 3, 4,
6, 3, 9, 71, 11, 93, 13, 75, 11, 3,
4, 4, 5, 171, 20, 5, 174, 3, 20, 94,
95, 96, 97, 98, 99, 100, 101, 20, 103, 94,
95, 96, 97, 98, 99, 100, 101, 3, 4, 11,
60, 61, 36, 37, 5, 55, 56, 57, 58, 43,
14, 15, 16, 47, 42, 43, 44, 45, 3, 5,
63, 64, 65, 66, 78, 79, 69, 36, 37, 38,
67, 68, 5, 92, 77, 7, 99, 80, 81, 82,
83, 84, 85, 86, 87, 88, 89, 90, 91, 20,
105, 63, 64, 65, 66, 5, 102, 69, 107, 106,
3, 102, 107, 106, 4, 77, 4, 107, 80, 81,
82, 83, 84, 85, 86, 87, 88, 89, 90, 91,
70, 71, 72, 73, 74, 75, 76, 22, 5, 5,
5, 5, 105, 58, 106, 3, 33, 8, 161, 5,
3, 3, 104, 3, 104, 104, 104, 104, 104, 104,
104, 5, 5, 5, 5, 5, 5, 5, 5, 5,
0, 1, 5, 5, 5, 201, 202, 190, 5, 9,
10, 11, 12, 13, 5, 105, 8, 17, 18, 19,
191, 21, 7, 23, 7, 25, 26, 27, 28, 29,
30, 7, 32, 7, 34, 35, 7, 7, 7, 39,
40, 41, 7, 7, 7, 7, 46, 7, 48, 49,
50, 51, 52, 53, 54, 7, 7, 191, 35, 59,
156, 271, 62, 113, 25, 178, 139, 17
}

Definition at line 1600 of file cfgparse.tab.c.

int yydebug

Definition at line 1911 of file cfgparse.tab.c.

const yytype_uint8 yydefact[]
static

Definition at line 1465 of file cfgparse.tab.c.

const yytype_int16 yydefgoto[]
static
Initial value:
=
{
-1, 1, 36, 211, 170, 38, 39, 70, 74, 71,
40, 89, 90, 188, 156, 157, 85, 174, 131, 41,
191, 248, 42, 163, 212, 213, 214, 215, 216, 217,
265, 218, 254, 219, 262, 220, 221, 222, 223, 224,
225, 226, 227, 228, 229, 230, 43, 44, 45, 46,
105, 47, 110, 48, 49, 115, 123, 50, 124, 51,
52, 53, 54, 55, 56, 57, 58, 234, 145, 59,
91, 60, 61, 62, 63, 166, 95, 64, 65, 66,
67, 98, 79, 80, 68, 135
}

Definition at line 1499 of file cfgparse.tab.c.

FILE * yyin = (FILE *) 0

Definition at line 338 of file cfgparse.yy.c.

YYSTYPE yylval

Definition at line 2213 of file cfgparse.tab.c.

Referenced by yyparse().

int yynerrs

Definition at line 2216 of file cfgparse.tab.c.

Referenced by yyparse().

const yytype_int16 yypact[]
static

Definition at line 1515 of file cfgparse.tab.c.

const yytype_int16 yypgoto[]
static
Initial value:
=
{
-149, -149, -149, -1, -148, -149, 36, -149, -149, 178,
-149, 193, -149, -149, -149, 74, -149, -149, -149, -149,
-149, -149, -149, -40, -149, -149, -149, -149, -149, -149,
-149, -149, -149, -149, -149, -149, -149, -149, -149, -149,
-149, -149, -149, -149, -149, -149, -149, -149, -149, -149,
-149, -149, -149, -149, -149, 209, -26, -149, -149, -149,
-149, -149, -149, -149, -149, -149, -149, -149, 57, -149,
-149, -149, -149, -149, -149, 120, 220, -149, -149, -149,
-149, -13, -58, 97, -149, -149
}

Definition at line 1549 of file cfgparse.tab.c.

const yytype_uint16 yyprhs[]
static
Initial value:
=
{
0, 0, 3, 4, 7, 10, 12, 14, 16, 18,
20, 22, 24, 26, 28, 30, 32, 34, 36, 38,
40, 42, 44, 46, 48, 50, 52, 54, 56, 58,
60, 62, 64, 66, 68, 70, 72, 74, 76, 78,
81, 84, 89, 94, 95, 97, 101, 102, 106, 108,
110, 113, 115, 119, 123, 127, 131, 135, 139, 143,
147, 149, 151, 153, 155, 157, 160, 166, 167, 170,
172, 174, 179, 180, 183, 185, 187, 189, 191, 193,
195, 197, 199, 201, 203, 205, 207, 209, 211, 213,
215, 217, 219, 221, 224, 227, 230, 233, 236, 238,
240, 243, 245, 247, 250, 252, 254, 256, 258, 260,
262, 264, 267, 270, 273, 276, 281, 284, 287, 291,
296, 300, 305, 309, 314, 318, 323, 328, 333, 336,
339, 341, 343, 345, 348, 353, 355, 357, 359, 362,
365, 368, 370, 372, 375, 377, 379, 382, 384, 386,
388, 390, 392, 395, 398, 401, 404, 407, 410, 413,
419, 423, 424, 426, 428, 430, 432, 436, 440, 442,
444, 447, 450, 454, 458, 459, 461, 462, 464, 467,
470, 473, 478, 484, 486, 487, 489, 493, 496, 498,
500, 502, 505, 507
}

Definition at line 1228 of file cfgparse.tab.c.

const yytype_uint8 yyr1[]
static
Initial value:
=
{
0, 108, 109, 109, 109, 110, 110, 110, 110, 110,
110, 110, 110, 110, 110, 110, 110, 110, 110, 110,
110, 110, 110, 110, 110, 110, 110, 110, 110, 110,
110, 110, 110, 110, 110, 110, 111, 112, 113, 114,
114, 115, 116, 117, 117, 118, 119, 119, 120, 121,
122, 122, 123, 123, 123, 123, 123, 123, 123, 123,
124, 124, 125, 125, 126, 126, 127, 128, 128, 129,
129, 130, 131, 131, 132, 132, 132, 132, 132, 132,
132, 132, 132, 132, 132, 132, 132, 132, 132, 132,
132, 132, 132, 133, 134, 135, 136, 137, 138, 138,
139, 140, 140, 141, 142, 142, 142, 142, 142, 142,
142, 143, 144, 145, 146, 147, 148, 149, 150, 150,
151, 151, 152, 152, 153, 153, 154, 155, 156, 157,
158, 158, 158, 159, 159, 160, 160, 160, 161, 162,
163, 163, 163, 163, 164, 164, 165, 166, 166, 166,
166, 166, 167, 168, 169, 170, 171, 172, 173, 174,
174, 175, 175, 176, 176, 176, 177, 177, 178, 178,
179, 180, 181, 182, 183, 183, 184, 184, 185, 186,
187, 188, 188, 189, 190, 190, 190, 190, 191, 191,
191, 192, 193, 193
}

Definition at line 1413 of file cfgparse.tab.c.

const yytype_uint8 yyr2[]
static
Initial value:
=
{
0, 2, 0, 2, 2, 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, 2,
2, 4, 4, 0, 1, 3, 0, 3, 1, 1,
2, 1, 3, 3, 3, 3, 3, 3, 3, 3,
1, 1, 1, 1, 1, 2, 5, 0, 2, 1,
1, 4, 0, 2, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 2, 2, 2, 2, 2, 1, 1,
2, 1, 1, 2, 1, 1, 1, 1, 1, 1,
1, 2, 2, 2, 2, 4, 2, 2, 3, 4,
3, 4, 3, 4, 3, 4, 4, 4, 2, 2,
1, 1, 1, 2, 4, 1, 1, 1, 2, 2,
2, 1, 1, 2, 1, 1, 2, 1, 1, 1,
1, 1, 2, 2, 2, 2, 2, 2, 2, 5,
3, 0, 1, 1, 1, 1, 3, 3, 1, 1,
2, 2, 3, 3, 0, 1, 0, 1, 2, 2,
2, 4, 5, 1, 0, 1, 3, 2, 1, 1,
1, 2, 1, 1
}

Definition at line 1438 of file cfgparse.tab.c.

const yytype_int16 yyrhs[]
static

Definition at line 1253 of file cfgparse.tab.c.

const yytype_uint16 yyrline[]
static
Initial value:
=
{
0, 843, 843, 844, 845, 849, 850, 851, 852, 853,
854, 855, 856, 857, 858, 859, 860, 861, 862, 863,
864, 865, 866, 867, 868, 869, 870, 871, 872, 873,
874, 875, 876, 877, 878, 879, 883, 887, 891, 898,
899, 903, 918, 933, 934, 938, 953, 954, 961, 969,
976, 977, 981, 987, 993, 999, 1014, 1029, 1035, 1041,
1058, 1059, 1063, 1064, 1071, 1072, 1076, 1099, 1101, 1105,
1106, 1118, 1145, 1147, 1151, 1152, 1153, 1154, 1155, 1156,
1157, 1158, 1159, 1160, 1161, 1162, 1163, 1164, 1165, 1166,
1167, 1168, 1169, 1173, 1182, 1191, 1202, 1211, 1219, 1220,
1224, 1232, 1233, 1237, 1244, 1245, 1246, 1247, 1248, 1249,
1250, 1254, 1263, 1273, 1281, 1290, 1299, 1307, 1315, 1322,
1333, 1340, 1351, 1358, 1368, 1375, 1385, 1395, 1405, 1413,
1421, 1422, 1423, 1427, 1451, 1472, 1473, 1474, 1478, 1486,
1494, 1500, 1505, 1510, 1518, 1522, 1534, 1542, 1543, 1544,
1545, 1546, 1550, 1558, 1566, 1574, 1582, 1590, 1598, 1606,
1640, 1658, 1659, 1663, 1664, 1665, 1669, 1731, 1747, 1748,
1752, 1759, 1766, 1776, 1786, 1787, 1791, 1792, 1796, 1804,
1815, 1823, 1831, 1843, 1852, 1853, 1854, 1855, 1859, 1860,
1861, 1865, 1873, 1874
}

Definition at line 1309 of file cfgparse.tab.c.

const yytype_uint8 yystos[]
static

Definition at line 1630 of file cfgparse.tab.c.

const yytype_uint16 yytable[]
static
Initial value:
=
{
37, 125, 126, 127, 171, 129, 99, 132, 172, 173,
86, 83, 4, 137, 6, 69, 8, 138, 6, 117,
118, 142, 143, 232, 87, 72, 233, 81, 84, 148,
149, 150, 151, 152, 153, 154, 155, 144, 187, 148,
149, 150, 151, 152, 153, 154, 155, 117, 118, 6,
133, 134, 119, 120, 73, 106, 107, 108, 109, 121,
76, 77, 78, 122, 111, 112, 113, 114, 82, 92,
192, 193, 194, 195, 263, 264, 196, 102, 103, 104,
252, 253, 93, 94, 197, 97, 161, 198, 199, 200,
201, 202, 203, 204, 205, 206, 207, 208, 209, 100,
101, 192, 193, 194, 195, 128, 88, 196, 139, 245,
130, 88, 139, 210, 140, 197, 141, 139, 198, 199,
200, 201, 202, 203, 204, 205, 206, 207, 208, 209,
255, 256, 257, 258, 259, 260, 261, 146, 147, 158,
159, 160, 162, 164, 283, 165, 168, 178, 190, 169,
176, 177, 179, 231, 180, 181, 182, 183, 184, 185,
186, 236, 237, 238, 239, 240, 241, 242, 243, 249,
2, 3, 250, 251, 266, 269, 270, 244, 267, 4,
5, 6, 7, 8, 268, 271, 75, 9, 10, 11,
246, 12, 272, 13, 273, 14, 15, 16, 17, 18,
19, 274, 20, 275, 21, 22, 276, 277, 279, 23,
24, 25, 280, 281, 282, 284, 26, 285, 27, 28,
29, 30, 31, 32, 33, 286, 287, 247, 136, 34,
189, 278, 35, 167, 116, 235, 175, 96
}

Definition at line 1566 of file cfgparse.tab.c.

const char* const yytname[]
static

Definition at line 1337 of file cfgparse.tab.c.

const yytype_uint8 yytranslate[]
static

Definition at line 1185 of file cfgparse.tab.c.