summaryrefslogtreecommitdiff
path: root/engparser.c
diff options
context:
space:
mode:
authorb0ric <b0risov.alexandr@rambler.ru>2009-08-08 20:18:38 +0300
committerb0ric <b0risov.alexandr@rambler.ru>2009-08-08 20:18:38 +0300
commit343357ed1e7907cf4b488058053df280ae63c7bb (patch)
tree201915ed25612180af3745131be66ce19edf1a0b /engparser.c
parent88db5cdceabf042f5e5d5695bf984900f8396225 (diff)
Now words are shown in alphabetical order
Diffstat (limited to 'engparser.c')
-rw-r--r--engparser.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/engparser.c b/engparser.c
index e5b17e6..ec9baba 100644
--- a/engparser.c
+++ b/engparser.c
@@ -19,30 +19,18 @@
#include <stdio.h>
#include <ctype.h>
#include <string.h>
-#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;