diff options
author | Chris Dyer <cdyer@Chriss-MacBook-Air.local> | 2013-12-19 00:13:17 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@Chriss-MacBook-Air.local> | 2013-12-19 00:13:17 -0500 |
commit | fa2bdf24a6d5680e7cbae215b8715996df51299c (patch) | |
tree | 1aa6a7d8478760057eb0393c6248b1b0ba9065dc /decoder/rule_lexer.h | |
parent | bbe13be2591301d52475d270cc74ea560763c595 (diff) | |
parent | 9d5fce4f9a59ea6f45a2d094361bacc07f4148e7 (diff) |
Merge branch 'master' of https://github.com/redpony/cdec
Diffstat (limited to 'decoder/rule_lexer.h')
-rw-r--r-- | decoder/rule_lexer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/decoder/rule_lexer.h b/decoder/rule_lexer.h index 976ea02b..f844e5b2 100644 --- a/decoder/rule_lexer.h +++ b/decoder/rule_lexer.h @@ -2,12 +2,13 @@ #define _RULE_LEXER_H_ #include <iostream> +#include <string> #include "trule.h" struct RuleLexer { typedef void (*RuleCallback)(const TRulePtr& new_rule, const unsigned int ctf_level, const TRulePtr& coarse_rule, void* extra); - static void ReadRules(std::istream* in, RuleCallback func, void* extra); + static void ReadRules(std::istream* in, RuleCallback func, const std::string& fname, void* extra); }; #endif |