diff options
Diffstat (limited to 'CIAO/CCF/CCF/CompilerElements/PreprocessorToken.hpp')
-rw-r--r-- | CIAO/CCF/CCF/CompilerElements/PreprocessorToken.hpp | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/CIAO/CCF/CCF/CompilerElements/PreprocessorToken.hpp b/CIAO/CCF/CCF/CompilerElements/PreprocessorToken.hpp deleted file mode 100644 index 5c82076a01c..00000000000 --- a/CIAO/CCF/CCF/CompilerElements/PreprocessorToken.hpp +++ /dev/null @@ -1,58 +0,0 @@ -// file : CCF/CompilerElements/PreprocessorToken.hpp -// author : Boris Kolpackov <boris@dre.vanderbilt.edu> -// cvs-id : $Id$ - -#ifndef CCF_COMPILER_ELEMENTS_PREPROCESSOR_TOKEN_HPP -#define CCF_COMPILER_ELEMENTS_PREPROCESSOR_TOKEN_HPP - -#include <string> - -//@@ It is probably a good idea to move preprocessor into a -// separate library. -// - -namespace CCF -{ - namespace CompilerElements - { - namespace CPP - { - class Token - { - public: - static Token const eos; - - public: - Token (char c, unsigned long line); - - class EOS {}; - - operator char () const throw (EOS); - - unsigned long - line () const throw (EOS); - - friend bool - operator== (Token const& a, Token const& b); - - friend bool - operator!= (Token const& a, Token const& b); - - private: - // Constructs eos token. - // - Token (); - - private: - typedef - std::char_traits<char> - traits; - - traits::int_type c_; - unsigned long line_; - }; - } - } -} - -#endif // CCF_COMPILER_ELEMENTS_PREPROCESSOR_TOKEN_HPP |