diff options
Diffstat (limited to '')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 97c2708..be95f07 100644 --- a/src/main.cpp +++ b/src/main.cpp | |||
@@ -4,6 +4,7 @@ | |||
4 | //#include "viewermake.h" | 4 | //#include "viewermake.h" |
5 | #include "paramproc.h" | 5 | #include "paramproc.h" |
6 | #include "staticstring.h" | 6 | #include "staticstring.h" |
7 | #include "build.h" | ||
7 | 8 | ||
8 | class Param : public ParamProc | 9 | class Param : public ParamProc |
9 | { | 10 | { |
@@ -76,7 +77,7 @@ int main( int argc, char *argv[] ) | |||
76 | //bld.setCache( prm.sCache ); | 77 | //bld.setCache( prm.sCache ); |
77 | //try | 78 | //try |
78 | //{ | 79 | //{ |
79 | bld.load( prm.sFile.c_str() ); | 80 | Build *pBuild = bld.load( prm.sFile.c_str() ); |
80 | //} | 81 | //} |
81 | //catch( BuildException &e ) | 82 | //catch( BuildException &e ) |
82 | //{ | 83 | //{ |
@@ -90,6 +91,8 @@ int main( int argc, char *argv[] ) | |||
90 | printf("\n\n----------\nDebug dump\n----------\n"); | 91 | printf("\n\n----------\nDebug dump\n----------\n"); |
91 | bld.debugDump(); | 92 | bld.debugDump(); |
92 | } | 93 | } |
94 | printf("\n\n----------\nDebug dump\n----------\n"); | ||
95 | pBuild->debugDump(); | ||
93 | //else | 96 | //else |
94 | { | 97 | { |
95 | //if( prm.sAction > 0 ) | 98 | //if( prm.sAction > 0 ) |