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   234
#define YYNTOKENS   105
#define YYNNTS   83
#define YYNRULES   186
#define YYNSTATES   279
#define YYUNDEFTOK   2
#define YYMAXUTOK   353
#define YYTRANSLATE(YYX)   ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
#define YYPACT_NINF   -140
#define YYTABLE_NINF   -1
#define yypact_value_is_default(yystate)   ((yystate) == (-140))
#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_BAR = 288, TOK_ORIENTATION = 289,
  TOK_HORIZ = 290, TOK_VERT = 291, TOK_AUTO = 292, TOK_WORKSPACE_LAYOUT = 293,
  TOKNEWWINDOW = 294, TOKNEWFLOAT = 295, TOK_NORMAL = 296, TOK_NONE = 297,
  TOK_1PIXEL = 298, TOK_HIDE_EDGE_BORDERS = 299, TOK_BOTH = 300, TOKFOCUSFOLLOWSMOUSE = 301,
  TOK_FORCE_FOCUS_WRAPPING = 302, TOK_FORCE_XINERAMA = 303, TOK_FAKE_OUTPUTS = 304, TOK_WORKSPACE_AUTO_BAF = 305,
  TOKWORKSPACEBAR = 306, TOK_DEFAULT = 307, TOK_STACKING = 308, TOK_TABBED = 309,
  TOKSTACKLIMIT = 310, TOK_POPUP_DURING_FULLSCREEN = 311, TOK_IGNORE = 312, TOK_LEAVE_FULLSCREEN = 313,
  TOK_FOR_WINDOW = 314, TOK_BAR_OUTPUT = 315, TOK_BAR_TRAY_OUTPUT = 316, TOK_BAR_SOCKET_PATH = 317,
  TOK_BAR_MODE = 318, TOK_BAR_HIDE = 319, TOK_BAR_DOCK = 320, TOK_BAR_MODIFIER = 321,
  TOK_BAR_CONTROL = 322, TOK_BAR_SHIFT = 323, TOK_BAR_MOD1 = 324, TOK_BAR_MOD2 = 325,
  TOK_BAR_MOD3 = 326, TOK_BAR_MOD4 = 327, TOK_BAR_MOD5 = 328, TOK_BAR_POSITION = 329,
  TOK_BAR_BOTTOM = 330, TOK_BAR_TOP = 331, TOK_BAR_STATUS_COMMAND = 332, TOK_BAR_I3BAR_COMMAND = 333,
  TOK_BAR_FONT = 334, TOK_BAR_WORKSPACE_BUTTONS = 335, TOK_BAR_VERBOSE = 336, TOK_BAR_COLORS = 337,
  TOK_BAR_COLOR_BACKGROUND = 338, TOK_BAR_COLOR_STATUSLINE = 339, TOK_BAR_COLOR_FOCUSED_WORKSPACE = 340, TOK_BAR_COLOR_ACTIVE_WORKSPACE = 341,
  TOK_BAR_COLOR_INACTIVE_WORKSPACE = 342, TOK_BAR_COLOR_URGENT_WORKSPACE = 343, TOK_NO_STARTUP_ID = 344, TOK_RELEASE = 345,
  TOK_MARK = 346, TOK_CLASS = 347, TOK_INSTANCE = 348, TOK_WINDOW_ROLE = 349,
  TOK_ID = 350, TOK_CON_ID = 351, TOK_TITLE = 352, TOK_URGENT = 353,
  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_BAR = 288, TOK_ORIENTATION = 289,
  TOK_HORIZ = 290, TOK_VERT = 291, TOK_AUTO = 292, TOK_WORKSPACE_LAYOUT = 293,
  TOKNEWWINDOW = 294, TOKNEWFLOAT = 295, TOK_NORMAL = 296, TOK_NONE = 297,
  TOK_1PIXEL = 298, TOK_HIDE_EDGE_BORDERS = 299, TOK_BOTH = 300, TOKFOCUSFOLLOWSMOUSE = 301,
  TOK_FORCE_FOCUS_WRAPPING = 302, TOK_FORCE_XINERAMA = 303, TOK_FAKE_OUTPUTS = 304, TOK_WORKSPACE_AUTO_BAF = 305,
  TOKWORKSPACEBAR = 306, TOK_DEFAULT = 307, TOK_STACKING = 308, TOK_TABBED = 309,
  TOKSTACKLIMIT = 310, TOK_POPUP_DURING_FULLSCREEN = 311, TOK_IGNORE = 312, TOK_LEAVE_FULLSCREEN = 313,
  TOK_FOR_WINDOW = 314, TOK_BAR_OUTPUT = 315, TOK_BAR_TRAY_OUTPUT = 316, TOK_BAR_SOCKET_PATH = 317,
  TOK_BAR_MODE = 318, TOK_BAR_HIDE = 319, TOK_BAR_DOCK = 320, TOK_BAR_MODIFIER = 321,
  TOK_BAR_CONTROL = 322, TOK_BAR_SHIFT = 323, TOK_BAR_MOD1 = 324, TOK_BAR_MOD2 = 325,
  TOK_BAR_MOD3 = 326, TOK_BAR_MOD4 = 327, TOK_BAR_MOD5 = 328, TOK_BAR_POSITION = 329,
  TOK_BAR_BOTTOM = 330, TOK_BAR_TOP = 331, TOK_BAR_STATUS_COMMAND = 332, TOK_BAR_I3BAR_COMMAND = 333,
  TOK_BAR_FONT = 334, TOK_BAR_WORKSPACE_BUTTONS = 335, TOK_BAR_VERBOSE = 336, TOK_BAR_COLORS = 337,
  TOK_BAR_COLOR_BACKGROUND = 338, TOK_BAR_COLOR_STATUSLINE = 339, TOK_BAR_COLOR_FOCUSED_WORKSPACE = 340, TOK_BAR_COLOR_ACTIVE_WORKSPACE = 341,
  TOK_BAR_COLOR_INACTIVE_WORKSPACE = 342, TOK_BAR_COLOR_URGENT_WORKSPACE = 343, TOK_NO_STARTUP_ID = 344, TOK_RELEASE = 345,
  TOK_MARK = 346, TOK_CLASS = 347, TOK_INSTANCE = 348, TOK_WINDOW_ROLE = 349,
  TOK_ID = 350, TOK_CON_ID = 351, TOK_TITLE = 352, TOK_URGENT = 353
}

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

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_int16 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 991 of file cfgparse.tab.c.

Referenced by yyparse(), and yysyntax_error().

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

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

#define YY_NULL   0

Definition at line 761 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 1881 of file cfgparse.tab.c.

Referenced by yyparse().

#define YY_SRC_CFGPARSE_TAB_H

Definition at line 776 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 1843 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 1746 of file cfgparse.tab.c.

Referenced by yydestruct(), and yyparse().

#define YYABORT   goto yyabortlab

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

Referenced by yyparse().

#define YYACCEPT   goto yyacceptlab

Definition at line 1646 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 1668 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 1642 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 1139 of file cfgparse.tab.c.

#define YYCOPY_NEEDED   1

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

#define YYDEBUG   1

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

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

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

Referenced by yyparse().

#define YYEMPTY   (-2)

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

Referenced by yyparse(), and yysyntax_error().

#define YYEOF   0

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

Referenced by yyparse().

#define YYERRCODE   256

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

#define yyerrok   (yyerrstatus = 0)

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

#define YYERROR   goto yyerrorlab

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

#define YYERROR_VERBOSE   1

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

#define YYFAIL   goto yyerrlab

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

#define YYFINAL   2

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

Referenced by yyparse().

#define YYFPRINTF   fprintf

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

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

#define YYFREE   free

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

#define YYID (   n)    (n)

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

Referenced by yyparse().

#define YYINITDEPTH   200

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

Referenced by yyparse().

#define YYLAST   234

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

Referenced by yyparse(), and yysyntax_error().

#define YYLEX   yylex (context)

Definition at line 1729 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 1694 of file cfgparse.tab.c.

#define YYMALLOC   malloc

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

#define YYMAXDEPTH   10000

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

Referenced by yyparse().

#define YYMAXUTOK   353

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

#define YYNNTS   83

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

#define YYNRULES   186

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

#define YYNSTATES   279

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

#define YYNTOKENS   105

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

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

#define YYPACT_NINF   -140

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

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

Definition at line 1573 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 1666 of file cfgparse.tab.c.

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

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

#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)

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

#define YYSIZE_T   unsigned int

Definition at line 977 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 1060 of file cfgparse.tab.c.

Referenced by yyparse().

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

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

Referenced by yysyntax_error().

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

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

Referenced by yyparse().

#define YYSTACK_FREE   YYFREE

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

Referenced by yyparse().

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

Definition at line 1103 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 1118 of file cfgparse.tab.c.

Referenced by yyparse().

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

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

#define YYSTYPE_IS_DECLARED   1

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

#define YYSTYPE_IS_TRIVIAL   1

Definition at line 908 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 1544 of file cfgparse.tab.c.

#define yytable_value_is_error (   yytable_value)    YYID (0)

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

Referenced by yyparse(), and yysyntax_error().

#define YYTERROR   1

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

Referenced by yyparse(), and yysyntax_error().

#define YYTOKENTYPE

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

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

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

Referenced by yyparse().

#define YYUNDEFTOK   2

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

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

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

Referenced by yy_symbol_value_print(), and yydestruct().

Typedef Documentation

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

typedef union YYSTYPE YYSTYPE
typedef short int yytype_int16

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

typedef short int yytype_int8

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

typedef unsigned short int yytype_uint16

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

typedef unsigned char yytype_uint8

Definition at line 943 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_BAR 
TOK_ORIENTATION 
TOK_HORIZ 
TOK_VERT 
TOK_AUTO 
TOK_WORKSPACE_LAYOUT 
TOKNEWWINDOW 
TOKNEWFLOAT 
TOK_NORMAL 
TOK_NONE 
TOK_1PIXEL 
TOK_HIDE_EDGE_BORDERS 
TOK_BOTH 
TOKFOCUSFOLLOWSMOUSE 
TOK_FORCE_FOCUS_WRAPPING 
TOK_FORCE_XINERAMA 
TOK_FAKE_OUTPUTS 
TOK_WORKSPACE_AUTO_BAF 
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_BAR 
TOK_ORIENTATION 
TOK_HORIZ 
TOK_VERT 
TOK_AUTO 
TOK_WORKSPACE_LAYOUT 
TOKNEWWINDOW 
TOKNEWFLOAT 
TOK_NORMAL 
TOK_NONE 
TOK_1PIXEL 
TOK_HIDE_EDGE_BORDERS 
TOK_BOTH 
TOKFOCUSFOLLOWSMOUSE 
TOK_FORCE_FOCUS_WRAPPING 
TOK_FORCE_XINERAMA 
TOK_FAKE_OUTPUTS 
TOK_WORKSPACE_AUTO_BAF 
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 790 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 135 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 450 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 203 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 516 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 305 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 349 of file cfgparse.tab.c.

Referenced by start_configerror_nagbar().

static void yy_reduce_print ( YYSTYPE yyvsp,
int  yyrule 
)
static

Definition at line 1860 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 1829 of file cfgparse.tab.c.

References YYFPRINTF.

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

Definition at line 1803 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 1769 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 2164 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 2218 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_1PIXEL, BS_NONE, BS_NORMAL, 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_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(), 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 1952 of file cfgparse.tab.c.

Referenced by yytnamerr().

static YYSIZE_T yystrlen ( char *  yystr) const
static

Definition at line 1928 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 2025 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 1977 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 125 of file cfgparse.tab.c.

Variable Documentation

pid_t configerror_pid = -1
static

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

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

struct context* context
static

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

Referenced by start_application().

Barconfig current_bar
static

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

struct bindings_head* current_bindings
static

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

Referenced by yyparse().

Match current_match
static
char* edit_script_path
static

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

Referenced by nagbar_exited(), and start_configerror_nagbar().

char* font_pattern
static

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

Referenced by parse_file(), and yyparse().

char * pager_script_path
static

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

Referenced by nagbar_exited(), and start_configerror_nagbar().

int yychar

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

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

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

int yydebug

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

const yytype_uint8 yydefact[]
static

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

const yytype_int16 yydefgoto[]
static
Initial value:
{
-1, 1, 35, 202, 161, 37, 38, 68, 72, 69,
39, 87, 88, 179, 151, 152, 83, 165, 40, 182,
239, 41, 158, 203, 204, 205, 206, 207, 208, 256,
209, 245, 210, 253, 211, 212, 213, 214, 215, 216,
217, 218, 219, 220, 221, 42, 43, 44, 45, 103,
46, 108, 47, 48, 112, 120, 49, 121, 50, 51,
52, 53, 54, 55, 56, 225, 140, 57, 89, 58,
59, 60, 61, 93, 62, 63, 64, 65, 96, 77,
78, 66, 130
}

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

FILE * yyin = (FILE *) 0

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

YYSTYPE yylval

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

Referenced by yyparse().

int yynerrs

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

Referenced by yyparse().

const yytype_int16 yypact[]
static

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

const yytype_int16 yypgoto[]
static
Initial value:
{
-140, -140, -140, -1, -139, -140, 43, -140, -140, 216,
-140, 189, -140, -140, -140, 75, -140, -140, -140, -140,
-140, -140, -35, -140, -140, -140, -140, -140, -140, -140,
-140, -140, -140, -140, -140, -140, -140, -140, -140, -140,
-140, -140, -140, -140, -140, -140, -140, -140, -140, -140,
-140, -140, -140, -140, 203, -26, -140, -140, -140, -140,
-140, -140, -140, -140, -140, -140, 61, -140, -140, -140,
-140, -140, -140, 217, -140, -140, -140, -140, -12, -54,
97, -140, -140
}

Definition at line 1528 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, 79,
82, 87, 92, 93, 95, 99, 100, 104, 106, 108,
111, 113, 117, 121, 125, 129, 133, 137, 141, 145,
147, 149, 151, 153, 159, 160, 163, 165, 167, 172,
173, 176, 178, 180, 182, 184, 186, 188, 190, 192,
194, 196, 198, 200, 202, 204, 206, 208, 210, 212,
214, 217, 220, 223, 226, 229, 231, 233, 236, 238,
240, 243, 245, 247, 249, 251, 253, 255, 257, 260,
263, 266, 269, 274, 277, 280, 284, 289, 293, 298,
302, 307, 311, 316, 321, 326, 329, 332, 334, 336,
338, 341, 346, 348, 350, 352, 355, 358, 360, 362,
364, 366, 368, 371, 373, 375, 377, 379, 381, 384,
387, 390, 393, 396, 399, 405, 409, 410, 412, 414,
416, 418, 422, 426, 428, 430, 433, 436, 440, 444,
445, 447, 450, 453, 456, 461, 467, 469, 470, 472,
476, 479, 481, 483, 485, 488, 490
}

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

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

Definition at line 1396 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, 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, 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, 1, 1, 1,
1, 1, 2, 1, 1, 1, 1, 1, 2, 2,
2, 2, 2, 2, 5, 3, 0, 1, 1, 1,
1, 3, 3, 1, 1, 2, 2, 3, 3, 0,
1, 2, 2, 2, 4, 5, 1, 0, 1, 3,
2, 1, 1, 1, 2, 1, 1
}

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

const yytype_int16 yyrhs[]
static

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

const yytype_uint16 yyrline[]
static
Initial value:
{
0, 829, 829, 830, 831, 835, 836, 837, 838, 839,
840, 841, 842, 843, 844, 845, 846, 847, 848, 849,
850, 851, 852, 853, 854, 855, 856, 857, 858, 859,
860, 861, 862, 863, 864, 868, 872, 876, 883, 884,
888, 903, 918, 919, 923, 938, 939, 946, 954, 961,
962, 966, 972, 978, 984, 999, 1014, 1020, 1026, 1043,
1044, 1048, 1049, 1056, 1079, 1081, 1085, 1086, 1098, 1125,
1127, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139,
1140, 1141, 1142, 1143, 1144, 1145, 1146, 1147, 1148, 1149,
1153, 1162, 1171, 1182, 1191, 1199, 1200, 1204, 1212, 1213,
1217, 1224, 1225, 1226, 1227, 1228, 1229, 1230, 1234, 1243,
1253, 1261, 1270, 1279, 1287, 1295, 1302, 1313, 1320, 1331,
1338, 1348, 1355, 1365, 1375, 1385, 1393, 1401, 1402, 1403,
1407, 1431, 1452, 1453, 1454, 1458, 1466, 1474, 1475, 1476,
1480, 1484, 1496, 1504, 1505, 1506, 1507, 1508, 1512, 1520,
1528, 1536, 1544, 1552, 1560, 1594, 1612, 1613, 1617, 1618,
1619, 1623, 1685, 1701, 1702, 1706, 1713, 1720, 1730, 1740,
1741, 1745, 1753, 1764, 1772, 1780, 1792, 1801, 1802, 1803,
1804, 1808, 1809, 1810, 1814, 1822, 1823
}

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

const yytype_uint8 yystos[]
static

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

const yytype_uint16 yytable[]
static
Initial value:
{
36, 122, 123, 124, 162, 126, 127, 97, 163, 164,
84, 81, 4, 67, 6, 132, 8, 114, 115, 133,
6, 137, 138, 223, 85, 70, 224, 71, 82, 143,
144, 145, 146, 147, 148, 149, 150, 139, 178, 143,
144, 145, 146, 147, 148, 149, 150, 114, 115, 116,
117, 79, 104, 105, 106, 107, 118, 243, 244, 119,
74, 75, 76, 80, 6, 100, 101, 102, 90, 183,
184, 185, 186, 128, 129, 187, 109, 110, 111, 91,
92, 254, 255, 188, 95, 156, 189, 190, 191, 192,
193, 194, 195, 196, 197, 198, 199, 200, 99, 98,
125, 86, 134, 86, 135, 134, 236, 136, 141, 134,
142, 153, 201, 183, 184, 185, 186, 154, 155, 187,
157, 159, 160, 167, 168, 170, 169, 188, 171, 172,
189, 190, 191, 192, 193, 194, 195, 196, 197, 198,
199, 200, 173, 174, 181, 246, 247, 248, 249, 250,
251, 252, 175, 176, 222, 177, 274, 227, 228, 229,
230, 2, 3, 231, 232, 233, 260, 261, 234, 235,
4, 5, 6, 7, 8, 240, 241, 242, 9, 10,
11, 237, 12, 257, 13, 258, 14, 15, 16, 17,
18, 19, 259, 20, 21, 22, 262, 263, 264, 23,
24, 25, 265, 266, 267, 26, 268, 27, 28, 29,
30, 31, 32, 270, 271, 272, 273, 33, 275, 276,
34, 277, 278, 131, 73, 238, 180, 269, 113, 0,
226, 166, 0, 0, 94
}

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

const char* const yytname[]
static

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

const yytype_uint8 yytranslate[]
static

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