From b1fb440345fd3dd3fe92af34e2ac0e536d255fb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ana=C3=ABl=20Beutot?= Date: Wed, 30 Dec 2020 18:41:52 +0100 Subject: [PATCH] Remove unused header file and references to it --- docs/hacking-howto | 4 ++-- include/all.h | 1 - include/cmdparse.h | 14 -------------- 3 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 include/cmdparse.h 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);