summaryrefslogtreecommitdiff
path: root/engparser.c
diff options
context:
space:
mode:
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;