-
-#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
-namespace antlr {
-#endif
-
-/**A Stream of characters fed to the lexer from a InputStream that can
- * be rewound via mark()/rewind() methods.
- *
- * A dynamic array is used to buffer up all the input characters. Normally,
- * "k" characters are stored in the buffer. More characters may be stored
- * during guess mode (testing syntactic predicate), or when LT(i>k) is
- * referenced.
- * Consumption of characters is deferred. In other words, reading the next
- * character is not done by consume(), but deferred until needed by LA or LT.
- *
- *
- * @see antlr.CharQueue
- */
-
-class ANTLR_API CharBuffer : public InputBuffer {
-public:
- /// Create a character buffer
- CharBuffer( ANTLR_USE_NAMESPACE(std)istream& input );
- /// Get the next character from the stream
- int getChar();
-
-protected:
- // character source
- ANTLR_USE_NAMESPACE(std)istream& input;
-
-private:
- // NOTE: Unimplemented
- CharBuffer(const CharBuffer& other);
- CharBuffer& operator=(const CharBuffer& other);
-};
-
-#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
-}
-#endif
-
-#endif //INC_CharBuffer_hpp__
diff --git a/libs/antlr-2.7.7/antlr/CharInputBuffer.hpp b/libs/antlr-2.7.7/antlr/CharInputBuffer.hpp
deleted file mode 100644
index ac2da0cbc..000000000
--- a/libs/antlr-2.7.7/antlr/CharInputBuffer.hpp
+++ /dev/null
@@ -1,77 +0,0 @@
-#ifndef INC_CharInputBuffer_hpp__
-# define INC_CharInputBuffer_hpp__
-
-/* ANTLR Translator Generator
- * Project led by Terence Parr at http://www.jGuru.com
- * Software rights: http://www.antlr.org/license.html
- *
- * $Id:$
- */
-
-# include
-# include
-
-# ifdef HAS_NOT_CCTYPE_H
-# include
-# else
-# include
-# endif
-
-#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
-namespace antlr {
-#endif
-
-/** CharInputBuffer.hpp provides an InputBuffer for plain character arrays (buffers).
- */
-class CharInputBuffer : public InputBuffer
-{
-public:
- /** Construct a CharInputBuffer.hpp object with a char* buffer of 'size'
- * if 'owner' is true, then the buffer will be delete[]-ed on destruction.
- * @note it is assumed the buffer was allocated with new[]!
- */
- CharInputBuffer( unsigned char* buf, size_t size, bool owner = false )
- : buffer(buf)
- , ptr(buf)
- , end(buf + size)
- , delete_buffer(owner)
- {
- }
-
- /** Destructor
- * @note If you're using malloced data, then you probably need to change
- * this destructor. Or better use this class as template for your own.
- */
- ~CharInputBuffer( void )
- {
- if( delete_buffer && buffer )
- delete [] buffer;
- }
-
- /** Reset the CharInputBuffer to initial state
- * Called from LexerInputState::reset.
- * @see LexerInputState
- */
- virtual inline void reset( void )
- {
- InputBuffer::reset();
- ptr = buffer;
- }
-
- virtual int getChar( void )
- {
- return (ptr < end) ? *ptr++ : EOF;
- }
-
-protected:
- unsigned char* buffer; ///< the buffer with data
- unsigned char* ptr; ///< position ptr into the buffer
- unsigned char* end; ///< end sentry for buffer
- bool delete_buffer; ///< flag signifying if we have to delete the buffer
-};
-
-#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
-}
-#endif
-
-#endif
diff --git a/libs/antlr-2.7.7/antlr/CharScanner.hpp b/libs/antlr-2.7.7/antlr/CharScanner.hpp
deleted file mode 100644
index 58f0561d9..000000000
--- a/libs/antlr-2.7.7/antlr/CharScanner.hpp
+++ /dev/null
@@ -1,577 +0,0 @@
-#ifndef INC_CharScanner_hpp__
-#define INC_CharScanner_hpp__
-
-/* ANTLR Translator Generator
- * Project led by Terence Parr at http://www.jGuru.com
- * Software rights: http://www.antlr.org/license.html
- *
- * $Id: //depot/code/org.antlr/release/antlr-2.7.7/lib/cpp/antlr/CharScanner.hpp#2 $
- */
-
-#include
-
-#include