Skip to content
Snippets Groups Projects
Commit f50d12ed authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

migration from sourceforge

parent 3eb8e2d0
No related branches found
No related tags found
No related merge requests found
Showing
with 3249 additions and 0 deletions
c5a56cb08c9b68d5d95be67f2820e670 file 4242 ./(dirinf).fm
e1a3139468fb49161ce389b75e54d71f file 75 ./.cvsignore
c36572de7beac94fd2f9418bd3b1dd78 file 32 ./@@@.lut
2759baf11c89e121587834b092c2460f file 2419 ./CVS/Entries
02e8ff0d3f2ec7d43c5bd2cab43411f2 file 12 ./CVS/Repository
3f6cbd81c1c48286b371ab4555e9db3d file 61 ./CVS/Root
b403f6424bc8c7a8f3f4b628b2e00d09 file 51 ./CVS/Root.bak
4788c16f03d34c5c794a8aa2eeb2f953 file 2532 ./Makefile
14bf9693ed16c86c3af6b60b2c5d6486 file 234 ./NOTES
787b04cd6f5389f8f629110ea8ebac3f file 3714 ./_bak_ftr.ned/(dirinf).ftr
d4540fe545687342343961fb6e5843ff file 2827 ./_bak_ftr.ned/CVS/Entries
6da01e2e1be3a2e225647c1bee808617 file 25 ./_bak_ftr.ned/CVS/Repository
3f6cbd81c1c48286b371ab4555e9db3d file 61 ./_bak_ftr.ned/CVS/Root
b403f6424bc8c7a8f3f4b628b2e00d09 file 51 ./_bak_ftr.ned/CVS/Root.bak
c9a38c49e35c5ce1c63e59870ba72df9 file 29 ./_bak_ftr.ned/Makefile.ftr
788dad3abaca5c2a13ec0976827b6c93 file 111 ./_bak_ftr.ned/NOTES.ftr
183ebbc9e3df749f5d017a3ec80d5d6d file 5098 ./_bak_ftr.ned/dab1.ftr
48e0beca98ebbf8f7e9ebafb5864d420 file 153 ./_bak_ftr.ned/dict0001.ftr
6693aa9badc4ea473d184ccffc26adff file 426 ./_bak_ftr.ned/dict0002.ftr
68814842aa54584717d2a3e44c9586c1 file 325 ./_bak_ftr.ned/dict0003.ftr
10a0bd37d9a66615416a6f9730ce3e8b file 2129 ./_bak_ftr.ned/dict0004.ftr
ecce3a8f3817f7d44e5ed60422ad8167 file 1005 ./_bak_ftr.ned/dict0005.ftr
f9c31578f181b1d5225ee175c3d64254 file 1184 ./_bak_ftr.ned/dict0006.ftr
5babd79fbe660e1a2a33bbf52edcdae6 file 546 ./_bak_ftr.ned/dict0007.ftr
e34819615d74bcd4e522e5ebfbe3a7a0 file 550 ./_bak_ftr.ned/dict0008.ftr
edabb2a3cea79acdaa481a0e7692a8df file 883 ./_bak_ftr.ned/dict0009.ftr
aea01ceea5d13320359b60d51e88b4b0 file 1706 ./_bak_ftr.ned/dict0010.ftr
dc57af1c26b299559994aa671ef1a4d0 file 379 ./_bak_ftr.ned/dict0011.ftr
aae33957bd4bdc62246a180e0a817159 file 1196 ./_bak_ftr.ned/dict0012.ftr
7dc6acaa2072cd40e964457b068092e6 file 455 ./_bak_ftr.ned/dict0013.ftr
60983f89d384ec5e889fe31b93ac837f file 926 ./_bak_ftr.ned/dict0014.ftr
6652ae79024a1b9952eb143dd7a95359 file 1085 ./_bak_ftr.ned/dict0015.ftr
c369c7617ffec225d3c1266d9455a9fc file 2554 ./_bak_ftr.ned/dict0016.ftr
d2864c589bbab42c7130ad2f54da2210 file 726 ./_bak_ftr.ned/dict0018.ftr
465302b497873379614b84af7ad94f5f file 531 ./_bak_ftr.ned/dict0031.ftr
87d9a4832020fba83a31768f977f0350 file 468 ./_bak_ftr.ned/dict0032.ftr
13f57a0c83e599f5578a4ee35537fa3e file 1341 ./_bak_ftr.ned/dict0033.ftr
4627842b771dadecf64613ada2f4c615 file 6797 ./_bak_ftr.ned/dictadd.ftr
9bafc3d8337bfa662b86baebd4ac87f1 file 1440 ./_bak_ftr.ned/dictadd1.ftr
0c1b66108b27bf06aa18266e40ba8cb5 file 4230 ./_bak_ftr.ned/dictadd2.ftr
a50a10aa74260e974f5272f808d82ced file 6310 ./_bak_ftr.ned/dictadd3.ftr
0cffe7b1673c3f90216a80d8167832e4 file 597 ./_bak_ftr.ned/dictadd4.ftr
f5096e833e0176aa41912f9a0c7b330e file 756 ./_bak_ftr.ned/dictadd6.ftr
750162df6439c49d73e1ec12451fe9b6 file 833 ./_bak_ftr.ned/dictadd8.ftr
5b1577f5aee4c0c2c6dad44c11f5453e file 1276 ./_bak_ftr.ned/dictadd9.ftr
f592de1c8e5ba32ccdbf5d2904ffc0e0 file 2183 ./_bak_ftr.ned/dictmod.ftr
5c8db8b8a7590273b9735652a644e529 file 90 ./_bak_ftr.ned/edited.ftr
672bf65a6ae075ce5f95558aea32997a file 29 ./_bak_ftr.ned/grtag.ftr
674cd0a6bbbf4a67ed71ada706b44efe file 402 ./_bak_ftr.ned/http4lex.ftr
9a0a10f87aed7c643815c88f438d2ab4 file 263 ./_bak_ftr.ned/lex.ftr
46d197489c6d0917715861f2b7fb6d80 file 4230 ./_bak_ftr.ned/lex00001.ftr
ea69102086e34c570b4f24e6aaa71365 file 38 ./_bak_ftr.ned/lexfile.ftr
ec0e4a898190f3cdc043c2826e4c6998 file 29 ./_bak_ftr.ned/lexicon.ftr
ef08aed1a99b84cf3ac23ccb73d02076 file 457 ./_bak_ftr.ned/lexpr001.ftr
9eedc8e6c04a72799111a6ae1222b4ac file 110 ./_bak_ftr.ned/lexproc.ftr
c654e879b0a81614741efa7e8aea9259 file 803 ./_bak_ftr.ned/lexut001.ftr
2e877afe782a674d80e91bace1a19bfd file 96 ./_bak_ftr.ned/make-dos.ftr
5f433bdee912012f99c6e98d7b577008 file 29 ./_bak_ftr.ned/makeshar.ftr
460ec1c5c58828fe944d9028a20e2a87 file 29 ./_bak_ftr.ned/ned.ftr
f18a7c290eec74368be721d71c6e3944 file 241 ./_bak_ftr.ned/parse001.ftr
3f3aba4c1b83e8fed8bc6d0181dd4676 file 872 ./_bak_ftr.ned/parse002.ftr
31d4738d139be749362aa166572a7c4c file 334 ./_bak_ftr.ned/parse007.ftr
b102c8adaa411d134dd4821e868e77f6 file 682 ./_bak_ftr.ned/parse008.ftr
26d29107715a26b0d626443183c7ecbf file 300 ./_bak_ftr.ned/parse014.ftr
bd66a22d034f623c377597ed1c115126 file 289 ./_bak_ftr.ned/parse015.ftr
81437c8f9094bbf0d9d23d4974ea886f file 2448 ./_bak_ftr.ned/parse016.ftr
248cefaa8c4533493609841b1ad8f1a3 file 235 ./_bak_ftr.ned/parse017.ftr
7945504f21085fc0c055598e4ab0d7d0 file 152 ./_bak_ftr.ned/parse019.ftr
5b8f927e886e4d39d836e8b076855cca file 250 ./_bak_ftr.ned/parse021.ftr
9f8620ebe18a4611f539bf13408c21a3 file 275 ./_bak_ftr.ned/parse022.ftr
e3b4583b3c9f715ec1b7d98757615652 file 2329 ./_bak_ftr.ned/possig.ftr
407a1451c371ab520f020e3793f2e90c file 2907 ./_bak_ftr.ned/pt.ftr
76027db3e48126cde323ce746efe689e file 29 ./_bak_ftr.ned/test1.ftr
10d2a0eda08fc34c0e78018be1df8e94 file 29 ./_bak_ftr.ned/test2.ftr
830c88d2fe1b26c14d9138e44070f7ad file 667 ./_bak_ftr.ned/tst1.ftr
91708b42cb22d1d1ccad7564651edcc0 file 180 ./_bak_ftr.ned/tst2.ftr
9736f1a6b6db910bae73ecada375c9bd file 29 ./_bak_ftr.ned/xx.ftr
10cabc7bd0fcab1ffce2cead7134cbfb file 753 ./alexicon.hyx
c9eabc39b163c5260be043c289c8a0fc file 36 ./alexicon.idx
c36572de7beac94fd2f9418bd3b1dd78 file 32 ./alexicon.lut
25c3e0240a733ed978f1c91d3ec327a1 file 735 ./dict0001.c
7df42a0c59645a7124a625a7ca0c5671 file 2596 ./dict0001.o
b88c018fc122c70e2b108a685e8bc129 file 1165 ./dict0002.c
7ca981048c0d6793d74507ed56042c62 file 3728 ./dict0002.o
2c65dc29b902325279f9c433c646e5b2 file 755 ./dict0003.c
3ee2bd0f5d260a6191fdc6d8f44b1403 file 4320 ./dict0003.o
77ecfb8b1afea9cfd2aacd1f31e288c3 file 4814 ./dict0004.c
2a04dd2a8c7566eb63af2697eceefa47 file 8492 ./dict0004.o
a8f1483975c942ba364a25df720a71ad file 1099 ./dict0005.c
141085a9f8059d75f7cf67cbc7f05ca9 file 6004 ./dict0005.o
fc432e07680f7e1893aa869866836cf8 file 1936 ./dict0006.c
cb92ba6b02e37e2f65e0b8470685db41 file 4820 ./dict0006.o
1031776dead55fd0cb782fc15704c74a file 927 ./dict0007.c
4f3eb9f70d31ad6a17a5db32ec852671 file 3472 ./dict0007.o
696d087160b44eddd3b35bede17f6274 file 920 ./dict0008.c
e86c5c857a818c6ff51738810ec040e7 file 3524 ./dict0008.o
be608c4c52b9f6f5fefbf026028fdb86 file 995 ./dict0009.c
5d951a8c969a60061c43e58660b0960f file 3784 ./dict0009.o
f198ddeaa0204a34442c79f01d4eae73 file 2285 ./dict0010.c
fa876edf11789421ea02b07c24a7f5b0 file 6264 ./dict0010.o
11eef22874edbce6e3fc9d24713b1138 file 694 ./dict0011.c
99e6ca67ffc56595886088dd4b89b8ac file 4512 ./dict0011.o
904ab571bd338998fcfda55ff7ebb497 file 1693 ./dict0012.c
a9de960f8f8318f0dddd5d2c7d5297c5 file 5448 ./dict0012.o
c395d152be2c03eccff9fff6cda53acb file 682 ./dict0013.c
959a0f6cea54800fe85cc7632b0f1a3a file 4240 ./dict0013.o
0cfc95102bd53babe351be227a3a2d77 file 1915 ./dict0014.c
d0b1d3b70f9becba64c4175f0d5f3c9d file 4708 ./dict0014.o
de31b64d234ebd4282fd0880ecd6d1cd file 1618 ./dict0015.c
da9dbfee1ca19bb65fb3520dd535eb54 file 7092 ./dict0015.o
ccec9826c46ebac07b5953104da37f3b file 3587 ./dict0016.c
3bf112ed9c7b07845d4a284af909789b file 6004 ./dict0016.o
edbb96a221be6d0c30ecceec51967936 file 1016 ./dict0018.c
8a0fe0414dfeda35e15ed312fb0269c6 file 2900 ./dict0018.o
c613a5d6f1b95d2594ad4b06c67d93be file 388488 ./dictadd
32b584ea223a015f2e0d153f682d5aea file 11200 ./dictadd.c
b7e18637dea58e84bc414e6ee88e13fc file 21328 ./dictadd.o
726d54770219ddb165f26cae0cd979f3 file 3235 ./dictadd1.c
e4ce273194fec8e27856fb4b773a99e3 file 8076 ./dictadd1.o
dda2ac67474da3ff08c141f7c995f593 file 7417 ./dictadd2.c
6bcbbda3a4e09574cc2f80554140e14e file 5908 ./dictadd2.o
0528b4e55c6dfea8d56f568464250b55 file 8144 ./dictadd3.c
626d206d09e83ab32883f943d4fd2720 file 9728 ./dictadd3.o
12235ad28abdf31a687185689bb766f6 file 1887 ./dictadd4.c
0b04aa92c35f185c9847a88fbf6f3edd file 5084 ./dictadd4.o
8fb53fd042307604fedb1abf7d5d44c3 file 1426 ./dictadd6.c
57a731fe921925dc2c9ab353a383b7b4 file 4800 ./dictadd6.o
6eb434a3bf55fd19dff044dc4d753432 file 1561 ./dictadd8.c
3fb941df9e5df46f52bf05fc9a93a756 file 3544 ./dictadd8.o
2d7b45a056c373fd7794b92b05a15dd0 file 1674 ./dictadd9.c
dc8047fa7099fd950397915902b3c097 file 3644 ./dictadd9.o
f9b2c351f258942633cc1540a536b794 file 109460 ./dictmod
72376830988bb71625eff6e025a10710 file 13184 ./dictmod.c
6ef55195d6f4d44b73d27674057f5c19 file 18808 ./dictmod.o
0abcc5f96310398f31a9ddb0cc0bd996 file 6641 ./grtag.pl
18a20dde925ef6589cbac1f329fb7961 file 5816 ./http4lex.pl
9d6ce0fc4b5739b58b5a8ee266602ad4 file 400 ./lex.c
1d429a50e9900525dcdff198769c0a10 file 15134 ./lex00001.c
f9aeade4ae7fd265e3f01809b3dd30e5 file 1959 ./lexpr001.c
4104dc8b6324b46a0bdf840c084ff27d file 4280 ./lexpr001.o
838192fa57aba272a40892ceff9c0820 file 265 ./lexproc.h
6dd47b55d356e0abf60c6bbe16dba50d file 6466 ./lexut001.c
c4e4c6e93165ecae0d2314ea2ccd7eb6 file 7236 ./lexut001.o
d41d8cd98f00b204e9800998ecf8427e file 0 ./lib
744ba024486b9d7ee9319bc3eb51db3e file 2429 ./make-dos
48c625d9d5228a47171aff22c2381ffa file 6343 ./makeshar.lst
3c6a4fa828ff948020f5dda79b4f4efc file 4540 ./parsd008.o
67dd182f3a28e7a4f76576120aedb417 file 6960 ./parsd016.o
fdbc1444920f04e5d72c40710a76696d file 704 ./parse007.c
d9a771086d3895297480b6e9e87bacca file 4308 ./parse007.o
6b4dcc218c5b4be614ca6e520a7939ea file 2021 ./parse008.c
c360fb88bd9ec65ab3c54f2b0cccbaf8 file 4384 ./parse008.o
3666227eb0822560af2a2d4d68ca20e2 file 558 ./parse014.c
a0b26f62c915af7123503fe53e324e9f file 2412 ./parse014.o
07b51d758bfee6aaac02e114fcbd7c52 file 3315 ./parse015.c
df26045c123b75dbba3e90616b61e6f0 file 4266 ./parse016.c
e285338524c27fbcd730082b9f20e2c2 file 6524 ./parse016.o
83ba6b9be085d8710d8cb13989104301 file 875 ./parse017.c
d29ed7bcb68671c7aa661e79324f0db9 file 3964 ./parse017.o
30c22988db7c578aeca03a3954f88977 file 3396 ./parse019.c
92caf57b6661d6dd18b12ddb54fe58de file 3024 ./parse019.o
38a19233e8bba91a013ad6ad358a821d file 555 ./parse021.c
cd975af9128097830a1b544da14f2a19 file 4252 ./parse021.o
1a4be39dc8c202857141d2a869049d6a file 747 ./parse022.c
56909122432617f91a7e709f7dfd1ac6 file 3672 ./parse022.o
b433f34332c05f0cb40c627b5edea2fb file 4053 ./possig.awk
f95886faeb329056c5a7371a6911c4de file 127443 ./pt
e57af719a461af6ce8ec959afb201a37 file 6581 ./pt.c
091d0d78155e737b411e850db1f1f6e5 file 11628 ./pt.o
1e7efa4d5c1264acb5f40034dc455ac1 file 200 ./test3a
cc4fb51e168a4d7950e583751d0b9494 file 200 ./test3b
3ebbeb571d1e9d8a354ad1fc77fbfb9a file 195 ./testdata/CVS/Entries
460e9ae96ee9730a1fbdaa128b456ab4 file 21 ./testdata/CVS/Repository
3f6cbd81c1c48286b371ab4555e9db3d file 61 ./testdata/CVS/Root
b403f6424bc8c7a8f3f4b628b2e00d09 file 51 ./testdata/CVS/Root.bak
5bd82f7acaf0923b7bb0d8022d29c6fc file 308 ./testdata/test1.l
f93900f14c00c2580ca2336095e75ff8 file 126 ./testdata/test2.l
7e27d1d4ee1e8d9aec0d976ab5d0f20e file 20 ./testdata/x1.l
4590e24626f557f385f3f01d28c06a3a file 215 ./testdata/x2a.l
dfdfb1cf2484830bd83c8dcc577a84ef file 63 ./testdata/x2b.l
969cc90f7549f7faa3f74c7d7bd76bba file 16043 ./tst1
dbbb6c092d74f7fd2c67809fe837501c file 3088 ./tst1.c
14aee66fefd27984a3c0f311ee527f4e file 960 ./tst2.c
#
# FILE %lexicon/make-ux (Makefile)
#
# Makefile fuer Unix
# see also: makeshar.lst
#
# written: 1991-02-01
# latest update: 2001-02-18 22:07:06
# $Id: Makefile,v 1.8 2009/03/07 11:36:39 gonter Exp $
#
# ============================================================================
CC=cc
OPTS=-g -I.
# OPTS=-I. -O -pedantic -Wall -Wuninitialized -Wunused -Wshadow
BIN=/usr/local/bin
# BIN=/afs/.wu-wien.ac.at/rs_aix32/usr/afsws/local/bin
# BIN=/afs/.wu-wien.ac.at/pmax_ul43a/usr/afsws/local/bin
BINS=dictadd
BINS2=pt dictmod
BINS3=tst1
# Note: atag.c missing?
lib=../../lib/libgg.a
LIBS=
# For SINIX 5.41 you need also these:
# LIBS=-lnsl -lresolv -lsocket -lksocket
all : all.exe
all.exe : lib $(BINS) $(BINS2) $(BINS3)
install : ${BINS}
cp ${BINS} ${BIN}
install2 : ${BINS2}
cp ${BINS2} ${BIN}
clean :
rm -f *.o lib $(BINS) $(BINS2)
distclean : clean
rm -f alexicon.lut alexicon.hyx alexicon.idx
# ----------------------------------------------------------------------------
lib.old= lex00001.o
lib1=parse007.o parse008.o parse014.o parse016.o parse017.o \
parse019.o parse021.o parse022.o parsd008.o parsd016.o \
dictadd1.o dictadd2.o dictadd3.o dictadd4.o dictadd6.o \
dictadd8.o dictadd9.o \
dict0001.o dict0002.o dict0003.o dict0004.o dict0005.o dict0006.o \
dict0007.o dict0008.o dict0009.o dict0010.o dict0011.o dict0012.o \
dict0013.o dict0014.o dict0015.o dict0016.o dict0018.o \
lexut001.o
lib : $(lib1)
ar ru $(lib) $?
touch lib
ranlib $(lib)
.c.o:
$(CC) $(OPTS) -c $?
all2:
( cd bbc && make )
( cd hyxp && make )
( cd ytree && make )
make
all2cleanall:
( cd bbc && make clean all )
( cd hyxp && make clean all )
( cd ytree && make clean all )
make clean all
# test programs: -------------------------------------------------------------
pt : pt.o parsd008.o parsd016.o $(lib)
cc -o pt pt.o parsd008.o parsd016.o $(lib)
lex : lex.o $(lib)
cc -o lex lex.o $(lib)
# production programs: -------------------------------------------------------
dictadd : dictadd.o $(lib)
cc -o dictadd dictadd.o $(lib) $(LIBS)
dictmod : dictmod.o lexpr001.o $(lib)
cc -o dictmod dictmod.o lexpr001.o $(lib)
atag : atag.o $(lib)
cc -o atag atag.o $(lib)
tst1 : tst1.c $(lib)
cc -I. -o tst1 tst1.c $(lib)
# ----------------------------------------------------------------------------
parsd008.o: parse008.c
$(CC) $(OPTS) -c -DDIAGNOSTIC -o $@ parse008.c
parsd016.o: parse016.c
$(CC) $(OPTS) -c -DDIAGNOSTIC -o $@ parse016.c
#!/usr/local/bin/perl
# FILE %work/fbsd/gg/app/lexicon/NOTES
#
# written: 1999-11-28
# latest update: 1999-11-28 13:12:34
#
char *get_divided_lexicon() returns strdup()'ed string.
=> Check if this could be a memory leak.
This diff is collapsed.
File added
File added
../../lib/include/contrib
\ No newline at end of file
/*
* FILE gg/app/lexicon/dict001.c
*
* written: 1994-07-24
* latest update: 1999-11-28 13:08:31
*
*/
#include <string.h>
#include <gg/filename.h>
#include <gg/parse.h>
/* ------------------------------------------------------------------------ */
char *get_divided_lexicon (
char *base_name,
int divide_mode,
char *entry_key)
{
int i;
int m;
char xfnm [24];
switch (divide_mode)
{
case DAMODE_DIVIDE1: m= 6; break;
case DAMODE_DIVIDE2: m= 7; break;
case DAMODE_DIVIDE3: m= 8; break;
default: return base_name;
}
for (i= 0; i < 5; i++) xfnm [i]= base_name [i];
for ( ; i < m; i++) xfnm [i]= *entry_key++;
for ( ; i < 8; i++) xfnm [i]= 'x';
return fnmcpy2 (xfnm+i, ".hyx");
}
File added
/*
* FILE %lexicon/dict0002.c
*
* written: 1994-07-29
* latest update: 1999-05-08 10:41:57
* $Id: dict0002.c,v 1.3 2001/02/19 00:27:16 gonter Exp $
*
*/
#include <stdio.h>
#include <string.h>
#include <gg/parse.h>
/* ------------------------------------------------------------------------ */
int dict_check_integrity (struct HYX_PARSER_CLASS *hpc)
{
if ((hyx_find_tag_definition (hpc, "LE") == (struct TAG_DEFINITION *) 0
&&hyx_make_tag_definition (hpc, "LE", 0x0201L, 0, 5000L, 2, "lexicon entry begin")
== (struct TAG_DEFINITION *) 0)
|| (hyx_find_tag_definition (hpc, "/LE") == (struct TAG_DEFINITION *) 0
&&hyx_make_tag_definition (hpc, "/LE", 0x0202L, 0, 5000L, 3, "lexicon entry end")
== (struct TAG_DEFINITION *) 0)
|| (hyx_find_tag_definition (hpc, ":") == (struct TAG_DEFINITION *) 0
&&hyx_make_tag_definition (hpc, ":", 0x0001L, 1, 10000L, 2, "frame begin")
== (struct TAG_DEFINITION *) 0)
|| (hyx_find_tag_definition (hpc, ";") == (struct TAG_DEFINITION *) 0
&&hyx_make_tag_definition (hpc, ";", 0x0002L, 1, 10000L, 3, "frame end")
== (struct TAG_DEFINITION *) 0))
return -1;
return 0;
}
File added
This diff is collapsed.
File added
This diff is collapsed.
File added
This diff is collapsed.
File added
This diff is collapsed.
File added
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment