From 343357ed1e7907cf4b488058053df280ae63c7bb Mon Sep 17 00:00:00 2001 From: b0ric Date: Sat, 8 Aug 2009 20:18:38 +0300 Subject: Now words are shown in alphabetical order --- engparser.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'engparser.c') diff --git a/engparser.c b/engparser.c index e5b17e6..ec9baba 100644 --- a/engparser.c +++ b/engparser.c @@ -19,30 +19,18 @@ #include #include #include -#include "interface.h" +#include "mainwin.h" #include "engparser.h" #include "word.h" -/*---------OPTIONS---------*/ int lower_first_capital = 1; int excl_w_capital = 1; - Parseoptions hyphen = {'-', 0, 1, 0, 1, 0}; Parseoptions quote = {'\'', 0, 1, 1, 0, 0}; - /* It deletes first and last symbol in the word*/ static void del_first_n_last(char *word); -/* - * Recieves: line terminated by "\n\0" - * - * Words with "-" we'll be processed as a whole word - * And also we suppose that each sentence starts with capital letter - * and other words in the middle of the sentence which starts with - * capital letter is name (peoples, towns, I, etc...). - * Single quoted sentences are not allowed. It's gramatically incorrect - */ int parseengphrase(char *phrase) { extern Parseoptions hyphen; -- cgit v1.2.3