aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/libparse.h
diff options
context:
space:
mode:
authorAhmed Irfan <ahmedirfan1983@gmail.com>2014-01-15 02:20:34 -0800
committerAhmed Irfan <ahmedirfan1983@gmail.com>2014-01-15 02:20:34 -0800
commit66198d8591a66b8ec34237c1151d992c7f4d5224 (patch)
tree8b75557abbd1fa19cf02df2721cbb47339afc12f /passes/techmap/libparse.h
parentb4ce7fee06d14d2b767ad81968b5047766d4da84 (diff)
parent11c7df40c39396c890bb0ba830019bcebfdbc49a (diff)
downloadyosys-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.h6
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();