From 1bb22babd9f978be24c203d919f3c9760df8f3d8 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 6 Apr 2015 20:34:12 +0200 Subject: output: emit include statement for header --- src/output.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/output.hpp') diff --git a/src/output.hpp b/src/output.hpp index 439e754..913f123 100644 --- a/src/output.hpp +++ b/src/output.hpp @@ -41,6 +41,8 @@ private: const generator_t *generator; + std::string header_filename; + std::FILE *header_file; std::FILE *source_file; @@ -67,6 +69,7 @@ private: void emit_state_reduce(const item_t &item, int rule_id); void emit_state(unsigned i); void emit_states(); + void emit_header_include(); void emit_source(); public: -- cgit v1.2.3