remove all references to the old cfgparse

This commit is contained in:
Michael Stapelberg
2012-12-24 15:57:02 +01:00
parent b304e6ad34
commit c127ac3855
5 changed files with 18 additions and 12 deletions

View File

@ -6,8 +6,8 @@
* i3 - an improved dynamic tiling window manager
* © 2009-2012 Michael Stapelberg and contributors (see also: LICENSE)
*
* config.c: Configuration file (calling the parser (src/cfgparse.y) with the
* correct path, switching key bindings mode).
* config.c: Configuration file (calling the parser (src/config_parser.c) with
* the correct path, switching key bindings mode).
*
*/
#include "all.h"

View File

@ -1052,8 +1052,11 @@ static void start_configerror_nagbar(const char *config_path) {
#endif
}
/*
* Parses the given file by first replacing the variables, then calling
* parse_config and possibly launching i3-nagbar.
*
*/
void parse_file(const char *f) {
SLIST_HEAD(variables_head, Variable) variables = SLIST_HEAD_INITIALIZER(&variables);
int fd, ret, read_bytes = 0;