dtinfo subtree dtinfogen
This commit is contained in:
committed by
Jon Trulson
parent
51b8929ebd
commit
07e886ba7c
@@ -1,6 +1,8 @@
|
||||
XCOMM $TOG: Imakefile /main/14 1997/09/05 11:32:36 samborn $
|
||||
|
||||
DEPEND_DEFINES = $(CXXDEPENDINCLUDES)
|
||||
DEPEND_DEFINES = $(CXXDEPENDINCLUDES) $(DEPENDDEFINES)
|
||||
|
||||
NormalCplusplusObjectRule()
|
||||
|
||||
INCLUDES=$(EXCEPTIONS_INCLUDES) $(COMMON_CLASS_INCLUDES)
|
||||
|
||||
|
||||
@@ -33,7 +33,8 @@
|
||||
#include "StyleSheet/FeatureDefDictionary.h"
|
||||
#include "StyleSheet/RendererHCV.h"
|
||||
#include "HardCopy/autoNumberFP.h"
|
||||
#include <iostream.h>
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
#include <stdarg.h>
|
||||
|
||||
|
||||
@@ -89,7 +90,7 @@ main(int argc, char** argv )
|
||||
quit(1);
|
||||
}
|
||||
|
||||
try {
|
||||
mtry {
|
||||
|
||||
if ( strcasecmp(argv[1], "hardcopy") == 0 )
|
||||
gRenderer = new RendererHCV();
|
||||
@@ -133,14 +134,14 @@ main(int argc, char** argv )
|
||||
*defStream >> *g_FeatureDefDictionary;
|
||||
//cerr << *g_FeatureDefDictionary;
|
||||
}
|
||||
catch_any()
|
||||
mcatch_any()
|
||||
{
|
||||
cerr << "\nfeature definition has error.\n";
|
||||
quit(1);
|
||||
}
|
||||
end_try;
|
||||
|
||||
try {
|
||||
mtry {
|
||||
|
||||
fstream* styleStream = new fstream(argv[2], ios::in);
|
||||
if ( !(*styleStream) ) {
|
||||
@@ -166,7 +167,7 @@ main(int argc, char** argv )
|
||||
|
||||
}
|
||||
|
||||
catch_any()
|
||||
mcatch_any()
|
||||
{
|
||||
report_error_location();
|
||||
quit(1);
|
||||
|
||||
Reference in New Issue
Block a user