diff --git a/docs/hacking-howto b/docs/hacking-howto index cc08cd1fb..01e5c7fde 100644 --- a/docs/hacking-howto +++ b/docs/hacking-howto @@ -400,8 +400,8 @@ the correct state. Then, it looks through all bindings and gets the one which matches the received event. -The bound command is parsed by the cmdparse lexer/parser, see +parse_cmd+ in -+src/cmdparse.y+. +The bound command is parsed by the i3 parser, see +parse_command+ in ++src/commands_parser.c+. == Manage windows (src/main.c, manage_window() and reparent_window()) diff --git a/include/all.h b/include/all.h index 551119441..b9a1a7a97 100644 --- a/include/all.h +++ b/include/all.h @@ -56,7 +56,6 @@ #include "render.h" #include "window.h" #include "match.h" -#include "cmdparse.h" #include "xcursor.h" #include "resize.h" #include "sighandler.h" diff --git a/include/cmdparse.h b/include/cmdparse.h deleted file mode 100644 index a2cbb17ea..000000000 --- a/include/cmdparse.h +++ /dev/null @@ -1,14 +0,0 @@ -/* - * vim:ts=4:sw=4:expandtab - * - * i3 - an improved dynamic tiling window manager - * © 2009 Michael Stapelberg and contributors (see also: LICENSE) - * - * cmdparse.y: the parser for commands you send to i3 (or bind on keys) - * - */ -#pragma once - -#include - -char *parse_cmd(const char *new);