Fix compilation errors under Clang.

This commit is contained in:
Konrad Borowski 2013-10-14 09:12:45 +02:00
parent ce857b0770
commit e8ba3c2f4d
2 changed files with 2 additions and 0 deletions

View file

@ -7,6 +7,7 @@
#define FISH_PARSE_TREE_CONSTRUCTION_H
#include "parse_tree.h"
#include <inttypes.h>
namespace parse_productions
{

View file

@ -13,6 +13,7 @@
#include "common.h"
#include "tokenizer.h"
#include <vector>
#include <inttypes.h>
#define PARSE_ASSERT(a) assert(a)
#define PARSER_DIE() do { fprintf(stderr, "Parser dying!\n"); exit_without_destructors(-1); } while (0)