summaryrefslogtreecommitdiff
path: root/cpp/src/slice2docbook/Main.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-07-27 15:55:43 +0000
committerMarc Laukien <marc@zeroc.com>2001-07-27 15:55:43 +0000
commit31440554bccfeadfd30e0963fbfe9fba94834fc1 (patch)
treea70ac06ceb5721aea9f240b1b54e93e0ea5cefbc /cpp/src/slice2docbook/Main.cpp
parentadded spacing (diff)
downloadice-31440554bccfeadfd30e0963fbfe9fba94834fc1.tar.bz2
ice-31440554bccfeadfd30e0963fbfe9fba94834fc1.tar.xz
ice-31440554bccfeadfd30e0963fbfe9fba94834fc1.zip
removed spacing
Diffstat (limited to 'cpp/src/slice2docbook/Main.cpp')
-rw-r--r--cpp/src/slice2docbook/Main.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/src/slice2docbook/Main.cpp b/cpp/src/slice2docbook/Main.cpp
index 189bcb4d450..d0330454f8b 100644
--- a/cpp/src/slice2docbook/Main.cpp
+++ b/cpp/src/slice2docbook/Main.cpp
@@ -160,7 +160,7 @@ main(int argc, char* argv[])
{
cerr << argv[0] << ": input files must end with `.ice'"
<< endl;
- unit -> destroy();
+ unit->destroy();
return EXIT_FAILURE;
}
base.erase(pos);
@@ -170,7 +170,7 @@ main(int argc, char* argv[])
{
cerr << argv[0] << ": can't open `" << argv[idx]
<< "' for reading: " << strerror(errno) << endl;
- unit -> destroy();
+ unit->destroy();
return EXIT_FAILURE;
}
test.close();
@@ -185,11 +185,11 @@ main(int argc, char* argv[])
{
cerr << argv[0] << ": can't run C++ preprocessor: "
<< strerror(errno) << endl;
- unit -> destroy();
+ unit->destroy();
return EXIT_FAILURE;
}
- int parseStatus = unit -> parse(cppHandle, debug);
+ int parseStatus = unit->parse(cppHandle, debug);
if (parseStatus == EXIT_FAILURE)
{
status = EXIT_FAILURE;
@@ -208,13 +208,13 @@ main(int argc, char* argv[])
Gen gen(argv[0], docbook, standAlone, noGlobals);
if (!gen)
{
- unit -> destroy();
+ unit->destroy();
return EXIT_FAILURE;
}
gen.generate(unit);
}
- unit -> destroy();
+ unit->destroy();
return status;
}