diff options
author | mjdenkowski <michael.j.denkowski@gmail.com> | 2013-12-29 17:16:43 -0500 |
---|---|---|
committer | mjdenkowski <michael.j.denkowski@gmail.com> | 2013-12-29 17:16:43 -0500 |
commit | 791301036d6bfa406c2d5222032b204f7d4943ee (patch) | |
tree | 0a76fdd52700ac43864be62124a43b4f2e940a8b /decoder/rule_lexer.h | |
parent | b12f48112213cbbde519b8aabd02b2c57bf0948d (diff) | |
parent | 3c22963a360346381588350962499d1a76a89c10 (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 |