Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(854)

Unified Diff: third_party/hunspell_new/src/parsers/firstparser.cxx

Issue 1135173004: Rename third_party/hunspell_new back to third_party/hunspell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
-}
« no previous file with comments | « third_party/hunspell_new/src/parsers/firstparser.hxx ('k') | third_party/hunspell_new/src/parsers/htmlparser.hxx » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698