3
0
Fork 0
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:
Clifford Wolf 2014-01-14 18:57:47 +01:00
parent c1da7661a5
commit 9a00980129
3 changed files with 9 additions and 9 deletions

View file

@ -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();