diff options
author | Ahmed Irfan <ahmedirfan1983@gmail.com> | 2014-01-15 11:26:44 +0100 |
---|---|---|
committer | Ahmed Irfan <ahmedirfan1983@gmail.com> | 2014-01-15 11:26:44 +0100 |
commit | 8661626157f1a0d13a60580e93c614b6abb1bea6 (patch) | |
tree | a85c52348c33fffaac406ac839b73689e5d34734 /passes/techmap/libparse.h | |
parent | 661b5a993ebbe331c8d4085372622587e1712ab4 (diff) | |
parent | 66198d8591a66b8ec34237c1151d992c7f4d5224 (diff) | |
download | yosys-8661626157f1a0d13a60580e93c614b6abb1bea6.tar.gz yosys-8661626157f1a0d13a60580e93c614b6abb1bea6.tar.bz2 yosys-8661626157f1a0d13a60580e93c614b6abb1bea6.zip |
Merge branch 'master' of https://github.com/ahmedirfan1983/yosys into btor
Diffstat (limited to 'passes/techmap/libparse.h')
-rw-r--r-- | passes/techmap/libparse.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/passes/techmap/libparse.h b/passes/techmap/libparse.h index 8c4a2f5ca..eff268bbb 100644 --- a/passes/techmap/libparse.h +++ b/passes/techmap/libparse.h @@ -39,13 +39,13 @@ namespace PASS_DFFLIBMAP static std::set<std::string> whitelist; }; - struct LibertyParer + struct LibertyParser { FILE *f; int line; LibertyAst *ast; - LibertyParer(FILE *f) : f(f), line(1), ast(parse()) {} - ~LibertyParer() { if (ast) delete ast; } + LibertyParser(FILE *f) : f(f), line(1), ast(parse()) {} + ~LibertyParser() { if (ast) delete ast; } int lexer(std::string &str); LibertyAst *parse(); void error(); |