i3
|
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <float.h>
#include "all.h"
#include <stdio.h>
Go to the source code of this file.
#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 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 | ) |
Definition at line 1092 of file cmdparse.tab.c.
#define YY_STACK_PRINT | ( | Bottom, | |
Top | |||
) |
Definition at line 1054 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 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 | |||
) |
#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, | |
S | |||
) |
case N: \
yyformat = S; \
break
#define yychar cmdyychar |
Definition at line 69 of file cmdparse.tab.c.
Definition at line 857 of file cmdparse.tab.c.
#define YYCOPY | ( | To, | |
From, | |||
Count | |||
) |
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 | ) |
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().
Definition at line 66 of file cmdparse.tab.c.
Definition at line 942 of file cmdparse.tab.c.
#define YYLLOC_DEFAULT | ( | Current, | |
Rhs, | |||
N | |||
) |
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.
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, | |
K | |||
) | ((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.
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 441 of file cmdparse.tab.c.
Referenced by yysyntax_error().
#define YYSTACK_BYTES | ( | N | ) |
((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 | |||
) |
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.
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 |
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 struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 110 of file cmdparse.tab.c.
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.
enum yytokentype |
Definition at line 222 of file cmdparse.tab.c.
YY_BUFFER_STATE cmdyy_scan_string | ( | const char * | ) |
Referenced by parse_cmd().
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().
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 | ) |
Definition at line 159 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(), sasprintf(), and scalloc().
Referenced by handle_key_press(), IPC_HANDLER(), and run_assignments().
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().
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.
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().
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().
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().
Definition at line 1188 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 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] |
{ 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] |
{ 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] |
{ -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] |
{ -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] |
{ -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] |
{ 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] |
{ 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] |
{ 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] |
{ 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] |
{ 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] |
{ 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] |
{ 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] |
{ "$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.