* input parser-specs/commands.spec.
******************************************************************************/
-#include "GENERATED_commands_enums.h"
+#include "GENERATED_command_enums.h"
typedef struct token {
char *name;
int n;
} cmdp_token_ptr;
-#include "GENERATED_commands_tokens.h"
+#include "GENERATED_command_tokens.h"
/*******************************************************************************
* The (small) stack where identified literals are stored during the parsing
static struct CommandResult subcommand_output;
static struct CommandResult command_output;
-#include "GENERATED_commands_call.h"
+#include "GENERATED_command_call.h"
static void next_state(const cmdp_token *token) {
i3-command-parser.stamp: generate-command-parser.pl parser-specs/commands.spec
echo "[i3] Generating command parser"
- (cd include; ../generate-command-parser.pl --input=../parser-specs/commands.spec --prefix=commands)
+ (cd include; ../generate-command-parser.pl --input=../parser-specs/commands.spec --prefix=command)
touch $@
i3-config-parser.stamp: generate-command-parser.pl parser-specs/config.spec