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

Go to the source code of this file.

Data Structures

struct  owindow
union  YYSTYPE
union  yyalloc

Defines

#define YYBISON   1
#define YYBISON_VERSION   "2.5"
#define YYSKELETON_NAME   "yacc.c"
#define YYPURE   0
#define YYPUSH   0
#define YYPULL   1
#define YYLSP_NEEDED   0
#define yyparse   cmdyyparse
#define yylex   cmdyylex
#define yyerror   cmdyyerror
#define yylval   cmdyylval
#define yychar   cmdyychar
#define yydebug   cmdyydebug
#define yynerrs   cmdyynerrs
#define HANDLE_EMPTY_MATCH
 When the command did not include match criteria (!), we use the currently focused command.
#define YYDEBUG   1
#define YYERROR_VERBOSE   1
#define YYTOKEN_TABLE   0
#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(To, From, Count)
#define YYFINAL   6
#define YYLAST   115
#define YYNTOKENS   69
#define YYNNTS   42
#define YYNRULES   103
#define YYNSTATES   142
#define YYUNDEFTOK   2
#define YYMAXUTOK   316
#define YYTRANSLATE(YYX)   ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
#define YYPACT_NINF   -54
#define YYTABLE_NINF   -1
#define yypact_value_is_default(yystate)   ((yystate) == (-54))
#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 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 YYCASE_(N, S)
#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
#define YYSYNTAX_ERROR

Typedefs

typedef struct yy_buffer_stateYY_BUFFER_STATE
typedef struct owindow owindow
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, QUOTEDSTRING = 273,
  TOKWORKSPACE = 274, TOKOUTPUT = 275, TOKASSIGN = 276, TOKSET = 277,
  TOKIPCSOCKET = 278, TOKRESTARTSTATE = 279, TOKEXEC = 280, TOKEXEC_ALWAYS = 281,
  TOKSINGLECOLOR = 282, TOKCOLOR = 283, TOKARROW = 284, TOKMODE = 285,
  TOK_BAR = 286, TOK_ORIENTATION = 287, TOK_HORIZ = 288, TOK_VERT = 289,
  TOK_AUTO = 290, TOK_WORKSPACE_LAYOUT = 291, TOKNEWWINDOW = 292, TOKNEWFLOAT = 293,
  TOK_NORMAL = 294, TOK_NONE = 295, TOK_1PIXEL = 296, TOKFOCUSFOLLOWSMOUSE = 297,
  TOK_FORCE_FOCUS_WRAPPING = 298, TOK_FORCE_XINERAMA = 299, TOK_WORKSPACE_AUTO_BAF = 300, TOKWORKSPACEBAR = 301,
  TOK_DEFAULT = 302, TOK_STACKING = 303, TOK_TABBED = 304, TOKSTACKLIMIT = 305,
  TOK_POPUP_DURING_FULLSCREEN = 306, TOK_IGNORE = 307, TOK_LEAVE_FULLSCREEN = 308, TOK_FOR_WINDOW = 309,
  TOK_BAR_OUTPUT = 310, TOK_BAR_TRAY_OUTPUT = 311, TOK_BAR_SOCKET_PATH = 312, TOK_BAR_MODE = 313,
  TOK_BAR_HIDE = 314, TOK_BAR_DOCK = 315, TOK_BAR_POSITION = 316, TOK_BAR_BOTTOM = 317,
  TOK_BAR_TOP = 318, TOK_BAR_STATUS_COMMAND = 319, TOK_BAR_FONT = 320, TOK_BAR_WORKSPACE_BUTTONS = 321,
  TOK_BAR_VERBOSE = 322, TOK_BAR_COLORS = 323, TOK_BAR_COLOR_BACKGROUND = 324, TOK_BAR_COLOR_STATUSLINE = 325,
  TOK_BAR_COLOR_FOCUSED_WORKSPACE = 326, TOK_BAR_COLOR_ACTIVE_WORKSPACE = 327, TOK_BAR_COLOR_INACTIVE_WORKSPACE = 328, TOK_BAR_COLOR_URGENT_WORKSPACE = 329,
  TOK_NO_STARTUP_ID = 330, TOK_MARK = 331, TOK_CLASS = 332, TOK_INSTANCE = 333,
  TOK_WINDOW_ROLE = 334, TOK_ID = 335, TOK_CON_ID = 336, TOK_TITLE = 337,
  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, QUOTEDSTRING = 273,
  TOKWORKSPACE = 274, TOKOUTPUT = 275, TOKASSIGN = 276, TOKSET = 277,
  TOKIPCSOCKET = 278, TOKRESTARTSTATE = 279, TOKEXEC = 280, TOKEXEC_ALWAYS = 281,
  TOKSINGLECOLOR = 282, TOKCOLOR = 283, TOKARROW = 284, TOKMODE = 285,
  TOK_BAR = 286, TOK_ORIENTATION = 287, TOK_HORIZ = 288, TOK_VERT = 289,
  TOK_AUTO = 290, TOK_WORKSPACE_LAYOUT = 291, TOKNEWWINDOW = 292, TOKNEWFLOAT = 293,
  TOK_NORMAL = 294, TOK_NONE = 295, TOK_1PIXEL = 296, TOKFOCUSFOLLOWSMOUSE = 297,
  TOK_FORCE_FOCUS_WRAPPING = 298, TOK_FORCE_XINERAMA = 299, TOK_WORKSPACE_AUTO_BAF = 300, TOKWORKSPACEBAR = 301,
  TOK_DEFAULT = 302, TOK_STACKING = 303, TOK_TABBED = 304, TOKSTACKLIMIT = 305,
  TOK_POPUP_DURING_FULLSCREEN = 306, TOK_IGNORE = 307, TOK_LEAVE_FULLSCREEN = 308, TOK_FOR_WINDOW = 309,
  TOK_BAR_OUTPUT = 310, TOK_BAR_TRAY_OUTPUT = 311, TOK_BAR_SOCKET_PATH = 312, TOK_BAR_MODE = 313,
  TOK_BAR_HIDE = 314, TOK_BAR_DOCK = 315, TOK_BAR_POSITION = 316, TOK_BAR_BOTTOM = 317,
  TOK_BAR_TOP = 318, TOK_BAR_STATUS_COMMAND = 319, TOK_BAR_FONT = 320, TOK_BAR_WORKSPACE_BUTTONS = 321,
  TOK_BAR_VERBOSE = 322, TOK_BAR_COLORS = 323, TOK_BAR_COLOR_BACKGROUND = 324, TOK_BAR_COLOR_STATUSLINE = 325,
  TOK_BAR_COLOR_FOCUSED_WORKSPACE = 326, TOK_BAR_COLOR_ACTIVE_WORKSPACE = 327, TOK_BAR_COLOR_INACTIVE_WORKSPACE = 328, TOK_BAR_COLOR_URGENT_WORKSPACE = 329,
  TOK_NO_STARTUP_ID = 330, TOK_MARK = 331, TOK_CLASS = 332, TOK_INSTANCE = 333,
  TOK_WINDOW_ROLE = 334, TOK_ID = 335, TOK_CON_ID = 336, TOK_TITLE = 337,
  TOK_EXEC = 258, TOK_EXIT = 259, TOK_RELOAD = 260, TOK_RESTART = 261,
  TOK_KILL = 262, TOK_WINDOW = 263, TOK_CLIENT = 264, TOK_FULLSCREEN = 265,
  TOK_GLOBAL = 266, TOK_LAYOUT = 267, TOK_DEFAULT = 268, TOK_STACKED = 269,
  TOK_TABBED = 270, TOK_BORDER = 271, TOK_NORMAL = 272, TOK_NONE = 273,
  TOK_1PIXEL = 274, TOK_MODE = 275, TOK_TILING = 276, TOK_FLOATING = 277,
  TOK_MODE_TOGGLE = 278, TOK_ENABLE = 279, TOK_DISABLE = 280, TOK_WORKSPACE = 281,
  TOK_OUTPUT = 282, TOK_TOGGLE = 283, TOK_FOCUS = 284, TOK_MOVE = 285,
  TOK_OPEN = 286, TOK_NEXT = 287, TOK_PREV = 288, TOK_SPLIT = 289,
  TOK_HORIZONTAL = 290, TOK_VERTICAL = 291, TOK_UP = 292, TOK_DOWN = 293,
  TOK_LEFT = 294, TOK_RIGHT = 295, TOK_PARENT = 296, TOK_CHILD = 297,
  TOK_APPEND_LAYOUT = 298, TOK_MARK = 299, TOK_RESIZE = 300, TOK_GROW = 301,
  TOK_SHRINK = 302, TOK_PX = 303, TOK_OR = 304, TOK_PPT = 305,
  TOK_NOP = 306, TOK_BACK_AND_FORTH = 307, TOK_NO_STARTUP_ID = 308, TOK_CLASS = 309,
  TOK_INSTANCE = 310, TOK_WINDOW_ROLE = 311, TOK_ID = 312, TOK_CON_ID = 313,
  TOK_TITLE = 314, STR = 315, NUMBER = 316, TOK_EXEC = 258,
  TOK_EXIT = 259, TOK_RELOAD = 260, TOK_RESTART = 261, TOK_KILL = 262,
  TOK_WINDOW = 263, TOK_CLIENT = 264, TOK_FULLSCREEN = 265, TOK_GLOBAL = 266,
  TOK_LAYOUT = 267, TOK_DEFAULT = 268, TOK_STACKED = 269, TOK_TABBED = 270,
  TOK_BORDER = 271, TOK_NORMAL = 272, TOK_NONE = 273, TOK_1PIXEL = 274,
  TOK_MODE = 275, TOK_TILING = 276, TOK_FLOATING = 277, TOK_MODE_TOGGLE = 278,
  TOK_ENABLE = 279, TOK_DISABLE = 280, TOK_WORKSPACE = 281, TOK_OUTPUT = 282,
  TOK_TOGGLE = 283, TOK_FOCUS = 284, TOK_MOVE = 285, TOK_OPEN = 286,
  TOK_NEXT = 287, TOK_PREV = 288, TOK_SPLIT = 289, TOK_HORIZONTAL = 290,
  TOK_VERTICAL = 291, TOK_UP = 292, TOK_DOWN = 293, TOK_LEFT = 294,
  TOK_RIGHT = 295, TOK_PARENT = 296, TOK_CHILD = 297, TOK_APPEND_LAYOUT = 298,
  TOK_MARK = 299, TOK_RESIZE = 300, TOK_GROW = 301, TOK_SHRINK = 302,
  TOK_PX = 303, TOK_OR = 304, TOK_PPT = 305, TOK_NOP = 306,
  TOK_BACK_AND_FORTH = 307, TOK_NO_STARTUP_ID = 308, TOK_CLASS = 309, TOK_INSTANCE = 310,
  TOK_WINDOW_ROLE = 311, TOK_ID = 312, TOK_CON_ID = 313, TOK_TITLE = 314,
  STR = 315, NUMBER = 316
}

Functions

int cmdyylex (struct context *context)
int cmdyyparse (void)
int cmdyylex_destroy (void)
YY_BUFFER_STATE cmdyy_scan_string (const char *)
static TAILQ_HEAD (owindows_head, owindow)
int cmdyywrap ()
char * parse_cmd (const char *new)
bool definitelyGreaterThan (float a, float b, float epsilon)
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
int yyparse ()

Variables

FILE * cmdyyin = (FILE *) 0
static struct contextcontext
static Match current_match
static const yytype_uint8 yytranslate []
static const yytype_uint16 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_int8 yycheck []
static const yytype_uint8 yystos []
int yydebug
int yychar
YYSTYPE yylval
int yynerrs

Define Documentation

Value:
do { \
    if (match_is_empty(&current_match)) { \
        owindow *ow = smalloc(sizeof(owindow)); \
        ow->con = focused; \
        TAILQ_INIT(&owindows); \
        TAILQ_INSERT_TAIL(&owindows, ow, owindows); \
    } \
} while (0)

When the command did not include match criteria (!), we use the currently focused command.

Do not confuse this case with a command which included criteria but which did not match any windows. This macro has to be called in every command.

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

#define YY_ (   msgid)    msgid

Definition at line 370 of file cmdparse.tab.c.

Referenced by yysyntax_error().

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

Definition at line 933 of file cmdparse.tab.c.

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

Definition at line 1092 of file cmdparse.tab.c.

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

Definition at line 1054 of file cmdparse.tab.c.

#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 959 of file cmdparse.tab.c.

Referenced by yydestruct().

#define YYABORT   goto yyabortlab

Definition at line 862 of file cmdparse.tab.c.

#define YYACCEPT   goto yyacceptlab

Definition at line 861 of file cmdparse.tab.c.

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

Definition at line 883 of file cmdparse.tab.c.

#define YYBISON   1

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

#define YYBISON_VERSION   "2.5"

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

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

Definition at line 69 of file cmdparse.tab.c.

#define yyclearin   (yychar = YYEMPTY)

Definition at line 857 of file cmdparse.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 517 of file cmdparse.tab.c.

#define YYCOPY_NEEDED   1

Definition at line 489 of file cmdparse.tab.c.

#define yydebug   cmdyydebug

Definition at line 70 of file cmdparse.tab.c.

#define YYDEBUG   1

Definition at line 200 of file cmdparse.tab.c.

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

Definition at line 953 of file cmdparse.tab.c.

#define YYEMPTY   (-2)

Definition at line 858 of file cmdparse.tab.c.

Referenced by yysyntax_error().

#define YYEOF   0

Definition at line 859 of file cmdparse.tab.c.

#define YYERRCODE   256

Definition at line 901 of file cmdparse.tab.c.

#define yyerrok   (yyerrstatus = 0)

Definition at line 856 of file cmdparse.tab.c.

#define yyerror   cmdyyerror

Definition at line 67 of file cmdparse.tab.c.

#define YYERROR   goto yyerrorlab

Definition at line 863 of file cmdparse.tab.c.

#define YYERROR_VERBOSE   1

Definition at line 208 of file cmdparse.tab.c.

#define YYFAIL   goto yyerrlab

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

#define YYFINAL   6

Definition at line 530 of file cmdparse.tab.c.

#define YYFPRINTF   fprintf

Definition at line 950 of file cmdparse.tab.c.

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

#define YYFREE   free

Definition at line 459 of file cmdparse.tab.c.

#define YYID (   n)    (n)

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

#define YYINITDEPTH   200

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

#define YYLAST   115

Definition at line 532 of file cmdparse.tab.c.

Referenced by yysyntax_error().

#define yylex   cmdyylex

Definition at line 66 of file cmdparse.tab.c.

#define YYLEX   yylex (context)

Definition at line 942 of file cmdparse.tab.c.

#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 910 of file cmdparse.tab.c.

#define YYLSP_NEEDED   0

Definition at line 62 of file cmdparse.tab.c.

#define yylval   cmdyylval

Definition at line 68 of file cmdparse.tab.c.

#define YYMALLOC   malloc

Definition at line 452 of file cmdparse.tab.c.

#define YYMAXDEPTH   10000

Definition at line 1122 of file cmdparse.tab.c.

#define YYMAXUTOK   316

Definition at line 545 of file cmdparse.tab.c.

#define yynerrs   cmdyynerrs

Definition at line 71 of file cmdparse.tab.c.

#define YYNNTS   42

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

#define YYNRULES   103

Definition at line 539 of file cmdparse.tab.c.

#define YYNSTATES   142

Definition at line 541 of file cmdparse.tab.c.

#define YYNTOKENS   69

Definition at line 535 of file cmdparse.tab.c.

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

#define YYPACT_NINF   -54

Definition at line 763 of file cmdparse.tab.c.

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

Definition at line 813 of file cmdparse.tab.c.

Referenced by yysyntax_error().

int yyparse   cmdyyparse

Definition at line 65 of file cmdparse.tab.c.

Referenced by parse_file().

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

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

#define YYPURE   0

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

#define YYPUSH   0

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

#define YYRECOVERING ( )    (!!yyerrstatus)

Definition at line 881 of file cmdparse.tab.c.

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

Definition at line 908 of file cmdparse.tab.c.

#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)

Definition at line 360 of file cmdparse.tab.c.

#define YYSIZE_T   unsigned int

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

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

#define YYSKELETON_NAME   "yacc.c"

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

#define YYSTACK_ALLOC   YYMALLOC

Definition at line 438 of file cmdparse.tab.c.

Definition at line 441 of file cmdparse.tab.c.

Referenced by yysyntax_error().

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

Definition at line 485 of file cmdparse.tab.c.

#define YYSTACK_FREE   YYFREE

Definition at line 439 of file cmdparse.tab.c.

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

Definition at line 481 of file cmdparse.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 496 of file cmdparse.tab.c.

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

Definition at line 304 of file cmdparse.tab.c.

#define YYSTYPE_IS_DECLARED   1

Definition at line 305 of file cmdparse.tab.c.

#define YYSTYPE_IS_TRIVIAL   1

Definition at line 303 of file cmdparse.tab.c.

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

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

#define yytable_value_is_error (   yytable_value)    YYID (0)

Definition at line 816 of file cmdparse.tab.c.

Referenced by yysyntax_error().

#define YYTERROR   1

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

Referenced by yysyntax_error().

#define YYTOKEN_TABLE   0

Definition at line 213 of file cmdparse.tab.c.

#define YYTOKENTYPE

Definition at line 219 of file cmdparse.tab.c.

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

Definition at line 547 of file cmdparse.tab.c.

#define YYUNDEFTOK   2

Definition at line 544 of file cmdparse.tab.c.

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

Definition at line 376 of file cmdparse.tab.c.

Referenced by yy_symbol_value_print(), and yydestruct().


Typedef Documentation

typedef struct owindow owindow

Definition at line 110 of file cmdparse.tab.c.

typedef union YYSTYPE YYSTYPE
typedef short int yytype_int16

Definition at line 343 of file cmdparse.tab.c.

typedef short int yytype_int8

Definition at line 331 of file cmdparse.tab.c.

typedef unsigned short int yytype_uint16

Definition at line 337 of file cmdparse.tab.c.

typedef unsigned char yytype_uint8

Definition at line 322 of file cmdparse.tab.c.


Enumeration Type Documentation

Enumerator:
NUMBER 
WORD 
STR 
STR_NG 
HEXCOLOR 
OUTPUT 
TOKBINDCODE 
TOKTERMINAL 
TOKCOMMENT 
TOKFONT 
TOKBINDSYM 
MODIFIER 
TOKCONTROL 
TOKSHIFT 
TOKFLOATING_MODIFIER 
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 
TOKFOCUSFOLLOWSMOUSE 
TOK_FORCE_FOCUS_WRAPPING 
TOK_FORCE_XINERAMA 
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_POSITION 
TOK_BAR_BOTTOM 
TOK_BAR_TOP 
TOK_BAR_STATUS_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_MARK 
TOK_CLASS 
TOK_INSTANCE 
TOK_WINDOW_ROLE 
TOK_ID 
TOK_CON_ID 
TOK_TITLE 
NUMBER 
WORD 
STR 
STR_NG 
HEXCOLOR 
OUTPUT 
TOKBINDCODE 
TOKTERMINAL 
TOKCOMMENT 
TOKFONT 
TOKBINDSYM 
MODIFIER 
TOKCONTROL 
TOKSHIFT 
TOKFLOATING_MODIFIER 
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 
TOKFOCUSFOLLOWSMOUSE 
TOK_FORCE_FOCUS_WRAPPING 
TOK_FORCE_XINERAMA 
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_POSITION 
TOK_BAR_BOTTOM 
TOK_BAR_TOP 
TOK_BAR_STATUS_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_MARK 
TOK_CLASS 
TOK_INSTANCE 
TOK_WINDOW_ROLE 
TOK_ID 
TOK_CON_ID 
TOK_TITLE 
TOK_EXEC 
TOK_EXIT 
TOK_RELOAD 
TOK_RESTART 
TOK_KILL 
TOK_WINDOW 
TOK_CLIENT 
TOK_FULLSCREEN 
TOK_GLOBAL 
TOK_LAYOUT 
TOK_DEFAULT 
TOK_STACKED 
TOK_TABBED 
TOK_BORDER 
TOK_NORMAL 
TOK_NONE 
TOK_1PIXEL 
TOK_MODE 
TOK_TILING 
TOK_FLOATING 
TOK_MODE_TOGGLE 
TOK_ENABLE 
TOK_DISABLE 
TOK_WORKSPACE 
TOK_OUTPUT 
TOK_TOGGLE 
TOK_FOCUS 
TOK_MOVE 
TOK_OPEN 
TOK_NEXT 
TOK_PREV 
TOK_SPLIT 
TOK_HORIZONTAL 
TOK_VERTICAL 
TOK_UP 
TOK_DOWN 
TOK_LEFT 
TOK_RIGHT 
TOK_PARENT 
TOK_CHILD 
TOK_APPEND_LAYOUT 
TOK_MARK 
TOK_RESIZE 
TOK_GROW 
TOK_SHRINK 
TOK_PX 
TOK_OR 
TOK_PPT 
TOK_NOP 
TOK_BACK_AND_FORTH 
TOK_NO_STARTUP_ID 
TOK_CLASS 
TOK_INSTANCE 
TOK_WINDOW_ROLE 
TOK_ID 
TOK_CON_ID 
TOK_TITLE 
STR 
NUMBER 
TOK_EXEC 
TOK_EXIT 
TOK_RELOAD 
TOK_RESTART 
TOK_KILL 
TOK_WINDOW 
TOK_CLIENT 
TOK_FULLSCREEN 
TOK_GLOBAL 
TOK_LAYOUT 
TOK_DEFAULT 
TOK_STACKED 
TOK_TABBED 
TOK_BORDER 
TOK_NORMAL 
TOK_NONE 
TOK_1PIXEL 
TOK_MODE 
TOK_TILING 
TOK_FLOATING 
TOK_MODE_TOGGLE 
TOK_ENABLE 
TOK_DISABLE 
TOK_WORKSPACE 
TOK_OUTPUT 
TOK_TOGGLE 
TOK_FOCUS 
TOK_MOVE 
TOK_OPEN 
TOK_NEXT 
TOK_PREV 
TOK_SPLIT 
TOK_HORIZONTAL 
TOK_VERTICAL 
TOK_UP 
TOK_DOWN 
TOK_LEFT 
TOK_RIGHT 
TOK_PARENT 
TOK_CHILD 
TOK_APPEND_LAYOUT 
TOK_MARK 
TOK_RESIZE 
TOK_GROW 
TOK_SHRINK 
TOK_PX 
TOK_OR 
TOK_PPT 
TOK_NOP 
TOK_BACK_AND_FORTH 
TOK_NO_STARTUP_ID 
TOK_CLASS 
TOK_INSTANCE 
TOK_WINDOW_ROLE 
TOK_ID 
TOK_CON_ID 
TOK_TITLE 
STR 
NUMBER 

Definition at line 222 of file cmdparse.tab.c.


Function Documentation

YY_BUFFER_STATE cmdyy_scan_string ( const char *  )

Referenced by parse_cmd().

int cmdyylex ( struct context context)
int cmdyylex_destroy ( void  )

Definition at line 2735 of file cmdparse.yy.c.

References cmdyy_delete_buffer(), cmdyyfree(), cmdyypop_buffer_state(), yy_buffer_stack, YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, yy_init_globals(), yy_start_stack, and yy_state_buf.

Referenced by parse_cmd().

Here is the call graph for this function:

int cmdyyparse ( void  )

Referenced by parse_cmd().

int cmdyywrap ( void  )

Definition at line 155 of file cmdparse.tab.c.

bool definitelyGreaterThan ( float  a,
float  b,
float  epsilon 
)

Definition at line 189 of file cmdparse.tab.c.

char* parse_cmd ( const char *  new)
static TAILQ_HEAD ( owindows_head  ,
owindow   
) [static]

Definition at line 129 of file cmdparse.tab.c.

References context::compact_error, ELOG, context::first_column, context::last_column, context::line_copy, and sstrdup().

Here is the call graph for this function:

static void yy_reduce_print ( YYSTYPE yyvsp,
int  yyrule 
) [static]

Definition at line 1071 of file cmdparse.tab.c.

References yy_symbol_print(), YYFPRINTF, yyprhs, yyr2, yyrhs, and yyrline.

Here is the call graph for this function:

static void yy_stack_print ( yytype_int16 yybottom,
yytype_int16 yytop 
) [static]

Definition at line 1040 of file cmdparse.tab.c.

References YYFPRINTF.

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

Definition at line 1014 of file cmdparse.tab.c.

References yy_symbol_value_print(), YYFPRINTF, YYNTOKENS, and yytname.

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 982 of file cmdparse.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 1375 of file cmdparse.tab.c.

References YY_SYMBOL_PRINT, and YYUSE.

int yyparse ( void  )
static char* yystpcpy ( char *  yydest,
const char *  yysrc 
) [static]

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

Referenced by yytnamerr().

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

Definition at line 1139 of file cmdparse.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 1236 of file cmdparse.tab.c.

References YY_, YYCASE_, yycheck, YYEMPTY, YYLAST, YYNTOKENS, yypact, yypact_value_is_default, YYSIZE_T, YYSTACK_ALLOC_MAXIMUM, yystrlen(), yytable, yytable_value_is_error, YYTERROR, yytname, and yytnamerr().

Here is the call graph for this function:

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

Definition at line 1188 of file cmdparse.tab.c.

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

Referenced by yysyntax_error().

Here is the call graph for this function:


Variable Documentation

FILE * cmdyyin = (FILE *) 0

Definition at line 356 of file cmdparse.yy.c.

Referenced by cmdyyget_in(), cmdyyset_in(), and yy_init_globals().

struct context* context [static]

Definition at line 117 of file cmdparse.tab.c.

Match current_match [static]

Definition at line 118 of file cmdparse.tab.c.

int yychar

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

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

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

Referenced by yysyntax_error().

int yydebug

Definition at line 1100 of file cmdparse.tab.c.

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

Definition at line 732 of file cmdparse.tab.c.

const yytype_int16 yydefgoto[] [static]
Initial value:
{
      -1,     2,     3,     4,     5,   118,    55,    56,    27,    28,
      29,    59,    30,    31,    32,    33,    92,    93,    34,    62,
      35,    36,    37,    64,    38,   102,    39,    78,    40,    73,
      41,    42,    43,    68,    44,    45,    46,   126,   139,   107,
      94,    47
}

Definition at line 752 of file cmdparse.tab.c.

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

int yynerrs

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

const yytype_int8 yypact[] [static]
Initial value:
{
     -53,   -54,     1,   -54,    -1,    20,   -54,   -53,   -41,   -54,
     -54,   -54,    23,     5,    21,    67,   -40,    -2,   -15,    30,
      54,   -54,   -28,   -36,   -33,     8,   -22,   -18,   -54,   -54,
     -54,   -54,   -54,   -54,   -54,   -54,   -54,   -54,   -54,   -54,
     -54,   -54,   -54,   -54,   -54,   -54,   -54,   -54,   -16,    -3,
       0,    17,    18,    24,    25,     2,   -54,   -54,   -54,   -13,
     -54,   -54,   -54,   -54,   -54,   -54,   -54,   -54,   -54,   -54,
     -54,   -54,   -54,   -54,   -54,   -54,   -54,   -54,   -54,   -54,
     -54,   -54,   -54,   -54,   -54,   -54,   -54,   -54,   -54,   -54,
     -54,   -54,   -54,   -54,   -54,   -19,    13,    27,   -54,   -54,
     -54,   -54,   -54,   -54,   -54,   -54,   -54,    59,   -54,    -1,
      40,    41,    42,    43,    44,    45,    46,   -54,   -54,   -54,
     -54,   -54,   -54,   -54,   -54,    60,   -54,    27,   -54,   -54,
     -54,   -54,   -54,   -54,   -54,   -54,   -54,    58,    48,   -54,
      61,   -54
}

Definition at line 764 of file cmdparse.tab.c.

Referenced by yysyntax_error().

const yytype_int8 yypgoto[] [static]
Initial value:
{
     -54,   -54,   103,   -54,   -54,   -54,   -54,    57,   -54,     4,
     -54,   -54,   -54,   -54,   -54,   -54,   -54,   -54,   -54,   -54,
     -54,   -54,   -54,   -54,   -54,   -54,   -54,   -54,   -54,   -54,
     -54,   -54,   -54,   -54,   -54,   -54,   -54,   -12,   -54,   -54,
     -20,   -54
}

Definition at line 784 of file cmdparse.tab.c.

const yytype_uint16 yyprhs[] [static]
Initial value:
{
       0,     0,     3,     7,     9,    12,    13,    17,    19,    21,
      24,    26,    30,    34,    38,    42,    46,    50,    54,    56,
      60,    62,    64,    66,    68,    70,    72,    74,    76,    78,
      80,    82,    84,    86,    88,    90,    92,    94,    96,    98,
     102,   103,   105,   107,   109,   111,   113,   116,   119,   122,
     124,   126,   128,   130,   132,   135,   136,   138,   140,   143,
     146,   149,   152,   154,   157,   158,   160,   163,   165,   167,
     169,   171,   174,   176,   178,   180,   183,   185,   187,   189,
     191,   195,   199,   203,   207,   211,   214,   217,   219,   221,
     223,   226,   229,   235,   236,   239,   240,   244,   246,   248,
     250,   252,   254,   256
}

Definition at line 590 of file cmdparse.tab.c.

Referenced by yy_reduce_print().

const yytype_uint8 yyr1[] [static]
Initial value:
{
       0,    69,    70,    70,    71,    72,    72,    73,    74,    75,
      75,    76,    76,    76,    76,    76,    76,    76,    77,    77,
      78,    78,    78,    78,    78,    78,    78,    78,    78,    78,
      78,    78,    78,    78,    78,    78,    78,    78,    78,    79,
      80,    80,    81,    82,    83,    84,    84,    84,    84,    85,
      85,    85,    86,    86,    87,    88,    88,    88,    89,    89,
      89,    89,    90,    91,    92,    92,    93,    94,    94,    94,
      94,    95,    96,    96,    96,    97,    98,    98,    98,    98,
      99,    99,    99,    99,    99,   100,   101,   102,   102,   102,
     103,   104,   105,   106,   106,   107,   107,   108,   108,   109,
     109,   109,   109,   110
}

Definition at line 698 of file cmdparse.tab.c.

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

Definition at line 714 of file cmdparse.tab.c.

Referenced by yy_reduce_print().

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

Definition at line 606 of file cmdparse.tab.c.

Referenced by yy_reduce_print().

const yytype_uint16 yyrline[] [static]
Initial value:
{
       0,   206,   206,   207,   222,   225,   226,   233,   249,   297,
     298,   302,   308,   314,   320,   335,   350,   356,   365,   366,
     370,   371,   372,   373,   374,   375,   376,   377,   378,   379,
     380,   381,   382,   383,   384,   385,   386,   387,   388,   392,
     404,   405,   409,   417,   429,   437,   494,   528,   567,   585,
     586,   587,   591,   592,   596,   616,   617,   618,   622,   627,
     632,   637,   662,   674,   691,   692,   696,   707,   708,   709,
     710,   714,   739,   740,   741,   745,   767,   768,   769,   770,
     774,   799,   822,   838,   854,   902,   912,   932,   933,   934,
     938,   963,   973,  1072,  1075,  1083,  1086,  1093,  1094,  1098,
    1099,  1100,  1101,  1105
}

Definition at line 637 of file cmdparse.tab.c.

Referenced by yy_reduce_print().

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

Definition at line 837 of file cmdparse.tab.c.

const yytype_uint8 yytable[] [static]
Initial value:
{
      97,     6,     8,     9,    10,    11,    12,    98,    99,    13,
       1,    14,    58,   121,   122,    15,    63,    79,    80,    16,
      74,    17,    75,    76,   103,    18,    77,   104,    19,    20,
      21,    60,    61,    22,    65,    66,    67,    81,   108,   100,
     101,   123,    23,    24,    25,    82,    48,   120,   109,   110,
      26,    83,    84,    85,   105,   106,    49,    50,    51,    52,
      53,    54,   111,     7,    48,   112,   117,    86,    87,    88,
      89,    90,    91,   124,    49,    50,    51,    52,    53,    54,
      95,    96,   113,   114,    69,    70,    71,   127,   125,   115,
     116,    86,    87,    88,    89,    72,    86,    87,    88,    89,
     129,   130,   131,   132,   133,   134,   135,   138,   136,   140,
      57,   141,   119,   128,     0,   137
}

Definition at line 797 of file cmdparse.tab.c.

Referenced by yysyntax_error().

const char* const yytname[] [static]
Initial value:
{
  "$end", "error", "$undefined", "\"exec\"", "\"exit\"", "\"reload\"",
  "\"restart\"", "\"kill\"", "\"window\"", "\"client\"", "\"fullscreen\"",
  "\"global\"", "\"layout\"", "\"default\"", "\"stacked\"", "\"tabbed\"",
  "\"border\"", "\"normal\"", "\"none\"", "\"1pixel\"", "\"mode\"",
  "\"tiling\"", "\"floating\"", "\"mode_toggle\"", "\"enable\"",
  "\"disable\"", "\"workspace\"", "\"output\"", "\"toggle\"", "\"focus\"",
  "\"move\"", "\"open\"", "\"next\"", "\"prev\"", "\"split\"",
  "\"horizontal\"", "\"vertical\"", "\"up\"", "\"down\"", "\"left\"",
  "\"right\"", "\"parent\"", "\"child\"", "\"append_layout\"", "\"mark\"",
  "\"resize\"", "\"grow\"", "\"shrink\"", "\"px\"", "\"or\"", "\"ppt\"",
  "\"nop\"", "\"back_and_forth\"", "\"--no-startup-id\"", "\"class\"",
  "\"instance\"", "\"window_role\"", "\"id\"", "\"con_id\"", "\"title\"",
  "\"<string>\"", "\"<number>\"", "';'", "'['", "']'", "'='", "','", "'h'",
  "'v'", "$accept", "commands", "command", "match", "matchstart",
  "matchend", "criteria", "criterion", "operations", "operation", "exec",
  "optional_no_startup_id", "exit", "reload", "restart", "focus",
  "window_mode", "level", "kill", "optional_kill_mode", "workspace",
  "open", "fullscreen", "fullscreen_mode", "split", "split_direction",
  "floating", "boolean", "border", "border_style", "move", "append_layout",
  "layout", "layout_mode", "mark", "nop", "resize", "resize_px",
  "resize_tiling", "resize_way", "direction", "mode", 0
}

Definition at line 656 of file cmdparse.tab.c.

Referenced by yy_symbol_print(), and yysyntax_error().

const yytype_uint8 yytranslate[] [static]

Definition at line 551 of file cmdparse.tab.c.