27db40cf8d
the word databases, for the software is almost completely unmodified. Depened only on Tcl. Tk is needed for the GUI-browser wnb only, and should not prevent X11-less servers from using WordNet. pkg-message is set up to inform the user, that they need Tk present for wnb to function.
37 lines
1,016 B
Text
37 lines
1,016 B
Text
--- lib/wnglobal.c Fri May 6 13:17:39 2005
|
|
+++ lib/wnglobal.c Tue Dec 20 23:29:54 2005
|
|
@@ -11,9 +11,9 @@
|
|
#endif
|
|
|
|
-char *wnrelease = "3.0";
|
|
+const char *wnrelease = "3.0";
|
|
|
|
/* Lexicographer file names and numbers */
|
|
|
|
-char *lexfiles[] = {
|
|
+const char *lexfiles[] = {
|
|
"adj.all", /* 0 */
|
|
"adj.pert", /* 1 */
|
|
@@ -65,5 +65,5 @@
|
|
/* Pointer characters and searches */
|
|
|
|
-char *ptrtyp[]={
|
|
+const char *ptrtyp[] = {
|
|
"", /* 0 not used */
|
|
"!", /* 1 ANTPTR */
|
|
@@ -110,11 +110,11 @@
|
|
};
|
|
|
|
-char *partnames[]={ "", "noun", "verb", "adj", "adv", NULL };
|
|
-char partchars[] = " nvara"; /* add char for satellites to end */
|
|
-char *adjclass[] = { "", "(p)", "(a)", "(ip)" };
|
|
+const char *partnames[]={ "", "noun", "verb", "adj", "adv", NULL };
|
|
+const char partchars[] = " nvara"; /* add char for satellites to end */
|
|
+const char *adjclass[] = { "", "(p)", "(a)", "(ip)" };
|
|
|
|
/* Text of verb sentence frames */
|
|
|
|
-char *frametext[] = {
|
|
+const char *frametext[] = {
|
|
"",
|
|
"Something ----s",
|