mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-21 20:02:07 +00:00
renamed LibertyParer to LibertyParser
This commit is contained in:
parent
c1da7661a5
commit
9a00980129
3 changed files with 9 additions and 9 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue