summaryrefslogtreecommitdiff
path: root/CIAO/CCF/Test/CompilerElements/CPP/driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/CCF/Test/CompilerElements/CPP/driver.cpp')
-rw-r--r--CIAO/CCF/Test/CompilerElements/CPP/driver.cpp40
1 files changed, 0 insertions, 40 deletions
diff --git a/CIAO/CCF/Test/CompilerElements/CPP/driver.cpp b/CIAO/CCF/Test/CompilerElements/CPP/driver.cpp
deleted file mode 100644
index de3624d86a7..00000000000
--- a/CIAO/CCF/Test/CompilerElements/CPP/driver.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-// file : CCF/Test/CompilerElements/CPP/driver.cpp
-// author : Boris Kolpackov <boris@dre.vanderbilt.edu>
-// cvs-id : $Id$
-
-#include <iostream>
-
-#include "CCF/CompilerElements/TokenStream.hpp"
-#include "CCF/CompilerElements/Preprocessor.hpp"
-
-using std::cout;
-using std::endl;
-
-using CCF::CompilerElements::InputStreamAdapter;
-
-using namespace CCF::CompilerElements::CPP;
-
-int
-main ()
-{
- InputStreamAdapter isa (std::cin);
- Preprocessor pp (isa);
-
- try
- {
- for (;;)
- {
- Token t (pp.next ());
-
- if (t == Token::eos) break;
-
- std::cout << t;
- }
- }
- catch (std::exception const& e)
- {
- cout << e.what () << endl;
- }
-
- return 0;
-}