i3
Data Structures | Defines | Typedefs | Enumerations | Functions | Variables
src/cfgparse.tab.c File Reference
#include <stdio.h>
#include <string.h>
#include <xcb/xcb.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdlib.h>
#include <errno.h>
#include "data.h"
#include "config.h"
#include "i3.h"
#include "util.h"
#include "queue.h"
#include "table.h"
#include "workspace.h"
#include "xcb.h"
#include "log.h"
Include dependency graph for cfgparse.tab.c:

Go to the source code of this file.

Data Structures

union  YYSTYPE
union  yyalloc

Defines

#define YYBISON   1
#define YYBISON_VERSION   "2.4.3"
#define YYSKELETON_NAME   "yacc.c"
#define YYPURE   0
#define YYPUSH   0
#define YYPULL   1
#define YYLSP_NEEDED   0
#define YYDEBUG   1
#define YYERROR_VERBOSE   1
#define YYTOKEN_TABLE   0
#define YYTOKENTYPE
#define YYSTYPE_IS_TRIVIAL   1
#define yystype   YYSTYPE
#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(To, From, Count)
#define YYSTACK_RELOCATE(Stack_alloc, Stack)
#define YYFINAL   2
#define YYLAST   123
#define YYNTOKENS   41
#define YYNNTS   35
#define YYNRULES   73
#define YYNSTATES   132
#define YYUNDEFTOK   2
#define YYMAXUTOK   290
#define YYTRANSLATE(YYX)   ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
#define YYPACT_NINF   -52
#define YYTABLE_NINF   -1
#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 YYRHSLOC(Rhs, K)   ((Rhs)[K])
#define YYLLOC_DEFAULT(Current, Rhs, N)
#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 YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))

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,
  HEX = 262, OUTPUT = 263, TOKBIND = 264, TOKTERMINAL = 265,
  TOKCOMMENT = 266, TOKFONT = 267, TOKBINDSYM = 268, MODIFIER = 269,
  TOKCONTROL = 270, TOKSHIFT = 271, WHITESPACE = 272, TOKFLOATING_MODIFIER = 273,
  QUOTEDSTRING = 274, TOKWORKSPACE = 275, TOKOUTPUT = 276, TOKASSIGN = 277,
  TOKSET = 278, TOKIPCSOCKET = 279, TOKEXEC = 280, TOKSINGLECOLOR = 281,
  TOKCOLOR = 282, TOKARROW = 283, TOKMODE = 284, TOKNEWCONTAINER = 285,
  TOKNEWWINDOW = 286, TOKFOCUSFOLLOWSMOUSE = 287, TOKWORKSPACEBAR = 288, TOKCONTAINERMODE = 289,
  TOKSTACKLIMIT = 290, NUMBER = 258, WORD = 259, STR = 260,
  STR_NG = 261, HEX = 262, OUTPUT = 263, TOKBIND = 264,
  TOKTERMINAL = 265, TOKCOMMENT = 266, TOKFONT = 267, TOKBINDSYM = 268,
  MODIFIER = 269, TOKCONTROL = 270, TOKSHIFT = 271, WHITESPACE = 272,
  TOKFLOATING_MODIFIER = 273, QUOTEDSTRING = 274, TOKWORKSPACE = 275, TOKOUTPUT = 276,
  TOKASSIGN = 277, TOKSET = 278, TOKIPCSOCKET = 279, TOKEXEC = 280,
  TOKSINGLECOLOR = 281, TOKCOLOR = 282, TOKARROW = 283, TOKMODE = 284,
  TOKNEWCONTAINER = 285, TOKNEWWINDOW = 286, TOKFOCUSFOLLOWSMOUSE = 287, TOKWORKSPACEBAR = 288,
  TOKCONTAINERMODE = 289, TOKSTACKLIMIT = 290
}

Functions

int yylex (struct context *context)
int yyparse (void)
YY_BUFFER_STATE yy_scan_string (const char *)
void yyerror (const char *error_message)
int yywrap ()
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 YYSIZE_T yysyntax_error (char *yyresult, int yystate, int yychar)
static void yydestruct (char *yymsg, int yytype, YYSTYPE *yyvaluep) const

Variables

FILE * yyin = (FILE *) 0
static struct bindings_head * current_bindings
static struct contextcontext
static const yytype_uint8 yytranslate []
static const yytype_uint8 yyprhs []
static const yytype_int8 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_int8 yypact []
static const yytype_int8 yypgoto []
static const yytype_uint8 yytable []
static const yytype_int16 yycheck []
static const yytype_uint8 yystos []
int yydebug
int yychar
YYSTYPE yylval
int yynerrs

Define Documentation

#define YY_ (   msgid)    msgid

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

Referenced by yyparse(), and yysyntax_error().

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

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

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

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

Referenced by yyparse().

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

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

Referenced by yydestruct(), and yyparse().

#define YYABORT   goto yyabortlab

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

Referenced by yyparse().

#define YYACCEPT   goto yyacceptlab

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

Referenced by yyparse().

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

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

#define YYBISON   1

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

#define YYBISON_VERSION   "2.4.3"

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

#define yyclearin   (yychar = YYEMPTY)

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

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

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

#define YYDEBUG   1

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

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

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

Referenced by yyparse().

#define YYEMPTY   (-2)

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

Referenced by yyparse().

#define YYEOF   0

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

Referenced by yyparse().

#define YYERRCODE   256

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

#define yyerrok   (yyerrstatus = 0)

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

#define YYERROR   goto yyerrorlab

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

#define YYERROR_VERBOSE   1

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

#define YYFAIL   goto yyerrlab

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

#define YYFINAL   2

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

Referenced by yyparse().

#define YYFPRINTF   fprintf

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

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

#define YYFREE   free

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

#define YYID (   n)    (n)

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

Referenced by yyparse().

#define YYINITDEPTH   200

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

Referenced by yyparse().

#define YYLAST   123

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

Referenced by yyparse(), and yysyntax_error().

#define YYLEX   yylex (context)

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

#define YYLSP_NEEDED   0

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

#define YYMALLOC   malloc

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

#define YYMAXDEPTH   10000

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

Referenced by yyparse().

#define YYMAXUTOK   290

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

#define YYNNTS   35

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

#define YYNRULES   73

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

#define YYNSTATES   132

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

#define YYNTOKENS   41

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

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

#define YYPACT_NINF   -52

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

#define YYPURE   0

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

#define YYPUSH   0

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

#define YYRECOVERING ( )    (!!yyerrstatus)

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

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

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

#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)

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

Referenced by yysyntax_error().

#define YYSIZE_T   unsigned int

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

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

#define YYSKELETON_NAME   "yacc.c"

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

#define YYSTACK_ALLOC   YYMALLOC

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

Referenced by yyparse().

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

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

Referenced by yyparse().

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

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

Referenced by yyparse().

#define YYSTACK_FREE   YYFREE

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

Referenced by yyparse().

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

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

Referenced by yyparse().

#define yystype   YYSTYPE

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

#define YYSTYPE_IS_DECLARED   1

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

#define YYSTYPE_IS_TRIVIAL   1

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

#define YYTABLE_NINF   -1

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

Referenced by yyparse().

#define YYTERROR   1

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

Referenced by yyparse(), and yysyntax_error().

#define YYTOKEN_TABLE   0

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

#define YYTOKENTYPE

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

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

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

Referenced by yyparse(), and yysyntax_error().

#define YYUNDEFTOK   2

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

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

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

typedef short int yytype_int8

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

typedef unsigned short int yytype_uint16

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

typedef unsigned char yytype_uint8

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


Enumeration Type Documentation

Enumerator:
NUMBER 
WORD 
STR 
STR_NG 
HEX 
OUTPUT 
TOKBIND 
TOKTERMINAL 
TOKCOMMENT 
TOKFONT 
TOKBINDSYM 
MODIFIER 
TOKCONTROL 
TOKSHIFT 
WHITESPACE 
TOKFLOATING_MODIFIER 
QUOTEDSTRING 
TOKWORKSPACE 
TOKOUTPUT 
TOKASSIGN 
TOKSET 
TOKIPCSOCKET 
TOKEXEC 
TOKSINGLECOLOR 
TOKCOLOR 
TOKARROW 
TOKMODE 
TOKNEWCONTAINER 
TOKNEWWINDOW 
TOKFOCUSFOLLOWSMOUSE 
TOKWORKSPACEBAR 
TOKCONTAINERMODE 
TOKSTACKLIMIT 
NUMBER 
WORD 
STR 
STR_NG 
HEX 
OUTPUT 
TOKBIND 
TOKTERMINAL 
TOKCOMMENT 
TOKFONT 
TOKBINDSYM 
MODIFIER 
TOKCONTROL 
TOKSHIFT 
WHITESPACE 
TOKFLOATING_MODIFIER 
QUOTEDSTRING 
TOKWORKSPACE 
TOKOUTPUT 
TOKASSIGN 
TOKSET 
TOKIPCSOCKET 
TOKEXEC 
TOKSINGLECOLOR 
TOKCOLOR 
TOKARROW 
TOKMODE 
TOKNEWCONTAINER 
TOKNEWWINDOW 
TOKFOCUSFOLLOWSMOUSE 
TOKWORKSPACEBAR 
TOKCONTAINERMODE 
TOKSTACKLIMIT 

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


Function Documentation

void parse_file ( const char *  f)
static void yy_reduce_print ( YYSTYPE yyvsp,
int  yyrule 
) [static]

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

References YYFPRINTF.

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

Definition at line 1041 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 1009 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 1376 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 yyparse ( void  )

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

References Assignment::ASSIGN_FLOATING, Assignment::ASSIGN_FLOATING_NO, Assignment::ASSIGN_FLOATING_ONLY, YYSTYPE::assignment, assignments, autostarts, Colortriple::background, BIND_CONTROL, BIND_SHIFT, YYSTYPE::binding, Mode::bindings, bindings, Colortriple::border, YYSTYPE::color, Binding::command, config, Config::container_mode, Config::container_stack_limit, Config::container_stack_limit_value, current_bindings, Config::default_border, die, Config::disable_focus_follows_mouse, Config::disable_workspace_bar, DLOG, ELOG, Config::floating_modifier, Config::font, get_colorpixel(), global_conn, Config::ipc_socket_path, Binding::keycode, modes, Binding::mods, Mode::name, YYSTYPE::number, Workspace::preferred_output, scalloc(), YYSTYPE::single_color, SLIST_INSERT_HEAD, smalloc(), sstrdup(), Container::stack_limit, Container::stack_limit_value, YYSTYPE::string, switch_layout_mode(), Binding::symbol, Workspace::table, TAILQ_FOREACH, TAILQ_INIT, TAILQ_INSERT_TAIL, Colortriple::text, workspace_get(), workspace_set_name(), workspaces, YY_, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, yyalloc(), yydestruct(), YYDPRINTF, YYEMPTY, YYEOF, yyerror(), YYFINAL, YYID, YYINITDEPTH, YYLAST, YYLEX, yylval, YYMAXDEPTH, yynerrs, YYNTOKENS, YYPACT_NINF, YYPOPSTACK, YYSIZE_T, yyalloc::yyss_alloc, YYSTACK_ALLOC, YYSTACK_ALLOC_MAXIMUM, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yysyntax_error(), YYTABLE_NINF, 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 1191 of file cfgparse.tab.c.

Referenced by yysyntax_error(), and yytnamerr().

static YYSIZE_T yystrlen ( char *  yystr) const [static]

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

References YYSIZE_T.

Referenced by yysyntax_error(), and yytnamerr().

static YYSIZE_T yysyntax_error ( char *  yyresult,
int  yystate,
int  yychar 
) [static]

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

References YY_, YYLAST, YYNTOKENS, YYPACT_NINF, YYSIZE_MAXIMUM, YYSIZE_T, yystpcpy(), yystrlen(), YYTERROR, yytnamerr(), and YYTRANSLATE.

Referenced by yyparse().

Here is the call graph for this function:

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

Definition at line 1216 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

struct context* context [static]

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

struct bindings_head* current_bindings [static]

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

Referenced by yyparse().

int yychar

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

const yytype_int16 yycheck[] [static]
Initial value:
{
      51,     3,     4,     3,     3,     9,    39,    11,     6,    13,
       4,     5,    17,    17,     4,     5,    17,    14,    15,    16,
      43,    19,    45,    34,    35,    19,    17,    21,    17,    19,
       3,     4,    17,    37,    17,    17,    17,    17,    40,    38,
      40,    17,    93,     0,     1,    17,    17,    17,    17,    17,
      17,     5,     9,    10,    11,    12,    13,     5,     3,     5,
      17,    18,     5,    20,    19,    22,   117,    24,    25,    26,
      27,     4,    29,    30,    31,    32,    33,     9,    10,    11,
      12,    13,    40,    17,     7,    36,    18,    17,    20,    17,
      22,    17,    24,    25,    26,    27,    17,    29,    30,    31,
      32,    33,    17,    17,    28,     5,    35,    17,    17,    17,
      17,     8,     3,     3,    17,     9,    56,   129,    -1,    98,
      86,    -1,   118,   118
}

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

int yydebug

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

const yytype_uint8 yydefact[] [static]
Initial value:
{
       2,     0,     1,     4,     0,     0,    22,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
       0,     0,     5,    21,     6,    24,     7,     8,     9,    10,
      11,    12,    13,    14,    15,    16,    19,    20,    17,    18,
      67,     0,     0,    67,     3,    67,     0,     0,     0,     0,
       0,     0,     0,     0,     0,     0,     0,    71,    72,    73,
      25,     0,    68,    62,    63,    26,     0,    37,     0,    57,
      56,     0,    60,    61,     0,    64,     0,     0,    38,     0,
      40,    41,    42,    43,    44,     0,    70,    30,    29,     0,
       0,    58,    66,     0,     0,     0,     0,    69,     0,    51,
      50,    49,     0,    46,     0,     0,     0,    32,     0,    23,
      27,    28,     0,    59,    53,    54,    52,     0,     0,     0,
      47,    55,    65,    34,    31,    35,    36,    33,    39,     0,
      45,    48
}

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

const yytype_int16 yydefgoto[] [static]
Initial value:
{
      -1,     1,    22,    23,   110,    24,    25,    60,    65,    89,
      26,   118,   127,    27,    28,    29,    83,    30,    31,    32,
     130,   103,    33,   116,    71,   105,    34,    35,    36,    37,
      38,    39,    75,    61,    62
}

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

FILE * yyin = (FILE *) 0

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

Referenced by yy_init_globals(), yyget_in(), and yyset_in().

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

Referenced by yyparse().

int yynerrs

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

Referenced by yyparse().

const yytype_int8 yypact[] [static]
Initial value:
{
     -52,    43,   -52,   -52,    -5,    -1,   -52,     9,    11,    68,
      15,    17,    18,    19,    20,    24,    28,    29,    30,    31,
      32,    33,   -52,   -52,   -52,   -52,   -52,   -52,   -52,   -52,
     -52,   -52,   -52,   -52,   -52,   -52,   -52,   -52,   -52,   -52,
       3,    46,    52,     3,   -52,     3,    55,     2,    54,    57,
     -33,   -33,    45,   -11,    67,    27,    27,   -52,   -52,   -52,
     -52,     0,   -52,   -52,   -52,   -52,    -2,    42,    66,   -52,
     -52,    70,   -52,   -52,    77,   -52,    72,    74,   -52,    79,
     -52,   -52,   -52,   -52,   -52,    85,     3,   -52,   -52,    86,
       6,    76,   -52,   -33,    49,    71,   100,   -52,   100,   -52,
     -52,   -52,    90,   -52,    91,     1,    92,   -52,    93,   -52,
     -52,   -52,   103,   -52,   -52,   109,   -52,   -33,    -4,   110,
      97,   -52,   -52,   -52,   -52,   -52,   -52,   -52,   -52,    10,
     -52,   -52
}

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

const yytype_int8 yypgoto[] [static]
Initial value:
{
     -52,   -52,   106,     4,    21,   -52,     5,   -52,   -52,   -52,
     -52,   -52,   -52,   -52,   -52,   -52,    60,   -52,   -52,   -52,
     -52,   -12,   -52,   -52,   -52,   -52,   -52,   -52,   -52,   -52,
     -52,   -52,   -51,   -23,    34
}

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

const yytype_uint8 yyprhs[] [static]
Initial value:
{
       0,     0,     3,     4,     8,    11,    14,    16,    18,    20,
      22,    24,    26,    28,    30,    32,    34,    36,    38,    40,
      42,    44,    46,    48,    50,    52,    56,    60,    65,    70,
      72,    74,    82,    83,    86,    88,    90,    92,    96,   100,
     108,   112,   114,   116,   120,   124,   133,   139,   140,   143,
     145,   147,   149,   156,   158,   160,   163,   165,   167,   168,
     171,   175,   179,   183,   187,   191,   199,   202,   203,   205,
     209,   212,   214,   216
}

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

const yytype_uint8 yyr1[] [static]
Initial value:
{
       0,    41,    42,    42,    42,    42,    43,    43,    43,    43,
      43,    43,    43,    43,    43,    43,    43,    43,    43,    43,
      43,    43,    44,    45,    46,    47,    47,    48,    49,    50,
      50,    51,    52,    52,    53,    53,    53,    54,    55,    55,
      56,    57,    57,    58,    59,    60,    60,    61,    61,    62,
      62,    62,    63,    64,    64,    64,    65,    65,    66,    66,
      67,    68,    69,    70,    71,    72,    73,    74,    74,    74,
      74,    75,    75,    75
}

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

const yytype_uint8 yyr2[] [static]
Initial value:
{
       0,     2,     0,     3,     2,     2,     1,     1,     1,     1,
       1,     1,     1,     1,     1,     1,     1,     1,     1,     1,
       1,     1,     1,     1,     1,     3,     3,     4,     4,     1,
       1,     7,     0,     2,     1,     1,     1,     3,     3,     7,
       3,     1,     1,     3,     3,     8,     5,     0,     2,     1,
       1,     1,     6,     1,     1,     2,     1,     1,     0,     2,
       3,     3,     3,     3,     3,     7,     2,     0,     1,     3,
       2,     1,     1,     1
}

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

const yytype_int8 yyrhs[] [static]
Initial value:
{
      42,     0,    -1,    -1,    42,    17,    43,    -1,    42,     1,
      -1,    42,    43,    -1,    46,    -1,    51,    -1,    54,    -1,
      55,    -1,    56,    -1,    58,    -1,    59,    -1,    60,    -1,
      63,    -1,    67,    -1,    68,    -1,    71,    -1,    72,    -1,
      69,    -1,    70,    -1,    44,    -1,    11,    -1,     5,    -1,
      47,    -1,     9,    17,    48,    -1,    13,    17,    49,    -1,
      74,     3,    17,    45,    -1,    74,    50,    17,    45,    -1,
       4,    -1,     3,    -1,    29,    17,    19,    17,    36,    52,
      37,    -1,    -1,    52,    53,    -1,    17,    -1,    44,    -1,
      47,    -1,    18,    17,    74,    -1,    30,    17,    34,    -1,
      30,    17,    35,    17,    35,    17,     3,    -1,    31,    17,
       4,    -1,     3,    -1,     4,    -1,    32,    17,    57,    -1,
      33,    17,    57,    -1,    20,    17,     3,    17,    21,    17,
       8,    61,    -1,    20,    17,     3,    17,    62,    -1,    -1,
      17,    62,    -1,    19,    -1,     5,    -1,     4,    -1,    22,
      17,    65,    17,    66,    64,    -1,     3,    -1,    38,    -1,
      38,     3,    -1,    19,    -1,     6,    -1,    -1,    28,    17,
      -1,    24,    17,     5,    -1,    25,    17,     5,    -1,    10,
      17,     5,    -1,    12,    17,     5,    -1,    26,    17,    73,
      -1,    27,    17,    73,    17,    73,    17,    73,    -1,    39,
       7,    -1,    -1,    75,    -1,    74,    40,    75,    -1,    74,
      40,    -1,    14,    -1,    15,    -1,    16,    -1
}

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

const yytype_uint16 yyrline[] [static]
Initial value:
{
       0,   249,   249,   250,   251,   252,   256,   257,   258,   259,
     260,   261,   262,   263,   264,   265,   266,   267,   268,   269,
     270,   271,   275,   279,   283,   290,   291,   295,   309,   323,
     324,   331,   354,   356,   360,   361,   362,   374,   382,   404,
     423,   431,   435,   447,   455,   463,   477,   493,   494,   498,
     499,   500,   504,   522,   529,   535,   545,   546,   549,   551,
     555,   562,   571,   579,   587,   595,   606,   618,   619,   620,
     621,   625,   626,   627
}

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

const yytype_uint8 yystos[] [static]
Initial value:
{
       0,    42,     0,     1,     9,    10,    11,    12,    13,    17,
      18,    20,    22,    24,    25,    26,    27,    29,    30,    31,
      32,    33,    43,    44,    46,    47,    51,    54,    55,    56,
      58,    59,    60,    63,    67,    68,    69,    70,    71,    72,
      17,    17,    17,    17,    43,    17,    17,    17,    17,    17,
      17,    17,    17,    17,    17,    17,    17,    14,    15,    16,
      48,    74,    75,     5,     5,    49,    74,    74,     3,     6,
      19,    65,     5,     5,    39,    73,    73,    19,    34,    35,
       4,     3,     4,    57,    57,     3,    40,     3,     4,    50,
      17,    17,     7,    17,    17,    17,    17,    75,    17,     4,
       5,    19,    21,    62,    28,    66,    73,    36,    35,     5,
      45,    45,    17,    17,     3,    38,    64,    17,    52,    17,
       8,     3,    73,    17,    37,    44,    47,    53,     3,    17,
      61,    62
}

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

const yytype_uint8 yytable[] [static]
Initial value:
{
      76,    87,    88,    85,   114,     4,    74,     6,    69,     8,
      99,   100,    40,   123,    99,   100,    41,    57,    58,    59,
      66,    70,    67,    78,    79,   101,    42,   102,    43,   101,
      81,    82,    45,   124,    46,    47,    48,    49,    86,   115,
      86,    50,   106,     2,     3,    51,    52,    53,    54,    55,
      56,    63,     4,     5,     6,     7,     8,    64,    68,    72,
       9,    10,    73,    11,    77,    12,   122,    13,    14,    15,
      16,    80,    17,    18,    19,    20,    21,     4,     5,     6,
       7,     8,    86,    90,    92,   107,    10,    91,    11,    93,
      12,    94,    13,    14,    15,    16,    95,    17,    18,    19,
      20,    21,    96,    98,   104,   109,   108,   112,   113,   117,
     119,   120,   121,   128,   129,    44,    84,   131,     0,   111,
      97,     0,   125,   126
}

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

const char* const yytname[] [static]
Initial value:
{
  "$end", "error", "$undefined", "\"<number>\"", "\"<word>\"",
  "\"<string>\"", "\"<string (non-greedy)>\"", "\"<hex>\"",
  "\"<RandR output>\"", "TOKBIND", "TOKTERMINAL", "\"<comment>\"",
  "\"font\"", "\"bindsym\"", "\"<modifier>\"", "\"control\"", "\"shift\"",
  "\"<whitespace>\"", "\"floating_modifier\"", "\"<quoted string>\"",
  "\"workspace\"", "\"output\"", "\"assign\"", "TOKSET", "\"ipc_socket\"",
  "\"exec\"", "TOKSINGLECOLOR", "TOKCOLOR", "\"\\342\\206\\222\"",
  "\"mode\"", "\"new_container\"", "\"new_window\"",
  "\"focus_follows_mouse\"", "\"workspace_bar\"",
  "\"default/stacking/tabbed\"", "\"stack-limit\"", "'{'", "'}'", "'~'",
  "'#'", "'+'", "$accept", "lines", "line", "comment", "command",
  "bindline", "binding", "bind", "bindsym", "word_or_number", "mode",
  "modelines", "modeline", "floating_modifier", "new_container",
  "new_window", "bool", "focus_follows_mouse", "workspace_bar",
  "workspace", "optional_workspace_name", "workspace_name", "assign",
  "assign_target", "window_class", "optional_arrow", "ipcsocket", "exec",
  "terminal", "font", "single_color", "color", "colorpixel",
  "binding_modifiers", "binding_modifier", 0
}

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

const yytype_uint8 yytranslate[] [static]

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