#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <limits.h>
#include "all.h"
Go to the source code of this file.
Data Structures | |
struct | owindow |
union | yyalloc |
Defines | |
#define | YYBISON 1 |
#define | YYBISON_VERSION "2.4.1" |
#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 | YYERROR_VERBOSE 1 |
#define | YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
#define | YYUSE(e) ((void) (e)) |
#define | YYID(n) (n) |
#define | YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0)) |
#define | YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
#define | YYSTACK_BYTES(N) |
#define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
#define | YYFINAL 6 |
#define | YYLAST 99 |
#define | YYNTOKENS 64 |
#define | YYNNTS 41 |
#define | YYNRULES 95 |
#define | YYNSTATES 128 |
#define | YYUNDEFTOK 2 |
#define | YYMAXUTOK 311 |
#define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
#define | YYPACT_NINF -49 |
#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 | YYLEX yylex (context) |
#define | YYDPRINTF(Args) |
#define | YY_SYMBOL_PRINT(Title, Type, Value, Location) |
#define | YY_STACK_PRINT(Bottom, Top) |
#define | YY_REDUCE_PRINT(Rule) |
#define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
Typedefs | |
typedef struct yy_buffer_state * | YY_BUFFER_STATE |
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, 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_ORIENTATION = 286, TOK_HORIZ = 287, TOK_VERT = 288, TOK_AUTO = 289, TOK_WORKSPACE_LAYOUT = 290, TOKNEWWINDOW = 291, TOK_NORMAL = 292, TOK_NONE = 293, TOK_1PIXEL = 294, TOKFOCUSFOLLOWSMOUSE = 295, TOK_FORCE_FOCUS_WRAPPING = 296, TOKWORKSPACEBAR = 297, TOK_DEFAULT = 298, TOK_STACKING = 299, TOK_TABBED = 300, TOKSTACKLIMIT = 301, TOK_POPUP_DURING_FULLSCREEN = 302, TOK_IGNORE = 303, TOK_LEAVE_FULLSCREEN = 304, TOK_FOR_WINDOW = 305, TOK_MARK = 306, TOK_CLASS = 307, TOK_ID = 308, TOK_CON_ID = 309, TOK_TITLE = 310, NUMBER = 258, WORD = 259, STR = 260, STR_NG = 261, HEX = 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_ORIENTATION = 286, TOK_HORIZ = 287, TOK_VERT = 288, TOK_AUTO = 289, TOK_WORKSPACE_LAYOUT = 290, TOKNEWWINDOW = 291, TOK_NORMAL = 292, TOK_NONE = 293, TOK_1PIXEL = 294, TOKFOCUSFOLLOWSMOUSE = 295, TOK_FORCE_FOCUS_WRAPPING = 296, TOKWORKSPACEBAR = 297, TOK_DEFAULT = 298, TOK_STACKING = 299, TOK_TABBED = 300, TOKSTACKLIMIT = 301, TOK_POPUP_DURING_FULLSCREEN = 302, TOK_IGNORE = 303, TOK_LEAVE_FULLSCREEN = 304, TOK_FOR_WINDOW = 305, TOK_MARK = 306, TOK_CLASS = 307, TOK_ID = 308, TOK_CON_ID = 309, TOK_TITLE = 310, 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_TOGGLE = 282, TOK_FOCUS = 283, TOK_MOVE = 284, TOK_OPEN = 285, TOK_NEXT = 286, TOK_PREV = 287, TOK_SPLIT = 288, TOK_HORIZONTAL = 289, TOK_VERTICAL = 290, TOK_UP = 291, TOK_DOWN = 292, TOK_LEFT = 293, TOK_RIGHT = 294, TOK_PARENT = 295, TOK_CHILD = 296, TOK_APPEND_LAYOUT = 297, TOK_MARK = 298, TOK_RESIZE = 299, TOK_GROW = 300, TOK_SHRINK = 301, TOK_PX = 302, TOK_OR = 303, TOK_PPT = 304, TOK_NOP = 305, TOK_CLASS = 306, TOK_ID = 307, TOK_CON_ID = 308, TOK_TITLE = 309, STR = 310, NUMBER = 311, 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_TOGGLE = 282, TOK_FOCUS = 283, TOK_MOVE = 284, TOK_OPEN = 285, TOK_NEXT = 286, TOK_PREV = 287, TOK_SPLIT = 288, TOK_HORIZONTAL = 289, TOK_VERTICAL = 290, TOK_UP = 291, TOK_DOWN = 292, TOK_LEFT = 293, TOK_RIGHT = 294, TOK_PARENT = 295, TOK_CHILD = 296, TOK_APPEND_LAYOUT = 297, TOK_MARK = 298, TOK_RESIZE = 299, TOK_GROW = 300, TOK_SHRINK = 301, TOK_PX = 302, TOK_OR = 303, TOK_PPT = 304, TOK_NOP = 305, TOK_CLASS = 306, TOK_ID = 307, TOK_CON_ID = 308, TOK_TITLE = 309, STR = 310, NUMBER = 311 } |
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) |
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 |
int | yyparse () |
Variables | |
FILE * | cmdyyin = (FILE *) 0 |
static struct context * | context |
static Match | current_match |
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_int8 | yydefgoto [] |
static const yytype_int8 | yypact [] |
static const yytype_int8 | yypgoto [] |
static const yytype_uint8 | yytable [] |
static const yytype_uint8 | yycheck [] |
static const yytype_uint8 | yystos [] |
int | yydebug |
int | yychar |
YYSTYPE | yylval |
int | yynerrs |
#define HANDLE_EMPTY_MATCH |
do { \ if (match_is_empty(¤t_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 104 of file cmdparse.tab.c.
Referenced by yyparse().
#define YY_REDUCE_PRINT | ( | Rule | ) |
do { \ if (yydebug) \ yy_reduce_print (yyvsp, Rule); \ } while (YYID (0))
Definition at line 1057 of file cmdparse.tab.c.
#define YY_STACK_PRINT | ( | Bottom, | |||
Top | ) |
do { \ if (yydebug) \ yy_stack_print ((Bottom), (Top)); \ } while (YYID (0))
Definition at line 1019 of file cmdparse.tab.c.
#define YY_SYMBOL_PRINT | ( | Title, | |||
Type, | |||||
Value, | |||||
Location | ) |
do { \ if (yydebug) \ { \ YYFPRINTF (stderr, "%s ", Title); \ yy_symbol_print (stderr, \ Type, Value); \ YYFPRINTF (stderr, "\n"); \ } \ } while (YYID (0))
Definition at line 924 of file cmdparse.tab.c.
#define YYABORT goto yyabortlab |
Definition at line 826 of file cmdparse.tab.c.
#define YYACCEPT goto yyacceptlab |
Definition at line 825 of file cmdparse.tab.c.
#define YYBACKUP | ( | Token, | |||
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 838 of file cmdparse.tab.c.
#define YYBISON 1 |
Definition at line 46 of file cmdparse.tab.c.
#define YYBISON_VERSION "2.4.1" |
Definition at line 49 of file cmdparse.tab.c.
#define yychar cmdyychar |
Definition at line 71 of file cmdparse.tab.c.
Referenced by yyparse().
#define yyclearin (yychar = YYEMPTY) |
Definition at line 821 of file cmdparse.tab.c.
#define yydebug cmdyydebug |
Definition at line 72 of file cmdparse.tab.c.
#define YYDPRINTF | ( | Args | ) |
Definition at line 918 of file cmdparse.tab.c.
#define YYEMPTY (-2) |
Definition at line 822 of file cmdparse.tab.c.
#define YYEOF 0 |
Definition at line 823 of file cmdparse.tab.c.
#define YYERRCODE 256 |
Definition at line 857 of file cmdparse.tab.c.
#define yyerrok (yyerrstatus = 0) |
Definition at line 820 of file cmdparse.tab.c.
#define YYERROR goto yyerrorlab |
Definition at line 827 of file cmdparse.tab.c.
#define yyerror cmdyyerror |
Definition at line 69 of file cmdparse.tab.c.
Referenced by yyparse().
#define YYERROR_VERBOSE 1 |
Definition at line 201 of file cmdparse.tab.c.
#define YYFAIL goto yyerrlab |
Definition at line 834 of file cmdparse.tab.c.
#define YYFINAL 6 |
Definition at line 516 of file cmdparse.tab.c.
#define YYID | ( | n | ) | (n) |
Definition at line 373 of file cmdparse.tab.c.
#define YYLAST 99 |
Definition at line 518 of file cmdparse.tab.c.
#define YYLEX yylex (context) |
Definition at line 907 of file cmdparse.tab.c.
#define yylex cmdyylex |
Definition at line 68 of file cmdparse.tab.c.
#define YYLSP_NEEDED 0 |
Definition at line 64 of file cmdparse.tab.c.
Definition at line 70 of file cmdparse.tab.c.
Referenced by yyparse().
#define YYMAXUTOK 311 |
Definition at line 531 of file cmdparse.tab.c.
#define yynerrs cmdyynerrs |
Definition at line 73 of file cmdparse.tab.c.
Referenced by yyparse().
#define YYNNTS 41 |
Definition at line 523 of file cmdparse.tab.c.
#define YYNRULES 95 |
Definition at line 525 of file cmdparse.tab.c.
#define YYNSTATES 128 |
Definition at line 527 of file cmdparse.tab.c.
#define YYNTOKENS 64 |
Definition at line 521 of file cmdparse.tab.c.
#define YYPACT_NINF -49 |
Definition at line 740 of file cmdparse.tab.c.
int yyparse cmdyyparse |
Definition at line 67 of file cmdparse.tab.c.
Referenced by parse_file().
#define YYPOPSTACK | ( | N | ) | (yyvsp -= (N), yyssp -= (N)) |
#define YYPULL 1 |
Definition at line 61 of file cmdparse.tab.c.
#define YYPURE 0 |
Definition at line 55 of file cmdparse.tab.c.
#define YYPUSH 0 |
Definition at line 58 of file cmdparse.tab.c.
#define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 836 of file cmdparse.tab.c.
#define YYRHSLOC | ( | Rhs, | |||
K | ) | ((Rhs)[K]) |
Definition at line 864 of file cmdparse.tab.c.
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
Definition at line 350 of file cmdparse.tab.c.
#define YYSKELETON_NAME "yacc.c" |
Definition at line 52 of file cmdparse.tab.c.
#define YYSTACK_BYTES | ( | N | ) |
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \ + YYSTACK_GAP_MAXIMUM)
Definition at line 475 of file cmdparse.tab.c.
#define YYSTACK_FREE | ( | Ptr | ) | do { /* empty */; } while (YYID (0)) |
Definition at line 419 of file cmdparse.tab.c.
#define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
Definition at line 471 of file cmdparse.tab.c.
#define YYSTACK_RELOCATE | ( | Stack_alloc, | |||
Stack | ) |
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 502 of file cmdparse.tab.c.
#define YYTABLE_NINF -1 |
Definition at line 772 of file cmdparse.tab.c.
#define YYTERROR 1 |
Definition at line 856 of file cmdparse.tab.c.
#define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
Definition at line 533 of file cmdparse.tab.c.
#define YYUNDEFTOK 2 |
Definition at line 530 of file cmdparse.tab.c.
#define YYUSE | ( | e | ) | ((void) (e)) |
Definition at line 366 of file cmdparse.tab.c.
typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 113 of file cmdparse.tab.c.
typedef short int yytype_int16 |
Definition at line 333 of file cmdparse.tab.c.
typedef short int yytype_int8 |
Definition at line 321 of file cmdparse.tab.c.
typedef unsigned short int yytype_uint16 |
Definition at line 327 of file cmdparse.tab.c.
typedef unsigned char yytype_uint8 |
Definition at line 312 of file cmdparse.tab.c.
enum yytokentype |
Definition at line 217 of file cmdparse.tab.c.
YY_BUFFER_STATE cmdyy_scan_string | ( | const char * | ) |
Referenced by parse_cmd().
int cmdyylex | ( | struct context * | context | ) |
int cmdyylex_destroy | ( | void | ) |
Definition at line 2641 of file cmdparse.yy.c.
References cmdyy_delete_buffer(), cmdyyfree(), cmdyypop_buffer_state(), YY_CURRENT_BUFFER, YY_CURRENT_BUFFER_LVALUE, and yy_init_globals().
Referenced by parse_cmd().
int cmdyyparse | ( | void | ) |
Referenced by parse_cmd().
int cmdyywrap | ( | void | ) |
Definition at line 158 of file cmdparse.tab.c.
char* parse_cmd | ( | const char * | new | ) |
Definition at line 162 of file cmdparse.tab.c.
References cmdyy_scan_string(), cmdyylex_destroy(), cmdyyparse(), context::compact_error, context::filename, context::first_column, FREE, context::line_copy, LOG, match_init(), and scalloc().
Referenced by handle_key_press(), IPC_HANDLER(), and run_assignments().
static TAILQ_HEAD | ( | owindows_head | , | |
owindow | ||||
) | [static] |
Definition at line 132 of file cmdparse.tab.c.
References context::compact_error, ELOG, context::first_column, context::last_column, context::line_copy, and sstrdup().
static void yy_reduce_print | ( | YYSTYPE * | yyvsp, | |
int | yyrule | |||
) | [static] |
Definition at line 1036 of file cmdparse.tab.c.
References yy_symbol_print(), YYFPRINTF, yyprhs, yyr2, yyrhs, and yyrline.
static void yy_stack_print | ( | yytype_int16 * | yybottom, | |
yytype_int16 * | yytop | |||
) | [static] |
Definition at line 1005 of file cmdparse.tab.c.
References YYFPRINTF.
static void yy_symbol_print | ( | FILE * | yyoutput, | |
int | yytype, | |||
YYSTYPE const * const | yyvaluep | |||
) | [static] |
Definition at line 979 of file cmdparse.tab.c.
References yy_symbol_value_print(), YYFPRINTF, YYNTOKENS, and yytname.
Referenced by yy_reduce_print().
static void yy_symbol_value_print | ( | FILE * | yyoutput, | |
int | yytype, | |||
YYSTYPE const * const | yyvaluep | |||
) | [static] |
Definition at line 947 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 1314 of file cmdparse.tab.c.
References YY_SYMBOL_PRINT, and YYUSE.
Referenced by yyparse().
int yyparse | ( | void | ) |
Definition at line 1382 of file cmdparse.tab.c.
References all_cons, Con::border_style, BS_1PIXEL, BS_NONE, BS_NORMAL, Match::class, owindow::con, con_descend_focused(), con_focus(), con_get_workspace(), Match::con_id, con_is_floating(), con_move_to_workspace(), con_num_children(), con_set_layout(), con_toggle_fullscreen(), conn, ELOG, floating_disable(), floating_enable(), focused, HANDLE_EMPTY_MATCH, Rect::height, HORIZ, i3_restart(), Match::id, ipc_send_event(), KILL_CLIENT, kill_configerror_nagbar(), KILL_WINDOW, level_down(), level_up(), load_configuration(), LOG, Con::mark, Match::mark, match_init(), match_is_empty(), match_matches_window(), Con::name, YYSTYPE::number, Con::parent, Con::percent, Con::rect, smalloc(), sstrdup(), start_application(), YYSTYPE::string, switch_mode(), TAILQ_EMPTY, TAILQ_END, TAILQ_FIRST, TAILQ_FOREACH, TAILQ_INIT, TAILQ_INSERT_TAIL, TAILQ_NEXT, TAILQ_PREV, TAILQ_REMOVE, Match::title, to_focus, toggle_floating_mode(), TOK_CHILD, TOK_DISABLE, TOK_DOWN, TOK_ENABLE, TOK_FLOATING, TOK_GROW, TOK_LEFT, TOK_MODE_TOGGLE, TOK_PARENT, TOK_RIGHT, TOK_SHRINK, TOK_TILING, TOK_TOGGLE, TOK_UP, tree_append_json(), tree_close(), tree_close_con(), tree_move(), tree_next(), tree_open_con(), tree_render(), tree_split(), Con::type, VERT, Rect::width, Con::window, workspace_get(), workspace_next(), workspace_prev(), workspace_show(), Rect::x, x_set_i3_atoms(), Rect::y, YY_, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, yychar, yycheck, yydefact, yydefgoto, yydestruct(), YYDPRINTF, YYEMPTY, YYEOF, yyerror, YYFINAL, YYID, YYINITDEPTH, YYLAST, YYLEX, yylval, YYMAXDEPTH, yynerrs, YYNTOKENS, yypact, YYPACT_NINF, yypgoto, YYPOPSTACK, yyr1, yyr2, YYSIZE_T, yyalloc::yyss_alloc, YYSTACK_ALLOC, YYSTACK_ALLOC_MAXIMUM, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, yystos, yysyntax_error(), yytable, YYTABLE_NINF, YYTERROR, YYTRANSLATE, and yyalloc::yyvs_alloc.
static char* yystpcpy | ( | char * | yydest, | |
const char * | yysrc | |||
) | [static] |
Definition at line 1129 of file cmdparse.tab.c.
Referenced by yysyntax_error(), and yytnamerr().
static YYSIZE_T yystrlen | ( | char * | yystr | ) | const [static] |
Definition at line 1105 of file cmdparse.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 1201 of file cmdparse.tab.c.
References YY_, yycheck, YYLAST, YYNTOKENS, yypact, YYPACT_NINF, YYSIZE_MAXIMUM, YYSIZE_T, yystpcpy(), yystrlen(), YYTERROR, yytname, yytnamerr(), and YYTRANSLATE.
Referenced by yyparse().
static YYSIZE_T yytnamerr | ( | char * | yyres, | |
const char * | yystr | |||
) | [static] |
Definition at line 1154 of file cmdparse.tab.c.
References YYSIZE_T, yystpcpy(), and yystrlen().
Referenced by yysyntax_error().
FILE * cmdyyin = (FILE *) 0 |
Definition at line 356 of file cmdparse.yy.c.
Referenced by cmdyyget_in(), cmdyyset_in(), and yy_init_globals().
Definition at line 120 of file cmdparse.tab.c.
Match current_match [static] |
Definition at line 121 of file cmdparse.tab.c.
int yychar |
Definition at line 1351 of file cmdparse.tab.c.
const yytype_uint8 yycheck[] [static] |
{ 20, 0, 3, 4, 5, 6, 7, 34, 35, 10, 58, 12, 55, 31, 32, 16, 11, 24, 25, 20, 27, 22, 13, 14, 15, 26, 55, 28, 29, 30, 8, 9, 33, 45, 46, 62, 63, 55, 17, 18, 19, 42, 43, 44, 21, 22, 23, 55, 27, 50, 55, 36, 37, 38, 39, 55, 60, 43, 57, 36, 37, 38, 39, 40, 41, 51, 52, 53, 54, 43, 7, 61, 60, 59, 26, 55, 60, 51, 52, 53, 54, 56, 102, 56, 36, 37, 38, 39, 60, 60, 55, 55, 55, 55, 55, 48, 47, 53, 104, 49 }
Definition at line 787 of file cmdparse.tab.c.
Referenced by yyparse(), and yysyntax_error().
int yydebug |
Definition at line 1065 of file cmdparse.tab.c.
const yytype_uint8 yydefact[] [static] |
{ 5, 7, 0, 3, 0, 0, 1, 5, 0, 38, 39, 40, 51, 59, 0, 0, 0, 0, 0, 41, 0, 57, 0, 0, 0, 0, 0, 4, 16, 18, 19, 21, 20, 27, 28, 26, 29, 30, 31, 32, 22, 25, 24, 23, 33, 35, 34, 36, 0, 0, 0, 0, 0, 0, 10, 2, 37, 52, 53, 50, 60, 58, 79, 80, 81, 78, 71, 72, 73, 74, 70, 95, 67, 68, 69, 66, 54, 55, 56, 45, 46, 47, 91, 92, 93, 94, 48, 49, 43, 44, 42, 0, 75, 62, 64, 63, 65, 61, 77, 82, 89, 90, 0, 83, 0, 0, 0, 0, 0, 0, 8, 6, 9, 76, 85, 17, 14, 11, 13, 12, 15, 0, 87, 86, 0, 84, 0, 88 }
Definition at line 711 of file cmdparse.tab.c.
Referenced by yyparse().
const yytype_int8 yydefgoto[] [static] |
{ -1, 2, 3, 4, 5, 111, 53, 54, 27, 28, 29, 30, 31, 32, 33, 88, 89, 34, 59, 35, 36, 37, 61, 38, 97, 39, 75, 40, 70, 41, 42, 43, 65, 44, 45, 46, 122, 125, 102, 90, 47 }
Definition at line 729 of file cmdparse.tab.c.
Referenced by yyparse().
Definition at line 1354 of file cmdparse.tab.c.
int yynerrs |
Definition at line 1357 of file cmdparse.tab.c.
const yytype_int8 yypact[] [static] |
{ -48, -49, 1, -49, -1, 26, -49, -48, -43, -49, -49, -49, 22, 5, 9, 21, -29, -7, -18, 23, 48, -49, -27, -8, -5, -12, 0, 10, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -4, 12, 16, 28, 29, 14, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, 20, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, 15, -49, -1, 35, 36, 37, 38, 39, -49, -49, -49, -49, 25, -49, -49, -49, -49, -49, -49, 49, 47, -49, 27, -49, 50, -49 }
Definition at line 741 of file cmdparse.tab.c.
Referenced by yyparse(), and yysyntax_error().
const yytype_int8 yypgoto[] [static] |
{ -49, -49, 63, -49, -49, -49, -49, 44, -49, -6, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -49, -20, -49 }
Definition at line 759 of file cmdparse.tab.c.
Referenced by yyparse().
const yytype_uint8 yyprhs[] [static] |
{ 0, 0, 3, 7, 9, 12, 13, 17, 19, 21, 24, 26, 30, 34, 38, 42, 46, 48, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 93, 95, 97, 99, 101, 104, 107, 110, 112, 114, 116, 118, 120, 123, 124, 126, 128, 131, 134, 137, 139, 142, 143, 145, 148, 150, 152, 154, 156, 159, 161, 163, 165, 168, 170, 172, 174, 176, 179, 183, 186, 189, 191, 193, 195, 198, 201, 207, 208, 211, 212, 216, 218, 220, 222, 224, 226, 228 }
Definition at line 576 of file cmdparse.tab.c.
Referenced by yy_reduce_print().
const yytype_uint8 yyr1[] [static] |
{ 0, 64, 65, 65, 66, 67, 67, 68, 69, 70, 70, 71, 71, 71, 71, 71, 72, 72, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 73, 74, 75, 76, 77, 78, 78, 78, 78, 79, 79, 79, 80, 80, 81, 82, 82, 82, 83, 83, 83, 84, 85, 86, 86, 87, 88, 88, 88, 88, 89, 90, 90, 90, 91, 92, 92, 92, 92, 93, 93, 94, 95, 96, 96, 96, 97, 98, 99, 100, 100, 101, 101, 102, 102, 103, 103, 103, 103, 104 }
Definition at line 679 of file cmdparse.tab.c.
Referenced by yyparse().
const yytype_uint8 yyr2[] [static] |
{ 0, 2, 3, 1, 2, 0, 3, 1, 1, 2, 1, 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, 2, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1, 1, 1, 2, 0, 1, 1, 2, 2, 2, 1, 2, 0, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 2, 3, 2, 2, 1, 1, 1, 2, 2, 5, 0, 2, 0, 3, 1, 1, 1, 1, 1, 1, 2 }
Definition at line 694 of file cmdparse.tab.c.
Referenced by yy_reduce_print(), and yyparse().
const yytype_int8 yyrhs[] [static] |
{ 65, 0, -1, 65, 57, 66, -1, 66, -1, 67, 72, -1, -1, 68, 70, 69, -1, 58, -1, 59, -1, 70, 71, -1, 71, -1, 51, 60, 55, -1, 53, 60, 55, -1, 52, 60, 55, -1, 43, 60, 55, -1, 54, 60, 55, -1, 73, -1, 72, 61, 73, -1, 74, -1, 75, -1, 77, -1, 76, -1, 91, -1, 95, -1, 94, -1, 93, -1, 83, -1, 78, -1, 81, -1, 84, -1, 85, -1, 87, -1, 89, -1, 97, -1, 99, -1, 98, -1, 104, -1, 3, 55, -1, 4, -1, 5, -1, 6, -1, 28, -1, 28, 103, -1, 28, 79, -1, 28, 80, -1, 21, -1, 22, -1, 23, -1, 40, -1, 41, -1, 7, 82, -1, -1, 8, -1, 9, -1, 26, 31, -1, 26, 32, -1, 26, 55, -1, 30, -1, 10, 86, -1, -1, 11, -1, 33, 88, -1, 34, -1, 62, -1, 35, -1, 63, -1, 22, 90, -1, 24, -1, 25, -1, 27, -1, 16, 92, -1, 17, -1, 18, -1, 19, -1, 27, -1, 29, 103, -1, 29, 26, 55, -1, 42, 55, -1, 12, 96, -1, 13, -1, 14, -1, 15, -1, 43, 55, -1, 50, 55, -1, 44, 102, 103, 100, 101, -1, -1, 56, 47, -1, -1, 48, 56, 49, -1, 45, -1, 46, -1, 36, -1, 37, -1, 38, -1, 39, -1, 20, 55, -1 }
Definition at line 591 of file cmdparse.tab.c.
Referenced by yy_reduce_print().
const yytype_uint16 yyrline[] [static] |
{ 0, 193, 193, 194, 209, 212, 213, 220, 236, 285, 286, 290, 295, 310, 325, 330, 338, 339, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 365, 374, 382, 394, 402, 430, 457, 489, 500, 501, 502, 506, 507, 511, 531, 532, 533, 537, 542, 547, 558, 570, 587, 588, 592, 603, 604, 605, 606, 610, 635, 636, 637, 641, 661, 662, 663, 664, 668, 675, 696, 706, 726, 727, 728, 732, 751, 761, 822, 825, 833, 836, 843, 844, 848, 849, 850, 851, 855 }
Definition at line 620 of file cmdparse.tab.c.
Referenced by yy_reduce_print().
const yytype_uint8 yystos[] [static] |
{ 0, 58, 65, 66, 67, 68, 0, 57, 3, 4, 5, 6, 7, 10, 12, 16, 20, 22, 26, 28, 29, 30, 33, 42, 43, 44, 50, 72, 73, 74, 75, 76, 77, 78, 81, 83, 84, 85, 87, 89, 91, 93, 94, 95, 97, 98, 99, 104, 43, 51, 52, 53, 54, 70, 71, 66, 55, 8, 9, 82, 11, 86, 13, 14, 15, 96, 17, 18, 19, 27, 92, 55, 24, 25, 27, 90, 31, 32, 55, 21, 22, 23, 36, 37, 38, 39, 40, 41, 79, 80, 103, 26, 103, 34, 35, 62, 63, 88, 55, 55, 45, 46, 102, 55, 61, 60, 60, 60, 60, 60, 59, 69, 71, 55, 103, 73, 55, 55, 55, 55, 55, 56, 100, 47, 48, 101, 56, 49 }
Definition at line 803 of file cmdparse.tab.c.
Referenced by yyparse().
const yytype_uint8 yytable[] [static] |
{ 92, 6, 8, 9, 10, 11, 12, 93, 94, 13, 1, 14, 56, 76, 77, 15, 60, 72, 73, 16, 74, 17, 62, 63, 64, 18, 71, 19, 20, 21, 57, 58, 22, 100, 101, 95, 96, 78, 66, 67, 68, 23, 24, 25, 79, 80, 81, 98, 69, 26, 99, 82, 83, 84, 85, 103, 105, 48, 7, 82, 83, 84, 85, 86, 87, 49, 50, 51, 52, 48, 55, 104, 106, 110, 91, 113, 107, 49, 50, 51, 52, 121, 114, 126, 82, 83, 84, 85, 108, 109, 116, 117, 118, 119, 120, 124, 123, 112, 115, 127 }
Definition at line 773 of file cmdparse.tab.c.
Referenced by yyparse().
const char* const yytname[] [static] |
{ "$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\"", "\"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\"", "\"class\"", "\"id\"", "\"con_id\"", "\"title\"", "\"<string>\"", "\"<number>\"", "';'", "'['", "']'", "'='", "','", "'h'", "'v'", "$accept", "commands", "command", "match", "matchstart", "matchend", "criteria", "criterion", "operations", "operation", "exec", "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 638 of file cmdparse.tab.c.
Referenced by yy_symbol_print(), and yysyntax_error().
const yytype_uint8 yytranslate[] [static] |
Definition at line 537 of file cmdparse.tab.c.