diff options
author | Ahmed Irfan <ahmedirfan1983@gmail.com> | 2014-01-15 02:20:34 -0800 |
---|---|---|
committer | Ahmed Irfan <ahmedirfan1983@gmail.com> | 2014-01-15 02:20:34 -0800 |
commit | 66198d8591a66b8ec34237c1151d992c7f4d5224 (patch) | |
tree | 8b75557abbd1fa19cf02df2721cbb47339afc12f /passes/techmap/libparse.h | |
parent | b4ce7fee06d14d2b767ad81968b5047766d4da84 (diff) | |
parent | 11c7df40c39396c890bb0ba830019bcebfdbc49a (diff) | |
download | yosys-66198d8591a66b8ec34237c1151d992c7f4d5224.tar.gz yosys-66198d8591a66b8ec34237c1151d992c7f4d5224.tar.bz2 yosys-66198d8591a66b8ec34237c1151d992c7f4d5224.zip |
Merge pull request #2 from cliffordwolf/master
hierarchy
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(); |