Index: third_party/hunspell_new/src/parsers/firstparser.cxx |
diff --git a/third_party/hunspell_new/src/parsers/firstparser.cxx b/third_party/hunspell_new/src/parsers/firstparser.cxx |
deleted file mode 100644 |
index 786ecea2eeb5da6f619a55d3b55671cecbfb929b..0000000000000000000000000000000000000000 |
--- a/third_party/hunspell_new/src/parsers/firstparser.cxx |
+++ /dev/null |
@@ -1,33 +0,0 @@ |
-#include <cstdlib> |
-#include <cstring> |
-#include <cstdio> |
-#include <ctype.h> |
- |
-#include "../hunspell/csutil.hxx" |
-#include "firstparser.hxx" |
- |
-#ifndef W32 |
-using namespace std; |
-#endif |
- |
-FirstParser::FirstParser(const char * wordchars) |
-{ |
- init(wordchars); |
-} |
- |
-FirstParser::~FirstParser() |
-{ |
-} |
- |
-char * FirstParser::next_token() |
-{ |
- char * tabpos = strchr(line[actual],'\t'); |
- if ((tabpos) && (tabpos - line[actual]>token)) { |
- char * t = (char *) malloc(tabpos - line[actual] + 1); |
- t[tabpos - line[actual]] = '\0'; |
- token = tabpos - line[actual] +1; |
- if (t) return strncpy(t, line[actual], tabpos - line[actual]); |
- fprintf(stderr,"Error - Insufficient Memory\n"); |
- } |
- return NULL; |
-} |