2010-10-08 06:22:59 -05:00
|
|
|
#include <iostream>
|
|
|
|
#include <string>
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
#include "vlsisapd/liberty/Name.h"
|
|
|
|
#include "vlsisapd/liberty/Library.h"
|
|
|
|
|
|
|
|
int main ( int argc, char * argv[] ) {
|
2010-10-08 06:47:06 -05:00
|
|
|
LIB::Library* library = LIB::Library::readFromFile("./testParse.lib");
|
2010-10-08 06:22:59 -05:00
|
|
|
|
|
|
|
if ( library ) {
|
|
|
|
library->print();
|
|
|
|
} else {
|
|
|
|
cerr << "library is NULL" << endl;
|
|
|
|
}
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|