home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news or mail, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/rfc822
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 53 75 62 6a 65 63 74 3a | 20 20 76 31 39 69 30 35 |Subject:| v19i05|
|00000010| 35 3a 20 20 46 6c 65 78 | 2c 20 61 20 66 61 73 74 |5: Flex|, a fast|
|00000020| 20 4c 45 58 20 72 65 70 | 6c 61 63 65 6d 65 6e 74 | LEX rep|lacement|
|00000030| 2c 20 50 61 72 74 30 31 | 2f 30 37 0a 4e 65 77 73 |, Part01|/07.News|
|00000040| 67 72 6f 75 70 73 3a 20 | 63 6f 6d 70 2e 73 6f 75 |groups: |comp.sou|
|00000050| 72 63 65 73 2e 75 6e 69 | 78 0a 53 65 6e 64 65 72 |rces.uni|x.Sender|
|00000060| 3a 20 73 6f 75 72 63 65 | 73 0a 41 70 70 72 6f 76 |: source|s.Approv|
|00000070| 65 64 3a 20 72 73 61 6c | 7a 40 75 75 6e 65 74 2e |ed: rsal|z@uunet.|
|00000080| 55 55 2e 4e 45 54 0a 0a | 53 75 62 6d 69 74 74 65 |UU.NET..|Submitte|
|00000090| 64 2d 62 79 3a 20 56 65 | 72 6e 20 50 61 78 73 6f |d-by: Ve|rn Paxso|
|000000a0| 6e 20 3c 76 65 72 6e 40 | 63 73 61 6d 2e 6c 62 6c |n <vern@|csam.lbl|
|000000b0| 2e 67 6f 76 3e 0a 50 6f | 73 74 69 6e 67 2d 6e 75 |.gov>.Po|sting-nu|
|000000c0| 6d 62 65 72 3a 20 56 6f | 6c 75 6d 65 20 31 39 2c |mber: Vo|lume 19,|
|000000d0| 20 49 73 73 75 65 20 35 | 35 0a 41 72 63 68 69 76 | Issue 5|5.Archiv|
|000000e0| 65 2d 6e 61 6d 65 3a 20 | 66 6c 65 78 32 2f 70 61 |e-name: |flex2/pa|
|000000f0| 72 74 30 31 0a 0a 23 21 | 20 2f 62 69 6e 2f 73 68 |rt01..#!| /bin/sh|
|00000100| 0a 23 20 54 68 69 73 20 | 69 73 20 61 20 73 68 65 |.# This |is a she|
|00000110| 6c 6c 20 61 72 63 68 69 | 76 65 2e 20 20 52 65 6d |ll archi|ve. Rem|
|00000120| 6f 76 65 20 61 6e 79 74 | 68 69 6e 67 20 62 65 66 |ove anyt|hing bef|
|00000130| 6f 72 65 20 74 68 69 73 | 20 6c 69 6e 65 2c 20 74 |ore this| line, t|
|00000140| 68 65 6e 20 75 6e 70 61 | 63 6b 0a 23 20 69 74 20 |hen unpa|ck.# it |
|00000150| 62 79 20 73 61 76 69 6e | 67 20 69 74 20 69 6e 74 |by savin|g it int|
|00000160| 6f 20 61 20 66 69 6c 65 | 20 61 6e 64 20 74 79 70 |o a file| and typ|
|00000170| 69 6e 67 20 22 73 68 20 | 66 69 6c 65 22 2e 20 20 |ing "sh |file". |
|00000180| 54 6f 20 6f 76 65 72 77 | 72 69 74 65 20 65 78 69 |To overw|rite exi|
|00000190| 73 74 69 6e 67 0a 23 20 | 66 69 6c 65 73 2c 20 74 |sting.# |files, t|
|000001a0| 79 70 65 20 22 73 68 20 | 66 69 6c 65 20 2d 63 22 |ype "sh |file -c"|
|000001b0| 2e 20 20 59 6f 75 20 63 | 61 6e 20 61 6c 73 6f 20 |. You c|an also |
|000001c0| 66 65 65 64 20 74 68 69 | 73 20 61 73 20 73 74 61 |feed thi|s as sta|
|000001d0| 6e 64 61 72 64 20 69 6e | 70 75 74 20 76 69 61 0a |ndard in|put via.|
|000001e0| 23 20 75 6e 73 68 61 72 | 2c 20 6f 72 20 62 79 20 |# unshar|, or by |
|000001f0| 74 79 70 69 6e 67 20 22 | 73 68 20 3c 66 69 6c 65 |typing "|sh <file|
|00000200| 22 2c 20 65 2e 67 2e 2e | 20 20 49 66 20 74 68 69 |", e.g..| If thi|
|00000210| 73 20 61 72 63 68 69 76 | 65 20 69 73 20 63 6f 6d |s archiv|e is com|
|00000220| 70 6c 65 74 65 2c 20 79 | 6f 75 0a 23 20 77 69 6c |plete, y|ou.# wil|
|00000230| 6c 20 73 65 65 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |l see th|e follow|
|00000240| 69 6e 67 20 6d 65 73 73 | 61 67 65 20 61 74 20 74 |ing mess|age at t|
|00000250| 68 65 20 65 6e 64 3a 0a | 23 09 09 22 45 6e 64 20 |he end:.|#.."End |
|00000260| 6f 66 20 61 72 63 68 69 | 76 65 20 31 20 28 6f 66 |of archi|ve 1 (of|
|00000270| 20 37 29 2e 22 0a 23 20 | 43 6f 6e 74 65 6e 74 73 | 7).".# |Contents|
|00000280| 3a 20 20 66 6c 65 78 20 | 66 6c 65 78 2f 43 4f 50 |: flex |flex/COP|
|00000290| 59 49 4e 47 20 66 6c 65 | 78 2f 43 68 61 6e 67 65 |YING fle|x/Change|
|000002a0| 73 20 66 6c 65 78 2f 4d | 49 53 43 20 66 6c 65 78 |s flex/M|ISC flex|
|000002b0| 2f 4d 61 6b 65 66 69 6c | 65 0a 23 20 20 20 66 6c |/Makefil|e.# fl|
|000002c0| 65 78 2f 52 45 41 44 4d | 45 20 66 6c 65 78 2f 63 |ex/READM|E flex/c|
|000002d0| 63 6c 2e 63 20 66 6c 65 | 78 2f 65 63 73 2e 63 20 |cl.c fle|x/ecs.c |
|000002e0| 66 6c 65 78 2f 73 63 61 | 6e 2e 6c 20 66 6c 65 78 |flex/sca|n.l flex|
|000002f0| 2f 73 79 6d 2e 63 0a 23 | 20 20 20 66 6c 65 78 2f |/sym.c.#| flex/|
|00000300| 79 79 6c 65 78 2e 63 0a | 23 20 57 72 61 70 70 65 |yylex.c.|# Wrappe|
|00000310| 64 20 62 79 20 72 73 61 | 6c 7a 40 70 72 75 6e 65 |d by rsa|lz@prune|
|00000320| 2e 62 62 6e 2e 63 6f 6d | 20 6f 6e 20 54 68 75 20 |.bbn.com| on Thu |
|00000330| 4a 75 6e 20 32 32 20 31 | 39 3a 30 31 3a 34 32 20 |Jun 22 1|9:01:42 |
|00000340| 31 39 38 39 0a 50 41 54 | 48 3d 2f 62 69 6e 3a 2f |1989.PAT|H=/bin:/|
|00000350| 75 73 72 2f 62 69 6e 3a | 2f 75 73 72 2f 75 63 62 |usr/bin:|/usr/ucb|
|00000360| 20 3b 20 65 78 70 6f 72 | 74 20 50 41 54 48 0a 69 | ; expor|t PATH.i|
|00000370| 66 20 74 65 73 74 20 21 | 20 2d 64 20 27 66 6c 65 |f test !| -d 'fle|
|00000380| 78 27 20 3b 20 74 68 65 | 6e 0a 20 20 20 20 65 63 |x' ; the|n. ec|
|00000390| 68 6f 20 73 68 61 72 3a | 20 43 72 65 61 74 69 6e |ho shar:| Creatin|
|000003a0| 67 20 64 69 72 65 63 74 | 6f 72 79 20 5c 22 27 66 |g direct|ory \"'f|
|000003b0| 6c 65 78 27 5c 22 0a 20 | 20 20 20 6d 6b 64 69 72 |lex'\". | mkdir|
|000003c0| 20 27 66 6c 65 78 27 0a | 66 69 0a 69 66 20 74 65 | 'flex'.|fi.if te|
|000003d0| 73 74 20 2d 66 20 27 66 | 6c 65 78 2f 43 4f 50 59 |st -f 'f|lex/COPY|
|000003e0| 49 4e 47 27 20 2d 61 20 | 22 24 7b 31 7d 22 20 21 |ING' -a |"${1}" !|
|000003f0| 3d 20 22 2d 63 22 20 3b | 20 74 68 65 6e 20 0a 20 |= "-c" ;| then . |
|00000400| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 57 69 6c 6c | echo sh|ar: Will|
|00000410| 20 6e 6f 74 20 63 6c 6f | 62 62 65 72 20 65 78 69 | not clo|bber exi|
|00000420| 73 74 69 6e 67 20 66 69 | 6c 65 20 5c 22 27 66 6c |sting fi|le \"'fl|
|00000430| 65 78 2f 43 4f 50 59 49 | 4e 47 27 5c 22 0a 65 6c |ex/COPYI|NG'\".el|
|00000440| 73 65 0a 65 63 68 6f 20 | 73 68 61 72 3a 20 45 78 |se.echo |shar: Ex|
|00000450| 74 72 61 63 74 69 6e 67 | 20 5c 22 27 66 6c 65 78 |tracting| \"'flex|
|00000460| 2f 43 4f 50 59 49 4e 47 | 27 5c 22 20 5c 28 31 35 |/COPYING|'\" \(15|
|00000470| 35 34 20 63 68 61 72 61 | 63 74 65 72 73 5c 29 0a |54 chara|cters\).|
|00000480| 73 65 64 20 22 73 2f 5e | 58 2f 2f 22 20 3e 27 66 |sed "s/^|X//" >'f|
|00000490| 6c 65 78 2f 43 4f 50 59 | 49 4e 47 27 20 3c 3c 27 |lex/COPY|ING' <<'|
|000004a0| 45 4e 44 5f 4f 46 5f 46 | 49 4c 45 27 0a 58 46 6c |END_OF_F|ILE'.XFl|
|000004b0| 65 78 20 63 61 72 72 69 | 65 73 20 74 68 65 20 63 |ex carri|es the c|
|000004c0| 6f 70 79 72 69 67 68 74 | 20 75 73 65 64 20 66 6f |opyright| used fo|
|000004d0| 72 20 42 53 44 20 73 6f | 66 74 77 61 72 65 2c 20 |r BSD so|ftware, |
|000004e0| 73 6c 69 67 68 74 6c 79 | 20 6d 6f 64 69 66 69 65 |slightly| modifie|
|000004f0| 64 0a 58 62 65 63 61 75 | 73 65 20 69 74 20 6f 72 |d.Xbecau|se it or|
|00000500| 69 67 69 6e 61 74 65 64 | 20 61 74 20 74 68 65 20 |iginated| at the |
|00000510| 4c 61 77 72 65 6e 63 65 | 20 42 65 72 6b 65 6c 65 |Lawrence| Berkele|
|00000520| 79 20 28 6e 6f 74 20 4c | 69 76 65 72 6d 6f 72 65 |y (not L|ivermore|
|00000530| 21 29 20 4c 61 62 6f 72 | 61 74 6f 72 79 2c 0a 58 |!) Labor|atory,.X|
|00000540| 77 68 69 63 68 20 6f 70 | 65 72 61 74 65 73 20 75 |which op|erates u|
|00000550| 6e 64 65 72 20 61 20 63 | 6f 6e 74 72 61 63 74 20 |nder a c|ontract |
|00000560| 77 69 74 68 20 74 68 65 | 20 44 65 70 61 72 74 6d |with the| Departm|
|00000570| 65 6e 74 20 6f 66 20 45 | 6e 65 72 67 79 3a 0a 58 |ent of E|nergy:.X|
|00000580| 0a 58 09 43 6f 70 79 72 | 69 67 68 74 20 28 63 29 |.X.Copyr|ight (c)|
|00000590| 20 31 39 38 39 20 54 68 | 65 20 52 65 67 65 6e 74 | 1989 Th|e Regent|
|000005a0| 73 20 6f 66 20 74 68 65 | 20 55 6e 69 76 65 72 73 |s of the| Univers|
|000005b0| 69 74 79 20 6f 66 20 43 | 61 6c 69 66 6f 72 6e 69 |ity of C|aliforni|
|000005c0| 61 2e 0a 58 09 41 6c 6c | 20 72 69 67 68 74 73 20 |a..X.All| rights |
|000005d0| 72 65 73 65 72 76 65 64 | 2e 0a 58 0a 58 09 54 68 |reserved|..X.X.Th|
|000005e0| 69 73 20 63 6f 64 65 20 | 69 73 20 64 65 72 69 76 |is code |is deriv|
|000005f0| 65 64 20 66 72 6f 6d 20 | 73 6f 66 74 77 61 72 65 |ed from |software|
|00000600| 20 63 6f 6e 74 72 69 62 | 75 74 65 64 20 74 6f 20 | contrib|uted to |
|00000610| 42 65 72 6b 65 6c 65 79 | 20 62 79 0a 58 09 56 65 |Berkeley| by.X.Ve|
|00000620| 72 6e 20 50 61 78 73 6f | 6e 2e 0a 58 0a 58 09 54 |rn Paxso|n..X.X.T|
|00000630| 68 65 20 55 6e 69 74 65 | 64 20 53 74 61 74 65 73 |he Unite|d States|
|00000640| 20 47 6f 76 65 72 6e 6d | 65 6e 74 20 68 61 73 20 | Governm|ent has |
|00000650| 72 69 67 68 74 73 20 69 | 6e 20 74 68 69 73 20 77 |rights i|n this w|
|00000660| 6f 72 6b 20 70 75 72 73 | 75 61 6e 74 20 74 6f 0a |ork purs|uant to.|
|00000670| 58 09 63 6f 6e 74 72 61 | 63 74 20 6e 6f 2e 20 44 |X.contra|ct no. D|
|00000680| 45 2d 41 43 30 33 2d 37 | 36 53 46 30 30 30 39 38 |E-AC03-7|6SF00098|
|00000690| 20 62 65 74 77 65 65 6e | 20 74 68 65 20 55 6e 69 | between| the Uni|
|000006a0| 74 65 64 20 53 74 61 74 | 65 73 20 44 65 70 61 72 |ted Stat|es Depar|
|000006b0| 74 6d 65 6e 74 20 6f 66 | 0a 58 09 45 6e 65 72 67 |tment of|.X.Energ|
|000006c0| 79 20 61 6e 64 20 74 68 | 65 20 55 6e 69 76 65 72 |y and th|e Univer|
|000006d0| 73 69 74 79 20 6f 66 20 | 43 61 6c 69 66 6f 72 6e |sity of |Californ|
|000006e0| 69 61 2e 0a 58 0a 58 09 | 52 65 64 69 73 74 72 69 |ia..X.X.|Redistri|
|000006f0| 62 75 74 69 6f 6e 20 61 | 6e 64 20 75 73 65 20 69 |bution a|nd use i|
|00000700| 6e 20 73 6f 75 72 63 65 | 20 61 6e 64 20 62 69 6e |n source| and bin|
|00000710| 61 72 79 20 66 6f 72 6d | 73 20 61 72 65 20 70 65 |ary form|s are pe|
|00000720| 72 6d 69 74 74 65 64 0a | 58 09 70 72 6f 76 69 64 |rmitted.|X.provid|
|00000730| 65 64 20 74 68 61 74 20 | 74 68 65 20 61 62 6f 76 |ed that |the abov|
|00000740| 65 20 63 6f 70 79 72 69 | 67 68 74 20 6e 6f 74 69 |e copyri|ght noti|
|00000750| 63 65 20 61 6e 64 20 74 | 68 69 73 20 70 61 72 61 |ce and t|his para|
|00000760| 67 72 61 70 68 20 61 72 | 65 0a 58 09 64 75 70 6c |graph ar|e.X.dupl|
|00000770| 69 63 61 74 65 64 20 69 | 6e 20 61 6c 6c 20 73 75 |icated i|n all su|
|00000780| 63 68 20 66 6f 72 6d 73 | 20 61 6e 64 20 74 68 61 |ch forms| and tha|
|00000790| 74 20 61 6e 79 20 64 6f | 63 75 6d 65 6e 74 61 74 |t any do|cumentat|
|000007a0| 69 6f 6e 2c 0a 58 09 61 | 64 76 65 72 74 69 73 69 |ion,.X.a|dvertisi|
|000007b0| 6e 67 20 6d 61 74 65 72 | 69 61 6c 73 2c 20 61 6e |ng mater|ials, an|
|000007c0| 64 20 6f 74 68 65 72 20 | 6d 61 74 65 72 69 61 6c |d other |material|
|000007d0| 73 20 72 65 6c 61 74 65 | 64 20 74 6f 20 73 75 63 |s relate|d to suc|
|000007e0| 68 0a 58 09 64 69 73 74 | 72 69 62 75 74 69 6f 6e |h.X.dist|ribution|
|000007f0| 20 61 6e 64 20 75 73 65 | 20 61 63 6b 6e 6f 77 6c | and use| acknowl|
|00000800| 65 64 67 65 20 74 68 61 | 74 20 74 68 65 20 73 6f |edge tha|t the so|
|00000810| 66 74 77 61 72 65 20 77 | 61 73 20 64 65 76 65 6c |ftware w|as devel|
|00000820| 6f 70 65 64 0a 58 09 62 | 79 20 74 68 65 20 55 6e |oped.X.b|y the Un|
|00000830| 69 76 65 72 73 69 74 79 | 20 6f 66 20 43 61 6c 69 |iversity| of Cali|
|00000840| 66 6f 72 6e 69 61 2c 20 | 42 65 72 6b 65 6c 65 79 |fornia, |Berkeley|
|00000850| 2e 20 20 54 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |. The n|ame of t|
|00000860| 68 65 0a 58 09 55 6e 69 | 76 65 72 73 69 74 79 20 |he.X.Uni|versity |
|00000870| 6d 61 79 20 6e 6f 74 20 | 62 65 20 75 73 65 64 20 |may not |be used |
|00000880| 74 6f 20 65 6e 64 6f 72 | 73 65 20 6f 72 20 70 72 |to endor|se or pr|
|00000890| 6f 6d 6f 74 65 20 70 72 | 6f 64 75 63 74 73 20 64 |omote pr|oducts d|
|000008a0| 65 72 69 76 65 64 0a 58 | 09 66 72 6f 6d 20 74 68 |erived.X|.from th|
|000008b0| 69 73 20 73 6f 66 74 77 | 61 72 65 20 77 69 74 68 |is softw|are with|
|000008c0| 6f 75 74 20 73 70 65 63 | 69 66 69 63 20 70 72 69 |out spec|ific pri|
|000008d0| 6f 72 20 77 72 69 74 74 | 65 6e 20 70 65 72 6d 69 |or writt|en permi|
|000008e0| 73 73 69 6f 6e 2e 0a 58 | 09 54 48 49 53 20 53 4f |ssion..X|.THIS SO|
|000008f0| 46 54 57 41 52 45 20 49 | 53 20 50 52 4f 56 49 44 |FTWARE I|S PROVID|
|00000900| 45 44 20 60 60 41 53 20 | 49 53 27 27 20 41 4e 44 |ED ``AS |IS'' AND|
|00000910| 20 57 49 54 48 4f 55 54 | 20 41 4e 59 20 45 58 50 | WITHOUT| ANY EXP|
|00000920| 52 45 53 53 20 4f 52 0a | 58 09 49 4d 50 4c 49 45 |RESS OR.|X.IMPLIE|
|00000930| 44 20 57 41 52 52 41 4e | 54 49 45 53 2c 20 49 4e |D WARRAN|TIES, IN|
|00000940| 43 4c 55 44 49 4e 47 2c | 20 57 49 54 48 4f 55 54 |CLUDING,| WITHOUT|
|00000950| 20 4c 49 4d 49 54 41 54 | 49 4f 4e 2c 20 54 48 45 | LIMITAT|ION, THE|
|00000960| 20 49 4d 50 4c 49 45 44 | 0a 58 09 57 41 52 52 41 | IMPLIED|.X.WARRA|
|00000970| 4e 54 49 45 53 20 4f 46 | 20 4d 45 52 43 48 41 4e |NTIES OF| MERCHAN|
|00000980| 54 41 42 49 4c 49 54 59 | 20 41 4e 44 20 46 49 54 |TABILITY| AND FIT|
|00000990| 4e 45 53 53 20 46 4f 52 | 20 41 20 50 41 52 54 49 |NESS FOR| A PARTI|
|000009a0| 43 55 4c 41 52 20 50 55 | 52 50 4f 53 45 2e 0a 58 |CULAR PU|RPOSE..X|
|000009b0| 0a 58 54 68 69 73 20 62 | 61 73 69 63 61 6c 6c 79 |.XThis b|asically|
|000009c0| 20 73 61 79 73 20 22 64 | 6f 20 77 68 61 74 65 76 | says "d|o whatev|
|000009d0| 65 72 20 79 6f 75 20 70 | 6c 65 61 73 65 20 77 69 |er you p|lease wi|
|000009e0| 74 68 20 74 68 69 73 20 | 73 6f 66 74 77 61 72 65 |th this |software|
|000009f0| 20 65 78 63 65 70 74 0a | 58 72 65 6d 6f 76 65 20 | except.|Xremove |
|00000a00| 74 68 69 73 20 6e 6f 74 | 69 63 65 22 2e 0a 58 0a |this not|ice"..X.|
|00000a10| 58 4e 6f 74 65 20 74 68 | 61 74 20 74 68 65 20 22 |XNote th|at the "|
|00000a20| 66 6c 65 78 2e 73 6b 65 | 6c 22 20 73 63 61 6e 6e |flex.ske|l" scann|
|00000a30| 65 72 20 73 6b 65 6c 65 | 74 6f 6e 20 63 61 72 72 |er skele|ton carr|
|00000a40| 69 65 73 20 6e 6f 20 63 | 6f 70 79 72 69 67 68 74 |ies no c|opyright|
|00000a50| 20 6e 6f 74 69 63 65 2e | 0a 58 59 6f 75 20 61 72 | notice.|.XYou ar|
|00000a60| 65 20 66 72 65 65 20 74 | 6f 20 64 6f 20 77 68 61 |e free t|o do wha|
|00000a70| 74 65 76 65 72 20 79 6f | 75 20 70 6c 65 61 73 65 |tever yo|u please|
|00000a80| 20 77 69 74 68 20 73 63 | 61 6e 6e 65 72 73 20 67 | with sc|anners g|
|00000a90| 65 6e 65 72 61 74 65 64 | 20 75 73 69 6e 67 20 66 |enerated| using f|
|00000aa0| 6c 65 78 3b 0a 58 66 6f | 72 20 74 68 65 6d 2c 20 |lex;.Xfo|r them, |
|00000ab0| 79 6f 75 20 61 72 65 20 | 6e 6f 74 20 65 76 65 6e |you are |not even|
|00000ac0| 20 62 6f 75 6e 64 20 62 | 79 20 74 68 65 20 61 62 | bound b|y the ab|
|00000ad0| 6f 76 65 20 63 6f 70 79 | 72 69 67 68 74 2e 0a 45 |ove copy|right..E|
|00000ae0| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 69 66 20 74 65 |ND_OF_FI|LE.if te|
|00000af0| 73 74 20 31 35 35 34 20 | 2d 6e 65 20 60 77 63 20 |st 1554 |-ne `wc |
|00000b00| 2d 63 20 3c 27 66 6c 65 | 78 2f 43 4f 50 59 49 4e |-c <'fle|x/COPYIN|
|00000b10| 47 27 60 3b 20 74 68 65 | 6e 0a 20 20 20 20 65 63 |G'`; the|n. ec|
|00000b20| 68 6f 20 73 68 61 72 3a | 20 5c 22 27 66 6c 65 78 |ho shar:| \"'flex|
|00000b30| 2f 43 4f 50 59 49 4e 47 | 27 5c 22 20 75 6e 70 61 |/COPYING|'\" unpa|
|00000b40| 63 6b 65 64 20 77 69 74 | 68 20 77 72 6f 6e 67 20 |cked wit|h wrong |
|00000b50| 73 69 7a 65 21 0a 66 69 | 0a 23 20 65 6e 64 20 6f |size!.fi|.# end o|
|00000b60| 66 20 27 66 6c 65 78 2f | 43 4f 50 59 49 4e 47 27 |f 'flex/|COPYING'|
|00000b70| 0a 66 69 0a 69 66 20 74 | 65 73 74 20 2d 66 20 27 |.fi.if t|est -f '|
|00000b80| 66 6c 65 78 2f 43 68 61 | 6e 67 65 73 27 20 2d 61 |flex/Cha|nges' -a|
|00000b90| 20 22 24 7b 31 7d 22 20 | 21 3d 20 22 2d 63 22 20 | "${1}" |!= "-c" |
|00000ba0| 3b 20 74 68 65 6e 20 0a | 20 20 65 63 68 6f 20 73 |; then .| echo s|
|00000bb0| 68 61 72 3a 20 57 69 6c | 6c 20 6e 6f 74 20 63 6c |har: Wil|l not cl|
|00000bc0| 6f 62 62 65 72 20 65 78 | 69 73 74 69 6e 67 20 66 |obber ex|isting f|
|00000bd0| 69 6c 65 20 5c 22 27 66 | 6c 65 78 2f 43 68 61 6e |ile \"'f|lex/Chan|
|00000be0| 67 65 73 27 5c 22 0a 65 | 6c 73 65 0a 65 63 68 6f |ges'\".e|lse.echo|
|00000bf0| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|00000c00| 67 20 5c 22 27 66 6c 65 | 78 2f 43 68 61 6e 67 65 |g \"'fle|x/Change|
|00000c10| 73 27 5c 22 20 5c 28 33 | 38 39 37 20 63 68 61 72 |s'\" \(3|897 char|
|00000c20| 61 63 74 65 72 73 5c 29 | 0a 73 65 64 20 22 73 2f |acters\)|.sed "s/|
|00000c30| 5e 58 2f 2f 22 20 3e 27 | 66 6c 65 78 2f 43 68 61 |^X//" >'|flex/Cha|
|00000c40| 6e 67 65 73 27 20 3c 3c | 27 45 4e 44 5f 4f 46 5f |nges' <<|'END_OF_|
|00000c50| 46 49 4c 45 27 0a 58 43 | 68 61 6e 67 65 73 20 62 |FILE'.XC|hanges b|
|00000c60| 65 74 77 65 65 6e 20 32 | 2e 31 20 62 65 74 61 2d |etween 2|.1 beta-|
|00000c70| 74 65 73 74 20 72 65 6c | 65 61 73 65 20 6f 66 20 |test rel|ease of |
|00000c80| 4a 75 6e 65 20 27 38 39 | 20 61 6e 64 20 70 72 65 |June '89| and pre|
|00000c90| 76 69 6f 75 73 20 72 65 | 6c 65 61 73 65 3a 0a 58 |vious re|lease:.X|
|00000ca0| 0a 58 20 20 20 20 55 73 | 65 72 2d 76 69 73 69 62 |.X Us|er-visib|
|00000cb0| 6c 65 3a 0a 58 0a 58 09 | 2d 20 2d 70 20 66 6c 61 |le:.X.X.|- -p fla|
|00000cc0| 67 20 67 65 6e 65 72 61 | 74 65 73 20 61 20 70 65 |g genera|tes a pe|
|00000cd0| 72 66 6f 72 6d 61 6e 63 | 65 20 72 65 70 6f 72 74 |rformanc|e report|
|00000ce0| 20 74 6f 20 73 74 64 65 | 72 72 2e 20 20 54 68 65 | to stde|rr. The|
|00000cf0| 20 72 65 70 6f 72 74 0a | 58 09 20 20 63 6f 6e 73 | report.|X. cons|
|00000d00| 69 73 74 73 20 6f 66 20 | 63 6f 6d 6d 65 6e 74 73 |ists of |comments|
|00000d10| 20 72 65 67 61 72 64 69 | 6e 67 20 66 65 61 74 75 | regardi|ng featu|
|00000d20| 72 65 73 20 6f 66 20 74 | 68 65 20 73 63 61 6e 6e |res of t|he scann|
|00000d30| 65 72 20 72 75 6c 65 73 | 0a 58 09 20 20 77 68 69 |er rules|.X. whi|
|00000d40| 63 68 20 72 65 73 75 6c | 74 20 69 6e 20 73 6c 6f |ch resul|t in slo|
|00000d50| 77 65 72 20 73 63 61 6e | 6e 65 72 73 2e 0a 58 0a |wer scan|ners..X.|
|00000d60| 58 09 2d 20 2d 62 20 66 | 6c 61 67 20 67 65 6e 65 |X.- -b f|lag gene|
|00000d70| 72 61 74 65 73 20 62 61 | 63 6b 74 72 61 63 6b 69 |rates ba|cktracki|
|00000d80| 6e 67 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 74 |ng infor|mation t|
|00000d90| 6f 20 6c 65 78 2e 62 61 | 63 6b 74 72 61 63 6b 2e |o lex.ba|cktrack.|
|00000da0| 0a 58 09 20 20 54 68 69 | 73 20 69 73 20 61 20 6c |.X. Thi|s is a l|
|00000db0| 69 73 74 20 6f 66 20 73 | 63 61 6e 6e 65 72 20 73 |ist of s|canner s|
|00000dc0| 74 61 74 65 73 20 77 68 | 69 63 68 20 72 65 71 75 |tates wh|ich requ|
|00000dd0| 69 72 65 20 62 61 63 6b | 74 72 61 63 6b 69 6e 67 |ire back|tracking|
|00000de0| 0a 58 09 20 20 61 6e 64 | 20 74 68 65 20 63 68 61 |.X. and| the cha|
|00000df0| 72 61 63 74 65 72 73 20 | 6f 6e 20 77 68 69 63 68 |racters |on which|
|00000e00| 20 74 68 65 79 20 64 6f | 20 73 6f 2e 20 20 42 79 | they do| so. By|
|00000e10| 20 61 64 64 69 6e 67 20 | 72 75 6c 65 73 0a 58 09 | adding |rules.X.|
|00000e20| 20 20 6f 6e 65 20 63 61 | 6e 20 72 65 6d 6f 76 65 | one ca|n remove|
|00000e30| 20 62 61 63 6b 74 72 61 | 63 6b 69 6e 67 20 73 74 | backtra|cking st|
|00000e40| 61 74 65 73 2e 20 20 49 | 66 20 61 6c 6c 20 62 61 |ates. I|f all ba|
|00000e50| 63 6b 74 72 61 63 6b 69 | 6e 67 20 73 74 61 74 65 |cktracki|ng state|
|00000e60| 73 0a 58 09 20 20 61 72 | 65 20 65 6c 69 6d 69 6e |s.X. ar|e elimin|
|00000e70| 61 74 65 64 2c 20 74 68 | 65 20 67 65 6e 65 72 61 |ated, th|e genera|
|00000e80| 74 65 64 20 73 63 61 6e | 6e 65 72 20 77 69 6c 6c |ted scan|ner will|
|00000e90| 20 72 75 6e 20 66 61 73 | 74 65 72 2e 0a 58 09 20 | run fas|ter..X. |
|00000ea0| 20 42 61 63 6b 74 72 61 | 63 6b 69 6e 67 20 69 73 | Backtra|cking is|
|00000eb0| 20 6e 6f 74 20 79 65 74 | 20 64 6f 63 75 6d 65 6e | not yet| documen|
|00000ec0| 74 65 64 20 69 6e 20 74 | 68 65 20 6d 61 6e 75 61 |ted in t|he manua|
|00000ed0| 6c 20 65 6e 74 72 79 2e | 0a 58 0a 58 09 2d 20 56 |l entry.|.X.X.- V|
|00000ee0| 61 72 69 61 62 6c 65 20 | 74 72 61 69 6c 69 6e 67 |ariable |trailing|
|00000ef0| 20 63 6f 6e 74 65 78 74 | 20 6e 6f 77 20 77 6f 72 | context| now wor|
|00000f00| 6b 73 2c 20 69 2e 65 2e | 2c 20 6f 6e 65 20 63 61 |ks, i.e.|, one ca|
|00000f10| 6e 20 68 61 76 65 0a 58 | 09 20 20 72 75 6c 65 73 |n have.X|. rules|
|00000f20| 20 6c 69 6b 65 20 22 28 | 66 6f 6f 29 2a 2f 5b 20 | like "(|foo)*/[ |
|00000f30| 5c 74 5d 2a 62 6c 65 74 | 63 68 22 2e 20 20 53 6f |\t]*blet|ch". So|
|00000f40| 6d 65 20 74 72 61 69 6c | 69 6e 67 20 63 6f 6e 74 |me trail|ing cont|
|00000f50| 65 78 74 0a 58 09 20 20 | 70 61 74 74 65 72 6e 73 |ext.X. |patterns|
|00000f60| 20 73 74 69 6c 6c 20 63 | 61 6e 6e 6f 74 20 62 65 | still c|annot be|
|00000f70| 20 70 72 6f 70 65 72 6c | 79 20 6d 61 74 63 68 65 | properl|y matche|
|00000f80| 64 20 61 6e 64 20 67 65 | 6e 65 72 61 74 65 0a 58 |d and ge|nerate.X|
|00000f90| 09 20 20 65 72 72 6f 72 | 20 6d 65 73 73 61 67 65 |. error| message|
|00000fa0| 73 2e 20 20 54 68 65 73 | 65 20 61 72 65 20 70 61 |s. Thes|e are pa|
|00000fb0| 74 74 65 72 6e 73 20 77 | 68 65 72 65 20 74 68 65 |tterns w|here the|
|00000fc0| 20 65 6e 64 69 6e 67 20 | 6f 66 20 74 68 65 0a 58 | ending |of the.X|
|00000fd0| 09 20 20 66 69 72 73 74 | 20 70 61 72 74 20 6f 66 |. first| part of|
|00000fe0| 20 74 68 65 20 72 75 6c | 65 20 6d 61 74 63 68 65 | the rul|e matche|
|00000ff0| 73 20 74 68 65 20 62 65 | 67 69 6e 6e 69 6e 67 20 |s the be|ginning |
|00001000| 6f 66 20 74 68 65 20 73 | 65 63 6f 6e 64 0a 58 09 |of the s|econd.X.|
|00001010| 20 20 70 61 72 74 2c 20 | 73 75 63 68 20 61 73 20 | part, |such as |
|00001020| 22 7a 78 2a 2f 78 79 2a | 22 2c 20 77 68 65 72 65 |"zx*/xy*|", where|
|00001030| 20 74 68 65 20 27 78 2a | 27 20 6d 61 74 63 68 65 | the 'x*|' matche|
|00001040| 73 20 74 68 65 20 27 78 | 27 20 61 74 0a 58 09 20 |s the 'x|' at.X. |
|00001050| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 6f | the beg|inning o|
|00001060| 66 20 74 68 65 20 74 72 | 61 69 6c 69 6e 67 20 63 |f the tr|ailing c|
|00001070| 6f 6e 74 65 78 74 2e 20 | 20 4c 65 78 20 77 6f 6e |ontext. | Lex won|
|00001080| 27 74 20 67 65 74 20 74 | 68 65 73 65 0a 58 09 20 |'t get t|hese.X. |
|00001090| 20 70 61 74 74 65 72 6e | 73 20 72 69 67 68 74 20 | pattern|s right |
|000010a0| 65 69 74 68 65 72 2e 0a | 58 0a 58 09 2d 20 46 61 |either..|X.X.- Fa|
|000010b0| 73 74 65 72 20 73 63 61 | 6e 6e 65 72 73 2e 0a 58 |ster sca|nners..X|
|000010c0| 0a 58 09 2d 20 45 6e 64 | 2d 6f 66 2d 66 69 6c 65 |.X.- End|-of-file|
|000010d0| 20 72 75 6c 65 73 2e 20 | 20 54 68 65 20 73 70 65 | rules. | The spe|
|000010e0| 63 69 61 6c 20 72 75 6c | 65 20 22 3c 3c 45 4f 46 |cial rul|e "<<EOF|
|000010f0| 3e 3e 22 20 69 6e 64 69 | 63 61 74 65 73 0a 58 09 |>>" indi|cates.X.|
|00001100| 20 20 61 63 74 69 6f 6e | 73 20 77 68 69 63 68 20 | action|s which |
|00001110| 61 72 65 20 74 6f 20 62 | 65 20 74 61 6b 65 6e 20 |are to b|e taken |
|00001120| 77 68 65 6e 20 61 6e 20 | 65 6e 64 2d 6f 66 2d 66 |when an |end-of-f|
|00001130| 69 6c 65 20 69 73 0a 58 | 09 20 20 65 6e 63 6f 75 |ile is.X|. encou|
|00001140| 6e 74 65 72 65 64 20 61 | 6e 64 20 79 79 77 72 61 |ntered a|nd yywra|
|00001150| 70 28 29 20 72 65 74 75 | 72 6e 73 20 6e 6f 6e 2d |p() retu|rns non-|
|00001160| 7a 65 72 6f 20 28 69 2e | 65 2e 2c 20 69 6e 64 69 |zero (i.|e., indi|
|00001170| 63 61 74 65 73 0a 58 09 | 20 20 6e 6f 20 66 75 72 |cates.X.| no fur|
|00001180| 74 68 65 72 20 66 69 6c | 65 73 20 74 6f 20 70 72 |ther fil|es to pr|
|00001190| 6f 63 65 73 73 29 2e 20 | 20 53 65 65 20 6d 61 6e |ocess). | See man|
|000011a0| 75 61 6c 20 65 6e 74 72 | 79 20 66 6f 72 20 65 78 |ual entr|y for ex|
|000011b0| 61 6d 70 6c 65 2e 0a 58 | 0a 58 09 2d 20 54 68 65 |ample..X|.X.- The|
|000011c0| 20 2d 72 20 28 72 65 6a | 65 63 74 20 75 73 65 64 | -r (rej|ect used|
|000011d0| 29 20 66 6c 61 67 20 69 | 73 20 67 6f 6e 65 2e 20 |) flag i|s gone. |
|000011e0| 20 66 6c 65 78 20 6e 6f | 77 20 73 63 61 6e 73 20 | flex no|w scans |
|000011f0| 74 68 65 20 69 6e 70 75 | 74 0a 58 09 20 20 66 6f |the inpu|t.X. fo|
|00001200| 72 20 6f 63 63 75 72 72 | 65 6e 63 65 73 20 6f 66 |r occurr|ences of|
|00001210| 20 74 68 65 20 73 74 72 | 69 6e 67 20 22 52 45 4a | the str|ing "REJ|
|00001220| 45 43 54 22 20 74 6f 20 | 64 65 74 65 72 6d 69 6e |ECT" to |determin|
|00001230| 65 20 69 66 20 74 68 65 | 0a 58 09 20 20 61 63 74 |e if the|.X. act|
|00001240| 69 6f 6e 20 69 73 20 6e | 65 65 64 65 64 2e 20 20 |ion is n|eeded. |
|00001250| 49 74 20 74 72 69 65 73 | 20 74 6f 20 62 65 20 69 |It tries| to be i|
|00001260| 6e 74 65 6c 6c 69 67 65 | 6e 74 20 61 62 6f 75 74 |ntellige|nt about|
|00001270| 20 74 68 69 73 20 62 75 | 74 0a 58 09 20 20 63 61 | this bu|t.X. ca|
|00001280| 6e 20 62 65 20 66 6f 6f | 6c 65 64 2e 20 20 4f 6e |n be foo|led. On|
|00001290| 65 20 63 61 6e 20 66 6f | 72 63 65 20 74 68 65 20 |e can fo|rce the |
|000012a0| 70 72 65 73 65 6e 63 65 | 20 6f 72 20 61 62 73 65 |presence| or abse|
|000012b0| 6e 63 65 20 6f 66 0a 58 | 09 20 20 52 45 4a 45 43 |nce of.X|. REJEC|
|000012c0| 54 20 62 79 20 61 64 64 | 69 6e 67 20 61 20 6c 69 |T by add|ing a li|
|000012d0| 6e 65 20 69 6e 20 74 68 | 65 20 66 69 72 73 74 20 |ne in th|e first |
|000012e0| 73 65 63 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 66 |section |of the f|
|000012f0| 6f 72 6d 0a 58 09 20 20 | 22 25 75 73 65 64 20 52 |orm.X. |"%used R|
|00001300| 45 4a 45 43 54 22 20 6f | 72 20 22 25 75 6e 75 73 |EJECT" o|r "%unus|
|00001310| 65 64 20 52 45 4a 45 43 | 54 22 2e 0a 58 0a 58 09 |ed REJEC|T"..X.X.|
|00001320| 2d 20 79 79 6d 6f 72 65 | 28 29 20 68 61 73 20 62 |- yymore|() has b|
|00001330| 65 65 6e 20 69 6d 70 6c | 65 6d 65 6e 74 65 64 2e |een impl|emented.|
|00001340| 20 20 53 69 6d 69 6c 61 | 72 6c 79 20 74 6f 20 52 | Simila|rly to R|
|00001350| 45 4a 45 43 54 2c 20 66 | 6c 65 78 0a 58 09 20 20 |EJECT, f|lex.X. |
|00001360| 64 65 74 65 63 74 73 20 | 74 68 65 20 75 73 65 20 |detects |the use |
|00001370| 6f 66 20 79 79 6d 6f 72 | 65 28 29 2c 20 77 68 69 |of yymor|e(), whi|
|00001380| 63 68 20 63 61 6e 20 62 | 65 20 6f 76 65 72 72 69 |ch can b|e overri|
|00001390| 64 64 65 6e 20 75 73 69 | 6e 67 0a 58 09 20 20 22 |dden usi|ng.X. "|
|000013a0| 25 75 73 65 64 22 20 6f | 72 20 22 25 75 6e 75 73 |%used" o|r "%unus|
|000013b0| 65 64 22 2e 0a 58 0a 58 | 09 2d 20 50 61 74 74 65 |ed"..X.X|.- Patte|
|000013c0| 72 6e 73 20 6c 69 6b 65 | 20 22 78 7b 30 2c 33 7d |rns like| "x{0,3}|
|000013d0| 22 20 6e 6f 77 20 77 6f | 72 6b 20 28 69 2e 65 2e |" now wo|rk (i.e.|
|000013e0| 2c 20 77 69 74 68 20 6c | 6f 77 65 72 2d 6c 69 6d |, with l|ower-lim|
|000013f0| 69 74 20 3d 3d 20 30 29 | 2e 0a 58 0a 58 09 2d 20 |it == 0)|..X.X.- |
|00001400| 52 65 6d 6f 76 65 64 20 | 27 5c 5e 78 27 20 66 6f |Removed |'\^x' fo|
|00001410| 72 20 63 74 72 6c 2d 78 | 20 6d 69 73 66 65 61 74 |r ctrl-x| misfeat|
|00001420| 75 72 65 2e 0a 58 0a 58 | 09 2d 20 41 64 64 65 64 |ure..X.X|.- Added|
|00001430| 20 27 5c 61 27 20 61 6e | 64 20 27 5c 76 27 20 65 | '\a' an|d '\v' e|
|00001440| 73 63 61 70 65 20 73 65 | 71 75 65 6e 63 65 73 2e |scape se|quences.|
|00001450| 0a 58 0a 58 09 2d 20 5c | 3c 64 69 67 69 74 73 3e |.X.X.- \|<digits>|
|00001460| 20 6e 6f 77 20 77 6f 72 | 6b 73 20 66 6f 72 20 6f | now wor|ks for o|
|00001470| 63 74 61 6c 20 65 73 63 | 61 70 65 20 73 65 71 75 |ctal esc|ape sequ|
|00001480| 65 6e 63 65 73 3b 20 70 | 72 65 76 69 6f 75 73 6c |ences; p|reviousl|
|00001490| 79 0a 58 09 20 20 5c 30 | 3c 64 69 67 69 74 73 3e |y.X. \0|<digits>|
|000014a0| 20 77 61 73 20 72 65 71 | 75 69 72 65 64 2e 0a 58 | was req|uired..X|
|000014b0| 0a 58 09 2d 20 42 65 74 | 74 65 72 20 65 72 72 6f |.X.- Bet|ter erro|
|000014c0| 72 20 72 65 70 6f 72 74 | 69 6e 67 3b 20 6c 69 6e |r report|ing; lin|
|000014d0| 65 20 6e 75 6d 62 65 72 | 73 20 61 72 65 20 61 73 |e number|s are as|
|000014e0| 73 6f 63 69 61 74 65 64 | 20 77 69 74 68 20 72 75 |sociated| with ru|
|000014f0| 6c 65 73 2e 0a 58 0a 58 | 09 2d 20 79 79 6c 65 6e |les..X.X|.- yylen|
|00001500| 67 20 69 73 20 61 20 6d | 61 63 72 6f 3b 20 69 74 |g is a m|acro; it|
|00001510| 20 63 61 6e 6e 6f 74 20 | 62 65 20 61 63 63 65 73 | cannot |be acces|
|00001520| 73 65 64 20 6f 75 74 73 | 69 64 65 20 6f 66 20 74 |sed outs|ide of t|
|00001530| 68 65 0a 58 09 20 20 73 | 63 61 6e 6e 65 72 20 73 |he.X. s|canner s|
|00001540| 6f 75 72 63 65 20 66 69 | 6c 65 2e 0a 58 0a 58 09 |ource fi|le..X.X.|
|00001550| 2d 20 79 79 74 65 78 74 | 20 61 6e 64 20 79 79 6c |- yytext| and yyl|
|00001560| 65 6e 67 20 73 68 6f 75 | 6c 64 20 6e 6f 74 20 62 |eng shou|ld not b|
|00001570| 65 20 6d 6f 64 69 66 69 | 65 64 20 77 69 74 68 69 |e modifi|ed withi|
|00001580| 6e 20 61 20 66 6c 65 78 | 20 61 63 74 69 6f 6e 2e |n a flex| action.|
|00001590| 0a 58 0a 58 09 2d 20 47 | 65 6e 65 72 61 74 65 64 |.X.X.- G|enerated|
|000015a0| 20 73 63 61 6e 6e 65 72 | 73 20 23 64 65 66 69 6e | scanner|s #defin|
|000015b0| 65 20 74 68 65 20 6e 61 | 6d 65 20 46 4c 45 58 5f |e the na|me FLEX_|
|000015c0| 53 43 41 4e 4e 45 52 2e | 0a 58 0a 58 09 2d 20 52 |SCANNER.|.X.X.- R|
|000015d0| 75 6c 65 73 20 61 72 65 | 20 69 6e 74 65 72 6e 61 |ules are| interna|
|000015e0| 6c 6c 79 20 73 65 70 61 | 72 61 74 65 64 20 62 79 |lly sepa|rated by|
|000015f0| 20 59 59 5f 42 52 45 41 | 4b 20 69 6e 20 6c 65 78 | YY_BREA|K in lex|
|00001600| 2e 79 79 2e 63 20 72 61 | 74 68 65 72 0a 58 09 20 |.yy.c ra|ther.X. |
|00001610| 20 74 68 61 6e 20 62 72 | 65 61 6b 2c 20 74 6f 20 | than br|eak, to |
|00001620| 61 6c 6c 6f 77 20 72 65 | 64 65 66 69 6e 69 74 69 |allow re|definiti|
|00001630| 6f 6e 2e 0a 58 0a 58 09 | 2d 20 54 68 65 20 6d 61 |on..X.X.|- The ma|
|00001640| 63 72 6f 20 59 59 5f 55 | 53 45 52 5f 41 43 54 49 |cro YY_U|SER_ACTI|
|00001650| 4f 4e 20 63 61 6e 20 62 | 65 20 72 65 64 65 66 69 |ON can b|e redefi|
|00001660| 6e 65 64 20 74 6f 20 70 | 72 6f 76 69 64 65 20 61 |ned to p|rovide a|
|00001670| 6e 20 61 63 74 69 6f 6e | 0a 58 09 20 20 77 68 69 |n action|.X. whi|
|00001680| 63 68 20 69 73 20 61 6c | 77 61 79 73 20 65 78 65 |ch is al|ways exe|
|00001690| 63 75 74 65 64 20 70 72 | 69 6f 72 20 74 6f 20 74 |cuted pr|ior to t|
|000016a0| 68 65 20 6d 61 74 63 68 | 65 64 20 72 75 6c 65 27 |he match|ed rule'|
|000016b0| 73 20 61 63 74 69 6f 6e | 2e 0a 58 09 0a 58 09 2d |s action|..X..X.-|
|000016c0| 20 79 79 72 65 73 74 61 | 72 74 28 29 20 69 73 20 | yyresta|rt() is |
|000016d0| 61 20 6e 65 77 20 61 63 | 74 69 6f 6e 20 77 68 69 |a new ac|tion whi|
|000016e0| 63 68 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 74 |ch can b|e used t|
|000016f0| 6f 20 72 65 73 74 61 72 | 74 0a 58 09 20 20 74 68 |o restar|t.X. th|
|00001700| 65 20 73 63 61 6e 6e 65 | 72 20 61 66 74 65 72 20 |e scanne|r after |
|00001710| 69 74 20 68 61 73 20 73 | 65 65 6e 20 61 6e 20 65 |it has s|een an e|
|00001720| 6e 64 2d 6f 66 2d 66 69 | 6c 65 20 28 61 20 22 72 |nd-of-fi|le (a "r|
|00001730| 65 61 6c 22 20 6f 6e 65 | 2c 0a 58 09 20 20 74 68 |eal" one|,.X. th|
|00001740| 61 74 20 69 73 2c 20 6f | 6e 65 20 66 6f 72 20 77 |at is, o|ne for w|
|00001750| 68 69 63 68 20 79 79 77 | 72 61 70 28 29 20 72 65 |hich yyw|rap() re|
|00001760| 74 75 72 6e 65 64 20 6e | 6f 6e 2d 7a 65 72 6f 29 |turned n|on-zero)|
|00001770| 2e 20 20 49 74 20 74 61 | 6b 65 73 0a 58 09 20 20 |. It ta|kes.X. |
|00001780| 61 20 46 49 4c 45 2a 20 | 61 72 67 75 6d 65 6e 74 |a FILE* |argument|
|00001790| 20 69 6e 64 69 63 61 74 | 69 6e 67 20 61 20 6e 65 | indicat|ing a ne|
|000017a0| 77 20 66 69 6c 65 20 74 | 6f 20 73 63 61 6e 20 61 |w file t|o scan a|
|000017b0| 6e 64 20 73 65 74 73 0a | 58 09 20 20 74 68 69 6e |nd sets.|X. thin|
|000017c0| 67 73 20 75 70 20 73 6f | 20 74 68 61 74 20 61 20 |gs up so| that a |
|000017d0| 73 75 62 73 65 71 75 65 | 6e 74 20 63 61 6c 6c 20 |subseque|nt call |
|000017e0| 74 6f 20 79 79 6c 65 78 | 28 29 20 77 69 6c 6c 20 |to yylex|() will |
|000017f0| 73 74 61 72 74 0a 58 09 | 20 20 73 63 61 6e 6e 69 |start.X.| scanni|
|00001800| 6e 67 20 74 68 61 74 20 | 66 69 6c 65 2e 0a 58 0a |ng that |file..X.|
|00001810| 58 09 2d 20 49 6e 74 65 | 72 6e 61 6c 20 73 63 61 |X.- Inte|rnal sca|
|00001820| 6e 6e 65 72 20 6e 61 6d | 65 73 20 61 6c 6c 20 70 |nner nam|es all p|
|00001830| 72 65 63 65 64 65 64 20 | 62 79 20 22 79 79 5f 22 |receded |by "yy_"|
|00001840| 0a 58 0a 58 09 2d 20 6c | 65 78 2e 79 79 2e 63 20 |.X.X.- l|ex.yy.c |
|00001850| 69 73 20 64 65 6c 65 74 | 65 64 20 69 66 20 65 72 |is delet|ed if er|
|00001860| 72 6f 72 73 20 61 72 65 | 20 65 6e 63 6f 75 6e 74 |rors are| encount|
|00001870| 65 72 65 64 20 64 75 72 | 69 6e 67 20 70 72 6f 63 |ered dur|ing proc|
|00001880| 65 73 73 69 6e 67 2e 0a | 58 0a 58 09 2d 20 43 6f |essing..|X.X.- Co|
|00001890| 6d 6d 65 6e 74 73 20 6d | 61 79 20 62 65 20 70 75 |mments m|ay be pu|
|000018a0| 74 20 69 6e 20 74 68 65 | 20 66 69 72 73 74 20 73 |t in the| first s|
|000018b0| 65 63 74 69 6f 6e 20 6f | 66 20 74 68 65 20 69 6e |ection o|f the in|
|000018c0| 70 75 74 20 62 79 20 70 | 72 65 63 65 64 69 6e 67 |put by p|receding|
|000018d0| 0a 58 09 20 20 74 68 65 | 6d 20 77 69 74 68 20 27 |.X. the|m with '|
|000018e0| 23 27 2e 0a 58 0a 58 0a | 58 0a 58 20 20 20 20 4f |#'..X.X.|X.X O|
|000018f0| 74 68 65 72 20 63 68 61 | 6e 67 65 73 3a 0a 58 0a |ther cha|nges:.X.|
|00001900| 58 09 2d 20 53 6f 6d 65 | 20 70 6f 72 74 61 62 69 |X.- Some| portabi|
|00001910| 6c 69 74 79 2d 72 65 6c | 61 74 65 64 20 62 75 67 |lity-rel|ated bug|
|00001920| 73 20 66 69 78 65 64 2c | 20 69 6e 20 70 61 72 74 |s fixed,| in part|
|00001930| 69 63 75 6c 61 72 20 66 | 6f 72 20 6d 61 63 68 69 |icular f|or machi|
|00001940| 6e 65 73 0a 58 09 20 20 | 77 69 74 68 20 75 6e 73 |nes.X. |with uns|
|00001950| 69 67 6e 65 64 20 63 68 | 61 72 61 63 74 65 72 73 |igned ch|aracters|
|00001960| 20 6f 72 20 73 69 7a 65 | 6f 66 28 20 69 6e 74 2a | or size|of( int*|
|00001970| 20 29 20 21 3d 20 73 69 | 7a 65 6f 66 28 20 69 6e | ) != si|zeof( in|
|00001980| 74 20 29 2e 0a 58 09 20 | 20 41 6c 73 6f 2c 20 74 |t )..X. | Also, t|
|00001990| 77 65 61 6b 73 20 66 6f | 72 20 56 4d 53 20 61 6e |weaks fo|r VMS an|
|000019a0| 64 20 4d 69 63 72 6f 73 | 6f 66 74 20 43 20 28 4d |d Micros|oft C (M|
|000019b0| 53 2d 44 4f 53 29 2c 20 | 61 6e 64 20 69 64 65 6e |S-DOS), |and iden|
|000019c0| 74 69 66 69 65 72 73 20 | 61 6c 6c 0a 58 09 20 20 |tifiers |all.X. |
|000019d0| 74 72 69 6d 6d 65 64 20 | 74 6f 20 62 65 20 33 31 |trimmed |to be 31|
|000019e0| 20 6f 72 20 66 65 77 65 | 72 20 63 68 61 72 61 63 | or fewe|r charac|
|000019f0| 74 65 72 73 2e 20 20 53 | 68 6f 72 74 65 6e 65 64 |ters. S|hortened|
|00001a00| 20 66 69 6c 65 20 6e 61 | 6d 65 73 0a 58 09 20 20 | file na|mes.X. |
|00001a10| 66 6f 72 20 64 69 6e 6f | 73 61 75 72 20 4f 53 27 |for dino|saur OS'|
|00001a20| 73 2e 20 20 43 68 65 63 | 6b 73 20 66 6f 72 20 61 |s. Chec|ks for a|
|00001a30| 6c 6c 6f 63 61 74 69 6e | 67 20 3e 20 36 34 4b 20 |llocatin|g > 64K |
|00001a40| 6d 65 6d 6f 72 79 0a 58 | 09 20 20 6f 6e 20 31 36 |memory.X|. on 16|
|00001a50| 20 62 69 74 27 65 72 73 | 2e 20 20 41 6d 69 67 61 | bit'ers|. Amiga|
|00001a60| 20 74 77 65 61 6b 73 2e | 20 20 43 6f 6d 70 69 6c | tweaks.| Compil|
|00001a70| 65 73 20 75 73 69 6e 67 | 20 67 63 63 20 6f 6e 20 |es using| gcc on |
|00001a80| 61 20 53 75 6e 2d 33 2e | 0a 58 0a 58 09 2d 20 43 |a Sun-3.|.X.X.- C|
|00001a90| 6f 6d 70 72 65 73 73 65 | 64 20 61 6e 64 20 66 61 |ompresse|d and fa|
|00001aa0| 73 74 20 73 63 61 6e 6e | 65 72 20 73 6b 65 6c 65 |st scann|er skele|
|00001ab0| 74 6f 6e 73 20 6d 65 72 | 67 65 64 2e 0a 58 0a 58 |tons mer|ged..X.X|
|00001ac0| 09 2d 20 53 6b 65 6c 65 | 74 6f 6e 20 68 65 61 64 |.- Skele|ton head|
|00001ad0| 65 72 20 66 69 6c 65 73 | 20 64 6f 6e 65 20 61 77 |er files| done aw|
|00001ae0| 61 79 20 77 69 74 68 2e | 0a 58 0a 58 09 2d 20 47 |ay with.|.X.X.- G|
|00001af0| 65 6e 65 72 61 74 65 64 | 20 73 63 61 6e 6e 65 72 |enerated| scanner|
|00001b00| 20 75 73 65 73 20 70 72 | 6f 74 6f 74 79 70 65 73 | uses pr|ototypes|
|00001b10| 20 61 6e 64 20 22 63 6f | 6e 73 74 22 20 66 6f 72 | and "co|nst" for|
|00001b20| 20 5f 5f 53 54 44 43 5f | 5f 2e 0a 58 0a 58 09 2d | __STDC_|_..X.X.-|
|00001b30| 20 2d 44 53 56 20 66 6c | 61 67 20 69 73 20 6e 6f | -DSV fl|ag is no|
|00001b40| 77 20 2d 44 53 59 53 5f | 56 20 66 6f 72 20 53 79 |w -DSYS_|V for Sy|
|00001b50| 73 74 65 6d 20 56 20 63 | 6f 6d 70 69 6c 61 74 69 |stem V c|ompilati|
|00001b60| 6f 6e 2e 0a 58 0a 58 09 | 2d 20 52 65 6d 6f 76 65 |on..X.X.|- Remove|
|00001b70| 64 20 61 6c 6c 20 72 65 | 66 65 72 65 6e 63 65 73 |d all re|ferences|
|00001b80| 20 74 6f 20 46 54 4c 20 | 6c 61 6e 67 75 61 67 65 | to FTL |language|
|00001b90| 2e 0a 58 0a 58 09 2d 20 | 53 6f 66 74 77 61 72 65 |..X.X.- |Software|
|00001ba0| 20 6e 6f 77 20 63 6f 76 | 65 72 65 64 20 62 79 20 | now cov|ered by |
|00001bb0| 42 53 44 20 43 6f 70 79 | 72 69 67 68 74 2e 0a 58 |BSD Copy|right..X|
|00001bc0| 0a 58 09 2d 20 66 6c 65 | 78 20 77 69 6c 6c 20 72 |.X.- fle|x will r|
|00001bd0| 65 70 6c 61 63 65 20 6c | 65 78 20 69 6e 20 73 75 |eplace l|ex in su|
|00001be0| 62 73 65 71 75 65 6e 74 | 20 42 53 44 20 72 65 6c |bsequent| BSD rel|
|00001bf0| 65 61 73 65 73 2e 0a 45 | 4e 44 5f 4f 46 5f 46 49 |eases..E|ND_OF_FI|
|00001c00| 4c 45 0a 69 66 20 74 65 | 73 74 20 33 38 39 37 20 |LE.if te|st 3897 |
|00001c10| 2d 6e 65 20 60 77 63 20 | 2d 63 20 3c 27 66 6c 65 |-ne `wc |-c <'fle|
|00001c20| 78 2f 43 68 61 6e 67 65 | 73 27 60 3b 20 74 68 65 |x/Change|s'`; the|
|00001c30| 6e 0a 20 20 20 20 65 63 | 68 6f 20 73 68 61 72 3a |n. ec|ho shar:|
|00001c40| 20 5c 22 27 66 6c 65 78 | 2f 43 68 61 6e 67 65 73 | \"'flex|/Changes|
|00001c50| 27 5c 22 20 75 6e 70 61 | 63 6b 65 64 20 77 69 74 |'\" unpa|cked wit|
|00001c60| 68 20 77 72 6f 6e 67 20 | 73 69 7a 65 21 0a 66 69 |h wrong |size!.fi|
|00001c70| 0a 23 20 65 6e 64 20 6f | 66 20 27 66 6c 65 78 2f |.# end o|f 'flex/|
|00001c80| 43 68 61 6e 67 65 73 27 | 0a 66 69 0a 69 66 20 74 |Changes'|.fi.if t|
|00001c90| 65 73 74 20 2d 66 20 27 | 66 6c 65 78 2f 4d 49 53 |est -f '|flex/MIS|
|00001ca0| 43 27 20 2d 61 20 22 24 | 7b 31 7d 22 20 21 3d 20 |C' -a "$|{1}" != |
|00001cb0| 22 2d 63 22 20 3b 20 74 | 68 65 6e 20 0a 20 20 65 |"-c" ; t|hen . e|
|00001cc0| 63 68 6f 20 73 68 61 72 | 3a 20 57 69 6c 6c 20 6e |cho shar|: Will n|
|00001cd0| 6f 74 20 63 6c 6f 62 62 | 65 72 20 65 78 69 73 74 |ot clobb|er exist|
|00001ce0| 69 6e 67 20 66 69 6c 65 | 20 5c 22 27 66 6c 65 78 |ing file| \"'flex|
|00001cf0| 2f 4d 49 53 43 27 5c 22 | 0a 65 6c 73 65 0a 65 63 |/MISC'\"|.else.ec|
|00001d00| 68 6f 20 73 68 61 72 3a | 20 45 78 74 72 61 63 74 |ho shar:| Extract|
|00001d10| 69 6e 67 20 5c 22 27 66 | 6c 65 78 2f 4d 49 53 43 |ing \"'f|lex/MISC|
|00001d20| 27 5c 22 20 5c 28 37 32 | 34 37 20 63 68 61 72 61 |'\" \(72|47 chara|
|00001d30| 63 74 65 72 73 5c 29 0a | 73 65 64 20 22 73 2f 5e |cters\).|sed "s/^|
|00001d40| 58 2f 2f 22 20 3e 27 66 | 6c 65 78 2f 4d 49 53 43 |X//" >'f|lex/MISC|
|00001d50| 27 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |' <<'END|_OF_FILE|
|00001d60| 27 0a 58 4d 69 73 63 65 | 6c 6c 61 6e 65 6f 75 73 |'.XMisce|llaneous|
|00001d70| 20 66 6c 65 78 20 73 74 | 75 66 66 2e 20 20 49 6e | flex st|uff. In|
|00001d80| 20 68 65 72 65 20 79 6f | 75 27 6c 6c 20 66 69 6e | here yo|u'll fin|
|00001d90| 64 20 61 6e 20 6f 75 74 | 2d 6f 66 2d 64 61 74 65 |d an out|-of-date|
|00001da0| 20 56 4d 53 20 6d 61 6b | 65 66 69 6c 65 0a 58 66 | VMS mak|efile.Xf|
|00001db0| 6f 72 20 66 6c 65 78 20 | 61 6e 64 20 6e 6f 74 65 |or flex |and note|
|00001dc0| 73 20 73 6f 6d 65 6f 6e | 65 20 73 65 6e 74 20 6d |s someon|e sent m|
|00001dd0| 65 20 72 65 67 61 72 64 | 69 6e 67 20 63 6f 6e 76 |e regard|ing conv|
|00001de0| 65 72 74 69 6e 67 20 66 | 6c 65 78 20 74 6f 20 64 |erting f|lex to d|
|00001df0| 65 61 6c 20 77 69 74 68 | 0a 58 38 20 62 69 74 20 |eal with|.X8 bit |
|00001e00| 63 68 61 72 61 63 74 65 | 72 73 2e 20 20 54 68 69 |characte|rs. Thi|
|00001e10| 73 20 73 74 75 66 66 20 | 69 73 20 70 72 6f 76 69 |s stuff |is provi|
|00001e20| 64 65 64 20 73 6f 20 74 | 68 61 74 20 61 6d 62 69 |ded so t|hat ambi|
|00001e30| 74 69 6f 75 73 20 66 6f | 6c 6b 73 20 63 61 6e 20 |tious fo|lks can |
|00001e40| 70 69 63 6b 0a 58 69 74 | 20 75 70 20 61 6e 64 20 |pick.Xit| up and |
|00001e50| 74 75 72 6e 20 69 74 20 | 69 6e 74 6f 20 73 6f 6d |turn it |into som|
|00001e60| 65 74 68 69 6e 67 20 76 | 69 61 62 6c 65 2e 20 20 |ething v|iable. |
|00001e70| 49 27 64 20 61 70 70 72 | 65 63 69 61 74 65 20 62 |I'd appr|eciate b|
|00001e80| 65 69 6e 67 20 73 65 6e | 74 20 61 6e 79 0a 58 75 |eing sen|t any.Xu|
|00001e90| 70 64 61 74 65 73 20 72 | 65 73 75 6c 74 69 6e 67 |pdates r|esulting|
|00001ea0| 20 66 72 6f 6d 20 77 6f | 72 6b 20 6f 6e 20 74 68 | from wo|rk on th|
|00001eb0| 69 73 2e 0a 58 0a 58 54 | 68 65 20 6d 61 6b 65 66 |is..X.XT|he makef|
|00001ec0| 69 6c 65 20 69 73 20 66 | 72 6f 6d 20 46 72 65 64 |ile is f|rom Fred|
|00001ed0| 20 42 72 65 68 6d 20 28 | 66 77 62 40 64 65 6d 6f | Brehm (|fwb@demo|
|00001ee0| 6e 2e 73 69 65 6d 65 6e | 73 2e 63 6f 6d 29 3b 20 |n.siemen|s.com); |
|00001ef0| 74 68 65 20 38 20 62 69 | 74 20 63 68 61 72 73 0a |the 8 bi|t chars.|
|00001f00| 58 66 72 6f 6d 20 45 61 | 72 6c 65 20 48 6f 72 74 |Xfrom Ea|rle Hort|
|00001f10| 6f 6e 20 28 61 72 69 7a | 6f 6e 61 21 65 61 72 6c |on (ariz|ona!earl|
|00001f20| 65 68 40 65 6c 65 61 7a | 61 72 2e 44 61 72 74 6d |eh@eleaz|ar.Dartm|
|00001f30| 6f 75 74 68 2e 45 44 55 | 29 2e 0a 58 0a 58 0a 58 |outh.EDU|)..X.X.X|
|00001f40| 0a 58 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |.X######|########|
|00001f50| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 20 56 |########|###### V|
|00001f60| 4d 53 20 4d 41 4b 45 46 | 49 4c 45 20 23 23 23 23 |MS MAKEF|ILE ####|
|00001f70| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001f80| 23 23 23 23 23 23 23 23 | 23 23 0a 58 0a 58 23 20 |########|##.X.X# |
|00001f90| 56 4d 53 20 6d 61 6b 65 | 20 66 69 6c 65 20 66 6f |VMS make| file fo|
|00001fa0| 72 20 22 66 6c 65 78 22 | 20 74 6f 6f 6c 0a 58 0a |r "flex"| tool.X.|
|00001fb0| 58 23 20 52 65 64 65 66 | 69 6e 65 20 74 68 65 20 |X# Redef|ine the |
|00001fc0| 66 6f 6c 6c 6f 77 69 6e | 67 20 66 6f 72 20 79 6f |followin|g for yo|
|00001fd0| 75 72 20 6f 77 6e 20 65 | 6e 76 69 72 6f 6e 6d 65 |ur own e|nvironme|
|00001fe0| 6e 74 0a 58 42 49 4e 20 | 3d 20 74 6f 6f 6c 73 24 |nt.XBIN |= tools$|
|00001ff0| 24 65 78 65 0a 58 4c 49 | 42 20 3d 20 74 6f 6f 6c |$exe.XLI|B = tool|
|00002000| 73 24 24 6c 69 62 72 61 | 72 79 0a 58 49 4e 43 20 |s$$libra|ry.XINC |
|00002010| 3d 20 74 6f 6f 6c 73 24 | 24 69 6e 63 6c 75 64 65 |= tools$|$include|
|00002020| 0a 58 4d 41 4e 20 3d 20 | 74 6f 6f 6c 73 24 24 6d |.XMAN = |tools$$m|
|00002030| 61 6e 75 61 6c 0a 58 4c | 49 4e 4b 46 4c 41 47 53 |anual.XL|INKFLAGS|
|00002040| 20 3d 20 2c 24 28 4c 49 | 42 29 3a 63 63 2f 6f 70 | = ,$(LI|B):cc/op|
|00002050| 74 0a 58 0a 58 53 4b 45 | 4c 45 54 4f 4e 5f 46 49 |t.X.XSKE|LETON_FI|
|00002060| 4c 45 20 3d 20 22 44 45 | 46 41 55 4c 54 5f 53 4b |LE = "DE|FAULT_SK|
|00002070| 45 4c 45 54 4f 4e 5f 46 | 49 4c 45 3d 22 22 24 28 |ELETON_F|ILE=""$(|
|00002080| 4c 49 42 29 3a 46 4c 45 | 58 2e 53 4b 45 4c 22 22 |LIB):FLE|X.SKEL""|
|00002090| 22 0a 58 46 5f 53 4b 45 | 4c 45 54 4f 4e 5f 46 49 |".XF_SKE|LETON_FI|
|000020a0| 4c 45 20 3d 20 22 46 41 | 53 54 5f 53 4b 45 4c 45 |LE = "FA|ST_SKELE|
|000020b0| 54 4f 4e 5f 46 49 4c 45 | 3d 22 22 24 28 4c 49 42 |TON_FILE|=""$(LIB|
|000020c0| 29 3a 46 4c 45 58 2e 46 | 41 53 54 53 4b 45 4c 22 |):FLEX.F|ASTSKEL"|
|000020d0| 22 22 0a 58 0a 58 43 43 | 46 4c 41 47 53 20 3d 20 |"".X.XCC|FLAGS = |
|000020e0| 56 4d 53 0a 58 46 4c 45 | 58 5f 46 4c 41 47 53 20 |VMS.XFLE|X_FLAGS |
|000020f0| 3d 20 2d 69 73 0a 58 0a | 58 46 4c 45 58 4f 42 4a |= -is.X.|XFLEXOBJ|
|00002100| 53 20 3d 20 63 63 6c 2e | 6f 62 6a 20 64 66 61 2e |S = ccl.|obj dfa.|
|00002110| 6f 62 6a 20 65 63 73 2e | 6f 62 6a 20 6d 61 69 6e |obj ecs.|obj main|
|00002120| 2e 6f 62 6a 20 6d 69 73 | 63 2e 6f 62 6a 20 6e 66 |.obj mis|c.obj nf|
|00002130| 61 2e 6f 62 6a 20 70 61 | 72 73 65 2e 6f 62 6a 20 |a.obj pa|rse.obj |
|00002140| 5c 0a 58 73 63 61 6e 2e | 6f 62 6a 20 73 79 6d 2e |\.Xscan.|obj sym.|
|00002150| 6f 62 6a 20 74 62 6c 63 | 6d 70 2e 6f 62 6a 20 79 |obj tblc|mp.obj y|
|00002160| 79 6c 65 78 2e 6f 62 6a | 0a 58 0a 58 4f 42 4a 20 |ylex.obj|.X.XOBJ |
|00002170| 3d 20 63 63 6c 2e 6f 62 | 6a 2c 64 66 61 2e 6f 62 |= ccl.ob|j,dfa.ob|
|00002180| 6a 2c 65 63 73 2e 6f 62 | 6a 2c 6d 61 69 6e 2e 6f |j,ecs.ob|j,main.o|
|00002190| 62 6a 2c 6d 69 73 63 2e | 6f 62 6a 2c 6e 66 61 2e |bj,misc.|obj,nfa.|
|000021a0| 6f 62 6a 2c 70 61 72 73 | 65 2e 6f 62 6a 2c 5c 0a |obj,pars|e.obj,\.|
|000021b0| 58 73 63 61 6e 2e 6f 62 | 6a 2c 73 79 6d 2e 6f 62 |Xscan.ob|j,sym.ob|
|000021c0| 6a 2c 74 62 6c 63 6d 70 | 2e 6f 62 6a 2c 79 79 6c |j,tblcmp|.obj,yyl|
|000021d0| 65 78 2e 6f 62 6a 0a 58 | 0a 58 64 65 66 61 75 6c |ex.obj.X|.Xdefaul|
|000021e0| 74 20 3a 20 66 6c 65 78 | 0a 58 69 6e 73 74 61 6c |t : flex|.Xinstal|
|000021f0| 6c 20 3a 20 69 6e 63 20 | 6c 69 62 20 62 69 6e 20 |l : inc |lib bin |
|00002200| 6d 61 6e 0a 58 69 6e 63 | 20 3a 20 24 28 49 4e 43 |man.Xinc| : $(INC|
|00002210| 29 3a 66 6c 65 78 73 6b | 65 6c 64 65 66 2e 68 20 |):flexsk|eldef.h |
|00002220| 24 28 49 4e 43 29 3a 66 | 61 73 74 73 6b 65 6c 64 |$(INC):f|astskeld|
|00002230| 65 66 2e 68 20 24 28 49 | 4e 43 29 3a 66 6c 65 78 |ef.h $(I|NC):flex|
|00002240| 73 6b 65 6c 63 6f 6d 2e | 68 0a 58 6c 69 62 20 3a |skelcom.|h.Xlib :|
|00002250| 20 24 28 4c 49 42 29 3a | 66 6c 65 78 2e 73 6b 65 | $(LIB):|flex.ske|
|00002260| 6c 20 24 28 4c 49 42 29 | 3a 66 6c 65 78 2e 66 61 |l $(LIB)|:flex.fa|
|00002270| 73 74 73 6b 65 6c 0a 58 | 62 69 6e 20 3a 20 24 28 |stskel.X|bin : $(|
|00002280| 42 49 4e 29 3a 66 6c 65 | 78 0a 58 09 66 6c 65 78 |BIN):fle|x.X.flex|
|00002290| 20 3a 3d 3d 20 24 24 20 | 24 28 42 49 4e 29 3a 66 | :== $$ |$(BIN):f|
|000022a0| 6c 65 78 0a 58 6d 61 6e | 20 3a 20 24 28 4d 41 4e |lex.Xman| : $(MAN|
|000022b0| 29 3a 66 6c 65 78 2e 64 | 6f 63 0a 58 0a 58 24 28 |):flex.d|oc.X.X$(|
|000022c0| 49 4e 43 29 3a 66 6c 65 | 78 73 6b 65 6c 64 65 66 |INC):fle|xskeldef|
|000022d0| 2e 68 20 3a 20 66 6c 65 | 78 73 6b 65 6c 64 65 66 |.h : fle|xskeldef|
|000022e0| 2e 68 0a 58 09 63 6f 70 | 79 20 66 6c 65 78 73 6b |.h.X.cop|y flexsk|
|000022f0| 65 6c 64 65 66 2e 68 20 | 24 28 49 4e 43 29 0a 58 |eldef.h |$(INC).X|
|00002300| 24 28 49 4e 43 29 3a 66 | 61 73 74 73 6b 65 6c 64 |$(INC):f|astskeld|
|00002310| 65 66 2e 68 20 3a 20 66 | 61 73 74 73 6b 65 6c 64 |ef.h : f|astskeld|
|00002320| 65 66 2e 68 0a 58 09 63 | 6f 70 79 20 66 61 73 74 |ef.h.X.c|opy fast|
|00002330| 73 6b 65 6c 64 65 66 2e | 68 20 24 28 49 4e 43 29 |skeldef.|h $(INC)|
|00002340| 0a 58 24 28 49 4e 43 29 | 3a 66 6c 65 78 73 6b 65 |.X$(INC)|:flexske|
|00002350| 6c 63 6f 6d 2e 68 20 3a | 20 66 6c 65 78 73 6b 65 |lcom.h :| flexske|
|00002360| 6c 63 6f 6d 2e 68 0a 58 | 09 63 6f 70 79 20 66 6c |lcom.h.X|.copy fl|
|00002370| 65 78 73 6b 65 6c 63 6f | 6d 2e 68 20 24 28 49 4e |exskelco|m.h $(IN|
|00002380| 43 29 0a 58 24 28 4c 49 | 42 29 3a 66 6c 65 78 2e |C).X$(LI|B):flex.|
|00002390| 73 6b 65 6c 20 3a 20 66 | 6c 65 78 2e 73 6b 65 6c |skel : f|lex.skel|
|000023a0| 0a 58 09 63 6f 70 79 20 | 66 6c 65 78 2e 73 6b 65 |.X.copy |flex.ske|
|000023b0| 6c 20 24 28 4c 49 42 29 | 0a 58 24 28 4c 49 42 29 |l $(LIB)|.X$(LIB)|
|000023c0| 3a 66 6c 65 78 2e 66 61 | 73 74 73 6b 65 6c 20 3a |:flex.fa|stskel :|
|000023d0| 20 66 6c 65 78 2e 66 61 | 73 74 73 6b 65 6c 0a 58 | flex.fa|stskel.X|
|000023e0| 09 63 6f 70 79 20 66 6c | 65 78 2e 66 61 73 74 73 |.copy fl|ex.fasts|
|000023f0| 6b 65 6c 20 24 28 4c 49 | 42 29 0a 58 24 28 42 49 |kel $(LI|B).X$(BI|
|00002400| 4e 29 3a 66 6c 65 78 2e | 65 78 65 20 3a 20 66 6c |N):flex.|exe : fl|
|00002410| 65 78 2e 65 78 65 0a 58 | 09 63 6f 70 79 20 66 6c |ex.exe.X|.copy fl|
|00002420| 65 78 2e 65 78 65 20 24 | 28 42 49 4e 29 0a 58 24 |ex.exe $|(BIN).X$|
|00002430| 28 4d 41 4e 29 3a 66 6c | 65 78 2e 64 6f 63 20 3a |(MAN):fl|ex.doc :|
|00002440| 20 66 6c 65 78 2e 64 6f | 63 0a 58 09 63 6f 70 79 | flex.do|c.X.copy|
|00002450| 20 66 6c 65 78 2e 64 6f | 63 20 24 28 4d 41 4e 29 | flex.do|c $(MAN)|
|00002460| 0a 58 0a 58 66 6c 65 78 | 20 3a 20 66 6c 65 78 2e |.X.Xflex| : flex.|
|00002470| 65 78 65 0a 58 09 66 6c | 65 78 20 3a 3d 3d 20 24 |exe.X.fl|ex :== $|
|00002480| 24 20 27 66 24 24 65 6e | 76 69 72 6f 6e 6d 65 6e |$ 'f$$en|vironmen|
|00002490| 74 28 22 64 65 66 61 75 | 6c 74 22 29 27 66 6c 65 |t("defau|lt")'fle|
|000024a0| 78 0a 58 0a 58 66 6c 65 | 78 2e 65 78 65 20 3a 20 |x.X.Xfle|x.exe : |
|000024b0| 24 28 46 4c 45 58 4f 42 | 4a 53 29 0a 58 09 6c 69 |$(FLEXOB|JS).X.li|
|000024c0| 6e 6b 20 2f 65 78 65 3d | 66 6c 65 78 20 24 28 4f |nk /exe=|flex $(O|
|000024d0| 42 4a 29 20 24 28 4c 49 | 4e 4b 46 4c 41 47 53 29 |BJ) $(LI|NKFLAGS)|
|000024e0| 0a 58 0a 58 70 61 72 73 | 65 2e 68 20 3a 20 70 61 |.X.Xpars|e.h : pa|
|000024f0| 72 73 65 2e 63 0a 58 0a | 58 70 61 72 73 65 2e 63 |rse.c.X.|Xparse.c|
|00002500| 20 3a 20 70 61 72 73 65 | 2e 79 0a 58 09 79 61 63 | : parse|.y.X.yac|
|00002510| 63 20 3a 3d 3d 20 24 24 | 20 73 79 73 24 24 73 79 |c :== $$| sys$$sy|
|00002520| 73 72 6f 6f 74 3a 5b 73 | 68 65 6c 6c 65 78 65 5d |sroot:[s|hellexe]|
|00002530| 79 61 63 63 0a 58 09 79 | 61 63 63 20 2d 64 20 70 |yacc.X.y|acc -d p|
|00002540| 61 72 73 65 2e 79 0a 58 | 09 63 6f 70 79 20 79 5f |arse.y.X|.copy y_|
|00002550| 74 61 62 2e 63 20 70 61 | 72 73 65 2e 63 0a 58 09 |tab.c pa|rse.c.X.|
|00002560| 63 6f 70 79 20 79 5f 74 | 61 62 2e 68 20 70 61 72 |copy y_t|ab.h par|
|00002570| 73 65 2e 68 0a 58 09 64 | 65 6c 20 79 5f 74 61 62 |se.h.X.d|el y_tab|
|00002580| 2e 68 3b 2a 2c 79 5f 74 | 61 62 2e 63 3b 2a 0a 58 |.h;*,y_t|ab.c;*.X|
|00002590| 0a 58 23 73 63 61 6e 2e | 63 20 3a 20 73 63 61 6e |.X#scan.|c : scan|
|000025a0| 2e 6c 0a 58 23 09 66 6c | 65 78 20 24 28 46 4c 45 |.l.X#.fl|ex $(FLE|
|000025b0| 58 5f 46 4c 41 47 53 29 | 20 73 63 61 6e 2e 6c 0a |X_FLAGS)| scan.l.|
|000025c0| 58 23 09 63 6f 70 79 20 | 6c 65 78 5f 79 79 2e 63 |X#.copy |lex_yy.c|
|000025d0| 20 73 63 61 6e 2e 63 0a | 58 23 09 64 65 6c 20 6c | scan.c.|X#.del l|
|000025e0| 65 78 5f 79 79 2e 63 3b | 2a 0a 58 73 63 61 6e 2e |ex_yy.c;|*.Xscan.|
|000025f0| 63 20 3a 20 73 63 61 6e | 2e 64 69 73 74 0a 58 09 |c : scan|.dist.X.|
|00002600| 63 6f 70 79 20 73 63 61 | 6e 2e 64 69 73 74 20 73 |copy sca|n.dist s|
|00002610| 63 61 6e 2e 63 0a 58 0a | 58 63 63 6c 2e 6f 62 6a |can.c.X.|Xccl.obj|
|00002620| 20 3a 20 63 63 6c 2e 63 | 20 66 6c 65 78 64 65 66 | : ccl.c| flexdef|
|00002630| 2e 68 0a 58 09 63 63 20 | 2f 64 65 66 69 6e 65 3d |.h.X.cc |/define=|
|00002640| 24 28 43 43 46 4c 41 47 | 53 29 20 63 63 6c 2e 63 |$(CCFLAG|S) ccl.c|
|00002650| 0a 58 64 66 61 2e 6f 62 | 6a 20 3a 20 64 66 61 2e |.Xdfa.ob|j : dfa.|
|00002660| 63 20 66 6c 65 78 64 65 | 66 2e 68 0a 58 09 63 63 |c flexde|f.h.X.cc|
|00002670| 20 2f 64 65 66 69 6e 65 | 3d 24 28 43 43 46 4c 41 | /define|=$(CCFLA|
|00002680| 47 53 29 20 64 66 61 2e | 63 0a 58 65 63 73 2e 6f |GS) dfa.|c.Xecs.o|
|00002690| 62 6a 20 3a 20 65 63 73 | 2e 63 20 66 6c 65 78 64 |bj : ecs|.c flexd|
|000026a0| 65 66 2e 68 0a 58 09 63 | 63 20 2f 64 65 66 69 6e |ef.h.X.c|c /defin|
|000026b0| 65 3d 24 28 43 43 46 4c | 41 47 53 29 20 65 63 73 |e=$(CCFL|AGS) ecs|
|000026c0| 2e 63 0a 58 6d 61 69 6e | 2e 6f 62 6a 20 3a 20 6d |.c.Xmain|.obj : m|
|000026d0| 61 69 6e 2e 63 20 66 6c | 65 78 64 65 66 2e 68 0a |ain.c fl|exdef.h.|
|000026e0| 58 09 63 63 20 2f 64 65 | 66 69 6e 65 3d 28 24 28 |X.cc /de|fine=($(|
|000026f0| 43 43 46 4c 41 47 53 29 | 2c 24 28 53 4b 45 4c 45 |CCFLAGS)|,$(SKELE|
|00002700| 54 4f 4e 5f 46 49 4c 45 | 29 2c 24 28 46 5f 53 4b |TON_FILE|),$(F_SK|
|00002710| 45 4c 45 54 4f 4e 5f 46 | 49 4c 45 29 29 20 6d 61 |ELETON_F|ILE)) ma|
|00002720| 69 6e 2e 63 0a 58 6d 69 | 73 63 2e 6f 62 6a 20 3a |in.c.Xmi|sc.obj :|
|00002730| 20 6d 69 73 63 2e 63 20 | 66 6c 65 78 64 65 66 2e | misc.c |flexdef.|
|00002740| 68 0a 58 09 63 63 20 2f | 64 65 66 69 6e 65 3d 24 |h.X.cc /|define=$|
|00002750| 28 43 43 46 4c 41 47 53 | 29 20 6d 69 73 63 2e 63 |(CCFLAGS|) misc.c|
|00002760| 0a 58 6e 66 61 2e 6f 62 | 6a 20 3a 20 6e 66 61 2e |.Xnfa.ob|j : nfa.|
|00002770| 63 20 66 6c 65 78 64 65 | 66 2e 68 0a 58 09 63 63 |c flexde|f.h.X.cc|
|00002780| 20 2f 64 65 66 69 6e 65 | 3d 24 28 43 43 46 4c 41 | /define|=$(CCFLA|
|00002790| 47 53 29 20 6e 66 61 2e | 63 0a 58 70 61 72 73 65 |GS) nfa.|c.Xparse|
|000027a0| 2e 6f 62 6a 20 3a 20 70 | 61 72 73 65 2e 63 20 66 |.obj : p|arse.c f|
|000027b0| 6c 65 78 64 65 66 2e 68 | 0a 58 09 63 63 20 2f 64 |lexdef.h|.X.cc /d|
|000027c0| 65 66 69 6e 65 3d 24 28 | 43 43 46 4c 41 47 53 29 |efine=$(|CCFLAGS)|
|000027d0| 20 70 61 72 73 65 2e 63 | 0a 58 73 63 61 6e 2e 6f | parse.c|.Xscan.o|
|000027e0| 62 6a 20 3a 20 73 63 61 | 6e 2e 63 20 70 61 72 73 |bj : sca|n.c pars|
|000027f0| 65 2e 68 20 66 6c 65 78 | 64 65 66 2e 68 0a 58 09 |e.h flex|def.h.X.|
|00002800| 63 63 20 2f 64 65 66 69 | 6e 65 3d 24 28 43 43 46 |cc /defi|ne=$(CCF|
|00002810| 4c 41 47 53 29 20 73 63 | 61 6e 2e 63 0a 58 73 79 |LAGS) sc|an.c.Xsy|
|00002820| 6d 2e 6f 62 6a 20 3a 20 | 73 79 6d 2e 63 20 66 6c |m.obj : |sym.c fl|
|00002830| 65 78 64 65 66 2e 68 0a | 58 09 63 63 20 2f 64 65 |exdef.h.|X.cc /de|
|00002840| 66 69 6e 65 3d 24 28 43 | 43 46 4c 41 47 53 29 20 |fine=$(C|CFLAGS) |
|00002850| 73 79 6d 2e 63 0a 58 74 | 62 6c 63 6d 70 2e 6f 62 |sym.c.Xt|blcmp.ob|
|00002860| 6a 20 3a 20 74 62 6c 63 | 6d 70 2e 63 20 66 6c 65 |j : tblc|mp.c fle|
|00002870| 78 64 65 66 2e 68 0a 58 | 09 63 63 20 2f 64 65 66 |xdef.h.X|.cc /def|
|00002880| 69 6e 65 3d 24 28 43 43 | 46 4c 41 47 53 29 20 74 |ine=$(CC|FLAGS) t|
|00002890| 62 6c 63 6d 70 2e 63 0a | 58 79 79 6c 65 78 2e 6f |blcmp.c.|Xyylex.o|
|000028a0| 62 6a 20 3a 20 79 79 6c | 65 78 2e 63 20 70 61 72 |bj : yyl|ex.c par|
|000028b0| 73 65 2e 68 20 66 6c 65 | 78 64 65 66 2e 68 0a 58 |se.h fle|xdef.h.X|
|000028c0| 09 63 63 20 2f 64 65 66 | 69 6e 65 3d 24 28 43 43 |.cc /def|ine=$(CC|
|000028d0| 46 4c 41 47 53 29 20 79 | 79 6c 65 78 2e 63 0a 58 |FLAGS) y|ylex.c.X|
|000028e0| 0a 58 63 6c 65 61 6e 20 | 3a 0a 58 09 64 65 6c 20 |.Xclean |:.X.del |
|000028f0| 66 6c 65 78 2e 65 78 65 | 3b 2a 0a 58 09 64 65 6c |flex.exe|;*.X.del|
|00002900| 20 73 63 61 6e 2e 63 3b | 2a 0a 58 09 64 65 6c 20 | scan.c;|*.X.del |
|00002910| 70 61 72 73 65 2e 63 3b | 2a 0a 58 09 64 65 6c 20 |parse.c;|*.X.del |
|00002920| 70 61 72 73 65 2e 68 3b | 2a 0a 58 09 64 65 6c 20 |parse.h;|*.X.del |
|00002930| 6c 65 78 5f 79 79 2e 63 | 3b 2a 0a 58 09 64 65 6c |lex_yy.c|;*.X.del|
|00002940| 20 2a 2e 6f 62 6a 3b 2a | 0a 58 09 64 65 6c 20 66 | *.obj;*|.X.del f|
|00002950| 6c 65 78 2a 2e 74 6d 70 | 3b 2a 0a 58 09 64 65 6c |lex*.tmp|;*.X.del|
|00002960| 20 2a 2e 64 69 66 66 3b | 2a 0a 58 09 64 65 6c 20 | *.diff;|*.X.del |
|00002970| 79 5f 74 61 62 2e 2a 3b | 2a 0a 58 09 64 65 6c 20 |y_tab.*;|*.X.del |
|00002980| 6d 61 6b 65 66 69 6c 65 | 2e 3b 2a 0a 58 09 70 75 |makefile|.;*.X.pu|
|00002990| 72 67 65 2f 6c 6f 67 0a | 58 09 63 6f 70 79 20 6d |rge/log.|X.copy m|
|000029a0| 61 6b 65 66 69 6c 65 2e | 76 6d 73 20 6d 61 6b 65 |akefile.|vms make|
|000029b0| 66 69 6c 65 2e 0a 58 0a | 58 6d 61 6b 65 66 69 6c |file..X.|Xmakefil|
|000029c0| 65 20 3a 20 6d 61 6b 65 | 66 69 6c 65 2e 76 6d 73 |e : make|file.vms|
|000029d0| 0a 58 09 63 6f 70 79 20 | 6d 61 6b 65 66 69 6c 65 |.X.copy |makefile|
|000029e0| 2e 76 6d 73 20 6d 61 6b | 65 66 69 6c 65 2e 0a 58 |.vms mak|efile..X|
|000029f0| 0a 58 74 65 73 74 20 3a | 20 66 6c 65 78 0a 58 09 |.Xtest :| flex.X.|
|00002a00| 64 65 66 69 6e 65 20 74 | 6f 6f 6c 73 24 24 6c 69 |define t|ools$$li|
|00002a10| 62 20 27 66 24 24 65 6e | 76 69 72 6f 6e 6d 65 6e |b 'f$$en|vironmen|
|00002a20| 74 28 22 64 65 66 61 75 | 6c 74 22 29 27 0a 58 09 |t("defau|lt")'.X.|
|00002a30| 66 6c 65 78 20 24 28 46 | 4c 45 58 5f 46 4c 41 47 |flex $(F|LEX_FLAG|
|00002a40| 53 29 20 73 63 61 6e 2e | 6c 0a 58 09 64 65 66 69 |S) scan.|l.X.defi|
|00002a50| 6e 65 20 74 6f 6f 6c 73 | 24 24 6c 69 62 20 74 6f |ne tools|$$lib to|
|00002a60| 6f 6c 73 24 24 73 79 73 | 3a 5b 6c 69 62 5d 0a 58 |ols$$sys|:[lib].X|
|00002a70| 09 64 69 66 66 2f 6f 75 | 74 3d 66 6c 65 78 2e 64 |.diff/ou|t=flex.d|
|00002a80| 69 66 66 20 73 63 61 6e | 2e 64 69 73 74 20 6c 65 |iff scan|.dist le|
|00002a90| 78 5f 79 79 2e 63 0a 58 | 09 74 79 70 65 2f 70 61 |x_yy.c.X|.type/pa|
|00002aa0| 67 65 20 66 6c 65 78 2e | 64 69 66 66 0a 58 0a 58 |ge flex.|diff.X.X|
|00002ab0| 0a 58 0a 58 23 23 23 23 | 23 23 23 23 23 23 23 23 |.X.X####|########|
|00002ac0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 20 53 74 |########|##### St|
|00002ad0| 75 66 66 20 66 6f 72 20 | 38 20 42 69 74 20 63 68 |uff for |8 Bit ch|
|00002ae0| 61 72 73 20 23 23 23 23 | 23 23 23 23 23 23 23 23 |ars ####|########|
|00002af0| 23 23 23 23 23 23 23 23 | 23 23 23 23 0a 58 0a 58 |########|####.X.X|
|00002b00| 0a 58 45 61 72 6c 65 20 | 48 6f 72 74 6f 6e 20 68 |.XEarle |Horton h|
|00002b10| 61 73 20 6d 61 64 65 20 | 61 20 76 65 72 73 69 6f |as made |a versio|
|00002b20| 6e 20 6f 66 20 66 6c 65 | 78 20 72 75 6e 20 6f 6e |n of fle|x run on|
|00002b30| 20 74 68 65 20 4d 61 63 | 49 6e 74 6f 73 68 20 75 | the Mac|Intosh u|
|00002b40| 6e 64 65 72 20 4d 50 57 | 2e 20 20 4e 6f 74 0a 58 |nder MPW|. Not.X|
|00002b50| 62 65 69 6e 67 20 63 6f | 6e 74 65 6e 74 20 74 6f |being co|ntent to|
|00002b60| 20 73 63 61 6e 20 72 65 | 67 75 6c 61 72 20 61 73 | scan re|gular as|
|00002b70| 63 69 69 2c 20 68 65 20 | 64 65 61 6c 73 20 77 69 |cii, he |deals wi|
|00002b80| 74 68 20 61 6c 6c 20 38 | 20 62 69 74 73 2e 20 20 |th all 8| bits. |
|00002b90| 49 20 61 6c 73 6f 20 68 | 61 76 65 0a 58 77 61 6e |I also h|ave.Xwan|
|00002ba0| 74 65 64 20 74 6f 20 77 | 72 69 74 65 20 56 4d 53 |ted to w|rite VMS|
|00002bb0| 20 66 69 6c 74 65 72 73 | 20 74 68 61 74 20 72 65 | filters| that re|
|00002bc0| 63 6f 67 6e 69 7a 65 20 | 3c 43 53 49 3e 2c 20 65 |cognize |<CSI>, e|
|00002bd0| 74 63 2e 20 73 6f 20 49 | 20 63 6f 6e 74 61 63 74 |tc. so I| contact|
|00002be0| 65 64 20 68 69 6d 0a 58 | 61 62 6f 75 74 20 68 69 |ed him.X|about hi|
|00002bf0| 73 20 77 6f 72 6b 2e 20 | 20 48 65 20 73 65 65 6d |s work. | He seem|
|00002c00| 73 20 74 6f 20 62 65 20 | 75 6e 61 62 6c 65 20 74 |s to be |unable t|
|00002c10| 6f 20 72 65 61 63 68 20 | 79 6f 75 20 64 69 72 65 |o reach |you dire|
|00002c20| 63 74 6c 79 2d 2d 74 68 | 65 20 72 65 73 74 20 6f |ctly--th|e rest o|
|00002c30| 66 0a 58 74 68 69 73 20 | 69 73 20 68 69 73 20 6e |f.Xthis |is his n|
|00002c40| 6f 74 65 2e 2e 2e 0a 58 | 2d 2d 2d 2d 2d 2d 2d 2d |ote....X|--------|
|00002c50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002c60| 2d 2d 2d 4e 6f 74 65 20 | 66 72 6f 6d 20 45 61 72 |---Note |from Ear|
|00002c70| 6c 65 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |le------|--------|
|00002c80| 2d 2d 2d 2d 0a 58 3e 46 | 72 6f 6d 20 61 72 69 7a |----.X>F|rom ariz|
|00002c90| 6f 6e 61 21 65 61 72 6c | 65 68 40 65 6c 65 61 7a |ona!earl|eh@eleaz|
|00002ca0| 61 72 2e 44 61 72 74 6d | 6f 75 74 68 2e 45 44 55 |ar.Dartm|outh.EDU|
|00002cb0| 20 46 72 69 20 4d 61 79 | 20 32 37 20 31 31 3a 33 | Fri May| 27 11:3|
|00002cc0| 33 3a 30 39 20 31 39 38 | 38 0a 58 52 65 63 65 69 |3:09 198|8.XRecei|
|00002cd0| 76 65 64 3a 20 66 72 6f | 6d 20 44 41 52 54 56 41 |ved: fro|m DARTVA|
|00002ce0| 58 2e 44 41 52 54 4d 4f | 55 54 48 2e 45 44 55 20 |X.DARTMO|UTH.EDU |
|00002cf0| 62 79 20 6d 65 67 61 72 | 6f 6e 2e 61 72 69 7a 6f |by megar|on.arizo|
|00002d00| 6e 61 2e 65 64 75 3b 20 | 46 72 69 2c 20 32 37 20 |na.edu; |Fri, 27 |
|00002d10| 4d 61 79 20 38 38 20 31 | 30 3a 35 35 3a 33 39 20 |May 88 1|0:55:39 |
|00002d20| 4d 53 54 0a 58 52 65 63 | 65 69 76 65 64 3a 20 66 |MST.XRec|eived: f|
|00002d30| 72 6f 6d 20 65 6c 65 61 | 7a 61 72 2e 64 61 72 74 |rom elea|zar.dart|
|00002d40| 6d 6f 75 74 68 2e 65 64 | 75 20 62 79 20 64 61 72 |mouth.ed|u by dar|
|00002d50| 74 76 61 78 2e 64 61 72 | 74 6d 6f 75 74 68 2e 65 |tvax.dar|tmouth.e|
|00002d60| 64 75 20 28 35 2e 35 39 | 2f 33 2e 34 52 4f 4f 54 |du (5.59|/3.4ROOT|
|00002d70| 29 0a 58 09 69 64 20 41 | 41 31 37 30 34 34 3b 20 |).X.id A|A17044; |
|00002d80| 46 72 69 2c 20 32 37 20 | 4d 61 79 20 38 38 20 31 |Fri, 27 |May 88 1|
|00002d90| 33 3a 35 33 3a 31 38 20 | 45 44 54 0a 58 52 65 63 |3:53:18 |EDT.XRec|
|00002da0| 65 69 76 65 64 3a 20 62 | 79 20 65 6c 65 61 7a 61 |eived: b|y eleaza|
|00002db0| 72 2e 64 61 72 74 6d 6f | 75 74 68 2e 65 64 75 20 |r.dartmo|uth.edu |
|00002dc0| 28 35 2e 35 39 2f 33 2e | 32 4c 45 41 46 29 0a 58 |(5.59/3.|2LEAF).X|
|00002dd0| 09 69 64 20 41 41 31 35 | 39 30 36 3b 20 46 72 69 |.id AA15|906; Fri|
|00002de0| 2c 20 32 37 20 4d 61 79 | 20 38 38 20 31 33 3a 35 |, 27 May| 88 13:5|
|00002df0| 33 3a 30 34 20 45 44 54 | 0a 58 44 61 74 65 3a 20 |3:04 EDT|.XDate: |
|00002e00| 46 72 69 2c 20 32 37 20 | 4d 61 79 20 38 38 20 31 |Fri, 27 |May 88 1|
|00002e10| 33 3a 35 33 3a 30 34 20 | 45 44 54 0a 58 46 72 6f |3:53:04 |EDT.XFro|
|00002e20| 6d 3a 20 61 72 69 7a 6f | 6e 61 21 65 61 72 6c 65 |m: arizo|na!earle|
|00002e30| 68 40 65 6c 65 61 7a 61 | 72 2e 44 61 72 74 6d 6f |h@eleaza|r.Dartmo|
|00002e40| 75 74 68 2e 45 44 55 20 | 28 45 61 72 6c 65 20 52 |uth.EDU |(Earle R|
|00002e50| 2e 20 48 6f 72 74 6f 6e | 29 0a 58 4d 65 73 73 61 |. Horton|).XMessa|
|00002e60| 67 65 2d 49 64 3a 20 3c | 38 38 30 35 32 37 31 37 |ge-Id: <|88052717|
|00002e70| 35 33 2e 41 41 31 35 39 | 30 36 40 65 6c 65 61 7a |53.AA159|06@eleaz|
|00002e80| 61 72 2e 64 61 72 74 6d | 6f 75 74 68 2e 65 64 75 |ar.dartm|outh.edu|
|00002e90| 3e 0a 58 54 6f 3a 20 65 | 6c 65 61 7a 61 72 21 65 |>.XTo: e|leazar!e|
|00002ea0| 61 72 6c 65 68 2c 20 65 | 61 72 6c 65 68 40 65 6c |arleh, e|arleh@el|
|00002eb0| 65 61 7a 61 72 2e 44 61 | 72 74 6d 6f 75 74 68 2e |eazar.Da|rtmouth.|
|00002ec0| 45 44 55 2c 20 6e 61 75 | 63 73 65 21 6a 64 63 0a |EDU, nau|cse!jdc.|
|00002ed0| 58 53 75 62 6a 65 63 74 | 3a 20 52 65 3a 20 46 6c |XSubject|: Re: Fl|
|00002ee0| 65 78 20 61 6e 64 20 44 | 45 43 20 6d 75 6c 74 69 |ex and D|EC multi|
|00002ef0| 2d 6e 61 74 69 6f 6e 61 | 6c 73 2c 20 68 65 6c 70 |-nationa|ls, help|
|00002f00| 21 0a 58 53 74 61 74 75 | 73 3a 20 52 0a 58 0a 58 |!.XStatu|s: R.X.X|
|00002f10| 4a 6f 68 6e 2c 0a 58 0a | 58 20 20 20 20 20 49 20 |John,.X.|X I |
|00002f20| 68 61 76 65 20 70 6f 73 | 74 65 64 20 74 68 65 20 |have pos|ted the |
|00002f30| 64 69 66 66 73 20 74 6f | 20 63 6f 6d 70 2e 73 6f |diffs to| comp.so|
|00002f40| 75 72 63 65 73 2e 75 6e | 69 78 2c 20 61 6e 64 20 |urces.un|ix, and |
|00002f50| 49 20 74 68 69 6e 6b 20 | 74 68 61 74 0a 58 74 68 |I think |that.Xth|
|00002f60| 65 79 20 63 6f 75 6c 64 | 20 62 65 20 75 73 65 64 |ey could| be used|
|00002f70| 20 74 6f 20 67 65 6e 65 | 72 61 74 65 20 61 20 56 | to gene|rate a V|
|00002f80| 41 58 20 43 20 76 65 72 | 73 69 6f 6e 20 77 68 69 |AX C ver|sion whi|
|00002f90| 63 68 20 73 63 61 6e 73 | 20 44 45 43 0a 58 6d 75 |ch scans| DEC.Xmu|
|00002fa0| 6c 74 69 2d 6e 61 74 69 | 6f 6e 61 6c 73 20 77 69 |lti-nati|onals wi|
|00002fb0| 74 68 20 6c 69 74 74 6c | 65 20 65 78 74 72 61 20 |th littl|e extra |
|00002fc0| 65 66 66 6f 72 74 2e 20 | 20 49 20 74 72 69 65 64 |effort. | I tried|
|00002fd0| 20 74 68 65 20 61 64 64 | 72 65 73 73 20 77 68 69 | the add|ress whi|
|00002fe0| 63 68 0a 58 79 6f 75 20 | 67 69 76 65 20 66 6f 72 |ch.Xyou |give for|
|00002ff0| 20 56 65 72 6e 20 73 65 | 76 65 72 61 6c 20 74 69 | Vern se|veral ti|
|00003000| 6d 65 73 2c 20 6f 6e 6c | 79 20 74 6f 20 68 61 76 |mes, onl|y to hav|
|00003010| 65 20 69 74 20 62 6f 75 | 6e 63 65 20 62 61 63 6b |e it bou|nce back|
|00003020| 20 74 6f 20 6d 65 20 66 | 6f 72 0a 58 73 6f 6d 65 | to me f|or.Xsome|
|00003030| 20 6d 79 73 74 65 72 69 | 6f 75 73 20 72 65 61 73 | mysteri|ous reas|
|00003040| 6f 6e 20 6b 6e 6f 77 6e | 20 6f 6e 6c 79 20 74 6f |on known| only to|
|00003050| 20 61 20 6d 61 69 6c 20 | 64 61 65 6d 6f 6e 20 73 | a mail |daemon s|
|00003060| 6f 6d 65 77 68 65 72 65 | 2e 20 20 49 20 77 6f 75 |omewhere|. I wou|
|00003070| 6c 64 0a 58 69 6e 64 65 | 65 64 20 61 70 70 72 65 |ld.Xinde|ed appre|
|00003080| 63 69 61 74 65 20 69 74 | 20 69 66 20 79 6f 75 20 |ciate it| if you |
|00003090| 63 6f 75 6c 64 20 66 6f | 72 77 61 72 64 20 74 68 |could fo|rward th|
|000030a0| 69 73 20 74 6f 20 68 69 | 6d 2e 0a 58 0a 58 20 20 |is to hi|m..X.X |
|000030b0| 20 20 20 49 20 68 61 76 | 65 20 66 6f 75 6e 64 20 | I hav|e found |
|000030c0| 74 68 61 74 20 74 68 65 | 20 66 75 6c 6c 20 69 6e |that the| full in|
|000030d0| 74 65 72 6e 61 6c 20 72 | 65 70 72 65 73 65 6e 74 |ternal r|epresent|
|000030e0| 61 74 69 6f 6e 20 6f 66 | 20 61 6c 6c 0a 58 63 68 |ation of| all.Xch|
|000030f0| 61 72 61 63 74 65 72 73 | 20 61 73 20 73 68 6f 72 |aracters| as shor|
|00003100| 74 73 20 69 73 20 6e 6f | 74 20 6e 65 63 65 73 73 |ts is no|t necess|
|00003110| 61 72 79 2e 20 20 52 61 | 74 68 65 72 2c 20 69 74 |ary. Ra|ther, it|
|00003120| 20 69 73 20 6f 6e 6c 79 | 20 6e 65 63 65 73 73 61 | is only| necessa|
|00003130| 72 79 20 74 6f 0a 58 0a | 58 20 20 20 20 20 61 29 |ry to.X.|X a)|
|00003140| 20 20 50 72 65 76 65 6e | 74 20 63 6f 6e 76 65 72 | Preven|t conver|
|00003150| 73 69 6f 6e 20 6f 66 20 | 76 61 6c 69 64 20 63 68 |sion of |valid ch|
|00003160| 61 72 61 63 74 65 72 73 | 20 74 6f 20 6e 65 67 61 |aracters| to nega|
|00003170| 74 69 76 65 20 69 6e 74 | 73 2e 20 20 49 0a 58 20 |tive int|s. I.X |
|00003180| 20 20 20 20 20 20 20 20 | 64 6f 20 74 68 69 73 20 | |do this |
|00003190| 77 69 74 68 20 61 20 6d | 61 73 6b 2c 20 64 65 66 |with a m|ask, def|
|000031a0| 69 6e 65 64 20 66 6f 72 | 20 74 68 65 20 4d 61 63 |ined for| the Mac|
|000031b0| 20 61 6e 64 20 55 4e 49 | 58 20 61 73 20 0a 58 20 | and UNI|X as .X |
|000031c0| 20 20 20 20 20 20 20 20 | 22 23 64 65 66 69 6e 65 | |"#define|
|000031d0| 20 42 59 54 45 4d 41 53 | 4b 20 30 78 46 46 22 2e | BYTEMAS|K 0xFF".|
|000031e0| 20 20 41 6e 79 20 74 69 | 6d 65 20 61 20 63 68 61 | Any ti|me a cha|
|000031f0| 72 20 69 73 20 63 6f 6e | 76 65 72 74 65 64 20 74 |r is con|verted t|
|00003200| 6f 20 61 6e 0a 58 20 20 | 20 20 20 20 20 20 20 69 |o an.X | i|
|00003210| 6e 74 2c 20 41 4e 44 20 | 69 74 20 77 69 74 68 20 |nt, AND |it with |
|00003220| 74 68 65 20 6d 61 73 6b | 2e 20 20 54 68 65 6e 20 |the mask|. Then |
|00003230| 79 6f 75 20 64 6f 6e 27 | 74 20 68 61 76 65 20 74 |you don'|t have t|
|00003240| 6f 20 64 65 63 6c 61 72 | 65 0a 58 20 20 20 20 20 |o declar|e.X |
|00003250| 20 20 20 20 63 68 61 72 | 73 20 61 73 20 75 6e 73 | char|s as uns|
|00003260| 69 67 6e 65 64 20 63 68 | 61 72 73 2c 20 77 68 69 |igned ch|ars, whi|
|00003270| 63 68 20 69 73 20 74 69 | 72 65 73 6f 6d 65 2e 0a |ch is ti|resome..|
|00003280| 58 0a 58 20 20 20 20 20 | 62 29 20 20 54 68 65 20 |X.X |b) The |
|00003290| 72 6f 75 74 69 6e 65 20 | 6d 6b 65 63 63 6c 28 29 |routine |mkeccl()|
|000032a0| 20 75 73 65 73 20 6e 65 | 67 61 74 69 6f 6e 20 6f | uses ne|gation o|
|000032b0| 66 20 63 68 61 72 61 63 | 74 65 72 73 20 66 6f 72 |f charac|ters for|
|000032c0| 20 61 20 66 6c 61 67 0a | 58 20 20 20 20 20 20 20 | a flag.|X |
|000032d0| 20 20 74 6f 20 64 65 74 | 65 72 6d 69 6e 65 20 77 | to det|ermine w|
|000032e0| 68 65 74 68 65 72 20 74 | 68 65 79 20 68 61 76 65 |hether t|hey have|
|000032f0| 20 62 65 65 6e 20 70 72 | 6f 63 65 73 73 65 64 2e | been pr|ocessed.|
|00003300| 20 20 49 20 75 73 65 64 | 20 61 0a 58 20 20 20 20 | I used| a.X |
|00003310| 20 20 20 20 20 64 65 62 | 75 67 67 65 72 20 74 6f | deb|ugger to|
|00003320| 20 65 73 74 69 6d 61 74 | 65 20 68 6f 77 20 6d 61 | estimat|e how ma|
|00003330| 6e 79 20 74 69 6d 65 73 | 20 74 68 69 73 20 72 6f |ny times| this ro|
|00003340| 75 74 69 6e 65 20 69 73 | 20 61 63 74 75 61 6c 6c |utine is| actuall|
|00003350| 79 0a 58 20 20 20 20 20 | 20 20 20 20 63 61 6c 6c |y.X | call|
|00003360| 65 64 20 77 68 65 6e 20 | 46 6c 65 78 20 73 63 61 |ed when |Flex sca|
|00003370| 6e 73 20 73 63 61 6e 2e | 6c 2e 20 20 42 61 73 65 |ns scan.|l. Base|
|00003380| 64 20 6f 6e 20 77 68 61 | 74 20 74 68 69 73 20 6c |d on wha|t this l|
|00003390| 6f 6f 6b 65 64 0a 58 20 | 20 20 20 20 20 20 20 20 |ooked.X | |
|000033a0| 6c 69 6b 65 20 74 6f 20 | 6d 65 2c 20 49 20 64 65 |like to |me, I de|
|000033b0| 63 69 64 65 64 20 74 68 | 61 74 20 69 74 20 77 6f |cided th|at it wo|
|000033c0| 75 6c 64 20 62 65 20 61 | 70 70 72 6f 70 72 69 61 |uld be a|ppropria|
|000033d0| 74 65 20 74 6f 20 68 61 | 76 65 0a 58 20 20 20 20 |te to ha|ve.X |
|000033e0| 20 20 20 20 20 6f 6e 6c | 79 20 74 68 65 20 72 6f | onl|y the ro|
|000033f0| 75 74 69 6e 65 20 6d 6b | 65 63 63 6c 28 29 20 75 |utine mk|eccl() u|
|00003400| 73 65 20 61 6e 20 61 72 | 72 61 79 20 6f 66 20 73 |se an ar|ray of s|
|00003410| 68 6f 72 74 73 20 66 6f | 72 20 69 74 73 0a 58 20 |horts fo|r its.X |
|00003420| 20 20 20 20 20 20 20 20 | 69 6e 74 65 72 6e 61 6c | |internal|
|00003430| 20 70 72 6f 63 65 73 73 | 69 6e 67 2e 20 20 57 68 | process|ing. Wh|
|00003440| 65 6e 20 6d 6b 65 63 63 | 6c 28 29 20 69 73 20 63 |en mkecc|l() is c|
|00003450| 61 6c 6c 65 64 2c 20 69 | 74 20 67 65 74 73 20 61 |alled, i|t gets a|
|00003460| 0a 58 20 20 20 20 20 20 | 20 20 20 70 6f 69 6e 74 |.X | point|
|00003470| 65 72 20 74 6f 20 61 6e | 20 61 72 72 61 79 20 6f |er to an| array o|
|00003480| 66 20 73 68 6f 72 74 73 | 20 75 73 69 6e 67 20 61 |f shorts| using a|
|00003490| 6c 6c 6f 63 61 28 29 2c | 20 61 6e 64 20 74 68 65 |lloca(),| and the|
|000034a0| 6e 20 72 65 61 64 73 0a | 58 20 20 20 20 20 20 20 |n reads.|X |
|000034b0| 20 20 74 68 65 20 63 68 | 61 72 61 63 74 65 72 73 | the ch|aracters|
|000034c0| 20 77 68 69 63 68 20 69 | 74 20 69 73 20 74 6f 20 | which i|t is to |
|000034d0| 70 72 6f 63 65 73 73 20 | 69 6e 74 6f 20 74 68 69 |process |into thi|
|000034e0| 73 20 61 72 72 61 79 20 | 75 73 69 6e 67 0a 58 20 |s array |using.X |
|000034f0| 20 20 20 20 20 20 20 20 | 74 68 65 20 6d 65 74 68 | |the meth|
|00003500| 6f 64 20 69 6e 20 28 61 | 29 2e 20 20 57 68 65 6e |od in (a|). When|
|00003510| 20 6d 6b 65 63 63 6c 28 | 29 20 69 73 20 64 6f 6e | mkeccl(|) is don|
|00003520| 65 2c 20 74 68 65 20 73 | 68 6f 72 74 73 20 61 72 |e, the s|horts ar|
|00003530| 65 20 70 75 74 0a 58 20 | 20 20 20 20 20 20 20 20 |e put.X | |
|00003540| 62 61 63 6b 20 69 6e 74 | 6f 20 63 68 61 72 73 2c |back int|o chars,|
|00003550| 20 61 6e 64 20 74 68 69 | 6e 67 73 20 70 72 6f 63 | and thi|ngs proc|
|00003560| 65 65 64 2e 20 20 54 68 | 65 20 69 6e 74 65 72 6e |eed. Th|e intern|
|00003570| 61 6c 20 70 72 6f 63 65 | 73 73 69 6e 67 0a 58 20 |al proce|ssing.X |
|00003580| 20 20 20 20 20 20 20 20 | 64 6f 6e 65 20 62 79 20 | |done by |
|00003590| 6d 6b 65 63 63 6c 28 29 | 20 69 73 20 74 68 65 20 |mkeccl()| is the |
|000035a0| 73 61 6d 65 2e 0a 58 0a | 58 20 20 20 20 20 46 6c |same..X.|X Fl|
|000035b0| 65 78 20 63 6f 6d 70 69 | 6c 65 64 20 77 69 74 68 |ex compi|led with|
|000035c0| 20 74 68 65 73 65 20 63 | 68 61 6e 67 65 73 20 63 | these c|hanges c|
|000035d0| 6f 72 72 65 63 74 6c 79 | 20 73 63 61 6e 73 20 61 |orrectly| scans a|
|000035e0| 6c 6c 20 63 68 61 72 61 | 63 74 65 72 73 0a 58 69 |ll chara|cters.Xi|
|000035f0| 6e 20 74 68 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 |n the Ma|cintosh |
|00003600| 63 68 61 72 61 63 74 65 | 72 20 73 65 74 2c 20 74 |characte|r set, t|
|00003610| 6f 20 74 68 65 20 62 65 | 73 74 20 6f 66 20 6d 79 |o the be|st of my|
|00003620| 20 61 62 69 6c 69 74 79 | 20 74 6f 20 74 65 73 74 | ability| to test|
|00003630| 20 69 74 2e 0a 58 49 6e | 20 61 64 64 69 74 69 6f | it..XIn| additio|
|00003640| 6e 2c 20 69 74 20 63 6f | 72 72 65 63 74 6c 79 20 |n, it co|rrectly |
|00003650| 73 63 61 6e 73 20 63 68 | 61 72 73 20 77 69 74 68 |scans ch|ars with|
|00003660| 20 76 61 6c 75 65 73 20 | 3e 20 31 32 37 20 6f 6e | values |> 127 on|
|00003670| 20 61 20 55 4e 49 58 20 | 56 41 58 21 0a 58 43 6f | a UNIX |VAX!.XCo|
|00003680| 6e 74 72 61 72 79 20 74 | 6f 20 22 63 6f 6d 6d 6f |ntrary t|o "commo|
|00003690| 6e 20 6b 6e 6f 77 6c 65 | 64 67 65 22 2c 20 74 65 |n knowle|dge", te|
|000036a0| 78 74 20 66 69 6c 65 73 | 20 77 68 69 63 68 20 65 |xt files| which e|
|000036b0| 78 69 73 74 20 6f 6e 20 | 61 20 55 4e 49 58 0a 58 |xist on |a UNIX.X|
|000036c0| 6d 61 63 68 69 6e 65 20 | 6d 61 79 20 68 61 76 65 |machine |may have|
|000036d0| 20 76 61 6c 69 64 20 63 | 68 61 72 61 63 74 65 72 | valid c|haracter|
|000036e0| 73 20 69 6e 20 74 68 65 | 20 72 61 6e 67 65 20 5b |s in the| range [|
|000036f0| 5c 30 31 37 37 2d 5c 30 | 33 37 37 5d 2e 20 20 41 |\0177-\0|377]. A|
|00003700| 6e 0a 58 65 78 61 6d 70 | 6c 65 20 69 73 20 69 66 |n.Xexamp|le is if|
|00003710| 20 49 20 77 61 6e 74 20 | 74 6f 20 77 72 69 74 65 | I want |to write|
|00003720| 20 61 20 70 72 6f 67 72 | 61 6d 20 74 6f 20 72 75 | a progr|am to ru|
|00003730| 6e 20 6f 6e 20 61 20 55 | 4e 49 58 20 6d 61 63 68 |n on a U|NIX mach|
|00003740| 69 6e 65 20 77 68 69 63 | 68 0a 58 63 6f 6e 76 65 |ine whic|h.Xconve|
|00003750| 72 74 73 20 47 65 72 6d | 61 6e 20 63 68 61 72 61 |rts Germ|an chara|
|00003760| 63 74 65 72 73 20 74 6f | 20 41 53 43 49 49 2e 20 |cters to| ASCII. |
|00003770| 20 54 68 65 20 65 73 73 | 2d 74 73 65 74 20 28 49 | The ess|-tset (I|
|00003780| 20 62 65 6c 69 65 76 65 | 20 74 68 61 74 20 69 73 | believe| that is|
|00003790| 0a 58 74 68 65 20 6e 61 | 6d 65 29 20 63 61 6e 20 |.Xthe na|me) can |
|000037a0| 62 65 20 63 6f 6e 76 65 | 72 74 65 64 20 74 6f 20 |be conve|rted to |
|000037b0| 22 73 73 22 20 77 69 74 | 68 20 6c 69 74 74 6c 65 |"ss" wit|h little|
|000037c0| 20 6c 6f 73 73 20 6f 66 | 20 73 65 6e 73 65 20 69 | loss of| sense i|
|000037d0| 6e 20 6d 6f 73 74 20 63 | 61 73 65 73 2e 0a 58 20 |n most c|ases..X |
|000037e0| 20 20 20 20 20 20 20 20 | 0a 58 20 20 20 20 20 54 | |.X T|
|000037f0| 68 65 20 6f 6e 6c 79 20 | 71 75 65 73 74 69 6f 6e |he only |question|
|00003800| 20 49 20 68 61 76 65 20 | 61 62 6f 75 74 20 6d 79 | I have |about my|
|00003810| 20 70 72 6f 63 65 64 75 | 72 65 20 69 73 20 74 68 | procedu|re is th|
|00003820| 61 74 20 69 74 20 6c 6f | 6f 6b 73 0a 58 65 78 70 |at it lo|oks.Xexp|
|00003830| 65 6e 73 69 76 65 20 74 | 6f 20 63 6f 6e 76 65 72 |ensive t|o conver|
|00003840| 74 20 74 68 65 20 63 63 | 6c 74 62 6c 20 61 72 72 |t the cc|ltbl arr|
|00003850| 61 79 20 74 6f 20 73 68 | 6f 72 74 73 20 61 6e 64 |ay to sh|orts and|
|00003860| 20 62 61 63 6b 20 65 76 | 65 72 79 20 74 69 6d 65 | back ev|ery time|
|00003870| 0a 58 6d 6b 65 63 63 6c | 28 29 20 69 73 20 63 61 |.Xmkeccl|() is ca|
|00003880| 6c 6c 65 64 2e 20 20 48 | 6f 77 65 76 65 72 2c 20 |lled. H|owever, |
|00003890| 74 68 65 20 72 6f 75 74 | 69 6e 65 20 69 73 20 6e |the rout|ine is n|
|000038a0| 6f 74 20 63 61 6c 6c 65 | 64 20 61 6e 20 69 6e 6f |ot calle|d an ino|
|000038b0| 72 64 69 6e 61 74 65 6c | 79 0a 58 6c 61 72 67 65 |rdinatel|y.Xlarge|
|000038c0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 74 69 6d 65 73 | number |of times|
|000038d0| 2c 20 61 6e 64 20 74 68 | 69 73 20 63 6f 6e 76 65 |, and th|is conve|
|000038e0| 72 73 69 6f 6e 20 69 73 | 20 70 72 6f 62 61 62 6c |rsion is| probabl|
|000038f0| 79 20 6e 6f 74 20 6d 6f | 72 65 0a 58 65 78 70 65 |y not mo|re.Xexpe|
|00003900| 6e 73 69 76 65 20 74 68 | 61 6e 20 61 20 63 6f 75 |nsive th|an a cou|
|00003910| 70 6c 65 20 6f 66 20 63 | 61 6c 6c 73 20 74 6f 20 |ple of c|alls to |
|00003920| 73 74 72 63 70 79 28 29 | 2c 20 66 6f 72 20 69 6e |strcpy()|, for in|
|00003930| 73 74 61 6e 63 65 2e 20 | 20 54 6f 0a 58 64 65 74 |stance. | To.Xdet|
|00003940| 65 72 6d 69 6e 65 20 77 | 68 65 74 68 65 72 20 74 |ermine w|hether t|
|00003950| 68 69 73 20 69 73 20 74 | 68 65 20 6d 6f 73 74 20 |his is t|he most |
|00003960| 65 66 66 69 63 69 65 6e | 74 20 6d 65 74 68 6f 64 |efficien|t method|
|00003970| 2c 20 6f 6e 65 20 77 6f | 75 6c 64 20 68 61 76 65 |, one wo|uld have|
|00003980| 20 74 6f 0a 58 67 6f 20 | 74 68 72 6f 75 67 68 20 | to.Xgo |through |
|00003990| 74 68 65 20 65 66 66 6f | 72 74 20 74 6f 20 63 6f |the effo|rt to co|
|000039a0| 6e 76 65 72 74 20 46 6c | 65 78 20 74 6f 20 75 73 |nvert Fl|ex to us|
|000039b0| 65 20 73 68 6f 72 74 73 | 20 66 6f 72 20 61 6c 6c |e shorts| for all|
|000039c0| 20 69 6e 74 65 72 6e 61 | 6c 0a 58 72 65 70 72 65 | interna|l.Xrepre|
|000039d0| 73 65 6e 74 61 74 69 6f | 6e 2c 20 74 68 65 6e 20 |sentatio|n, then |
|000039e0| 70 72 6f 66 69 6c 65 20 | 74 68 65 20 74 77 6f 20 |profile |the two |
|000039f0| 6d 65 74 68 6f 64 73 2e | 20 20 4e 6f 74 20 6d 79 |methods.| Not my|
|00003a00| 20 69 64 65 61 20 6f 66 | 20 61 20 67 6f 6f 64 0a | idea of| a good.|
|00003a10| 58 74 69 6d 65 2e 0a 58 | 0a 58 20 20 20 20 20 46 |Xtime..X|.X F|
|00003a20| 6c 65 78 20 69 73 20 61 | 20 72 65 61 6c 20 6e 69 |lex is a| real ni|
|00003a30| 63 65 20 70 72 6f 67 72 | 61 6d 2e 20 20 49 20 63 |ce progr|am. I c|
|00003a40| 6f 75 6c 64 6e 27 74 20 | 66 69 6e 64 20 61 6e 79 |ouldn't |find any|
|00003a50| 74 68 69 6e 67 20 65 6c | 73 65 20 77 72 6f 6e 67 |thing el|se wrong|
|00003a60| 0a 58 77 69 74 68 20 69 | 74 2e 0a 58 0a 58 45 61 |.Xwith i|t..X.XEa|
|00003a70| 72 6c 65 20 48 6f 72 74 | 6f 6e 0a 58 0a 58 0a 45 |rle Hort|on.X.X.E|
|00003a80| 4e 44 5f 4f 46 5f 46 49 | 4c 45 0a 69 66 20 74 65 |ND_OF_FI|LE.if te|
|00003a90| 73 74 20 37 32 34 37 20 | 2d 6e 65 20 60 77 63 20 |st 7247 |-ne `wc |
|00003aa0| 2d 63 20 3c 27 66 6c 65 | 78 2f 4d 49 53 43 27 60 |-c <'fle|x/MISC'`|
|00003ab0| 3b 20 74 68 65 6e 0a 20 | 20 20 20 65 63 68 6f 20 |; then. | echo |
|00003ac0| 73 68 61 72 3a 20 5c 22 | 27 66 6c 65 78 2f 4d 49 |shar: \"|'flex/MI|
|00003ad0| 53 43 27 5c 22 20 75 6e | 70 61 63 6b 65 64 20 77 |SC'\" un|packed w|
|00003ae0| 69 74 68 20 77 72 6f 6e | 67 20 73 69 7a 65 21 0a |ith wron|g size!.|
|00003af0| 66 69 0a 23 20 65 6e 64 | 20 6f 66 20 27 66 6c 65 |fi.# end| of 'fle|
|00003b00| 78 2f 4d 49 53 43 27 0a | 66 69 0a 69 66 20 74 65 |x/MISC'.|fi.if te|
|00003b10| 73 74 20 2d 66 20 27 66 | 6c 65 78 2f 4d 61 6b 65 |st -f 'f|lex/Make|
|00003b20| 66 69 6c 65 27 20 2d 61 | 20 22 24 7b 31 7d 22 20 |file' -a| "${1}" |
|00003b30| 21 3d 20 22 2d 63 22 20 | 3b 20 74 68 65 6e 20 0a |!= "-c" |; then .|
|00003b40| 20 20 65 63 68 6f 20 73 | 68 61 72 3a 20 57 69 6c | echo s|har: Wil|
|00003b50| 6c 20 6e 6f 74 20 63 6c | 6f 62 62 65 72 20 65 78 |l not cl|obber ex|
|00003b60| 69 73 74 69 6e 67 20 66 | 69 6c 65 20 5c 22 27 66 |isting f|ile \"'f|
|00003b70| 6c 65 78 2f 4d 61 6b 65 | 66 69 6c 65 27 5c 22 0a |lex/Make|file'\".|
|00003b80| 65 6c 73 65 0a 65 63 68 | 6f 20 73 68 61 72 3a 20 |else.ech|o shar: |
|00003b90| 45 78 74 72 61 63 74 69 | 6e 67 20 5c 22 27 66 6c |Extracti|ng \"'fl|
|00003ba0| 65 78 2f 4d 61 6b 65 66 | 69 6c 65 27 5c 22 20 5c |ex/Makef|ile'\" \|
|00003bb0| 28 31 39 30 30 20 63 68 | 61 72 61 63 74 65 72 73 |(1900 ch|aracters|
|00003bc0| 5c 29 0a 73 65 64 20 22 | 73 2f 5e 58 2f 2f 22 20 |\).sed "|s/^X//" |
|00003bd0| 3e 27 66 6c 65 78 2f 4d | 61 6b 65 66 69 6c 65 27 |>'flex/M|akefile'|
|00003be0| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 46 49 4c 45 27 | <<'END_|OF_FILE'|
|00003bf0| 0a 58 23 20 6d 61 6b 65 | 20 66 69 6c 65 20 66 6f |.X# make| file fo|
|00003c00| 72 20 22 66 6c 65 78 22 | 20 74 6f 6f 6c 0a 58 0a |r "flex"| tool.X.|
|00003c10| 58 23 20 40 28 23 29 20 | 24 48 65 61 64 65 72 3a |X# @(#) |$Header:|
|00003c20| 20 4d 61 6b 65 66 69 6c | 65 2c 76 20 32 2e 33 20 | Makefil|e,v 2.3 |
|00003c30| 38 39 2f 30 36 2f 32 30 | 20 31 37 3a 32 37 3a 31 |89/06/20| 17:27:1|
|00003c40| 32 20 76 65 72 6e 20 45 | 78 70 20 24 20 28 4c 42 |2 vern E|xp $ (LB|
|00003c50| 4c 29 0a 58 0a 58 23 20 | 50 6f 72 74 69 6e 67 20 |L).X.X# |Porting |
|00003c60| 63 6f 6e 73 69 64 65 72 | 61 74 69 6f 6e 73 3a 0a |consider|ations:.|
|00003c70| 58 23 0a 58 23 20 20 20 | 20 46 6f 72 20 53 79 73 |X#.X# | For Sys|
|00003c80| 74 65 6d 20 56 20 55 6e | 69 78 20 6d 61 63 68 69 |tem V Un|ix machi|
|00003c90| 6e 65 73 2c 20 61 64 64 | 20 2d 44 53 59 53 5f 56 |nes, add| -DSYS_V|
|00003ca0| 20 74 6f 20 43 46 4c 41 | 47 53 2e 0a 58 23 20 20 | to CFLA|GS..X# |
|00003cb0| 20 20 46 6f 72 20 56 61 | 78 2f 56 4d 53 2c 20 61 | For Va|x/VMS, a|
|00003cc0| 64 64 20 2d 44 53 59 53 | 5f 56 20 74 6f 20 43 46 |dd -DSYS|_V to CF|
|00003cd0| 4c 41 47 53 2e 0a 58 23 | 20 20 20 20 46 6f 72 20 |LAGS..X#| For |
|00003ce0| 4d 53 2d 44 4f 53 2c 20 | 61 64 64 20 22 2d 44 4d |MS-DOS, |add "-DM|
|00003cf0| 53 5f 44 4f 53 20 2d 44 | 53 59 53 5f 56 22 20 74 |S_DOS -D|SYS_V" t|
|00003d00| 6f 20 43 46 4c 41 47 53 | 2e 20 20 43 72 65 61 74 |o CFLAGS|. Creat|
|00003d10| 65 20 5c 74 6d 70 20 69 | 66 20 6e 6f 74 20 70 72 |e \tmp i|f not pr|
|00003d20| 65 73 65 6e 74 2e 0a 58 | 23 20 20 20 20 20 20 20 |esent..X|# |
|00003d30| 20 20 59 6f 75 20 77 69 | 6c 6c 20 61 6c 73 6f 20 | You wi|ll also |
|00003d40| 77 61 6e 74 20 74 6f 20 | 72 65 6e 61 6d 65 20 66 |want to |rename f|
|00003d50| 6c 65 78 2e 73 6b 65 6c | 20 74 6f 20 73 6f 6d 65 |lex.skel| to some|
|00003d60| 74 68 69 6e 67 20 77 69 | 74 68 20 61 20 74 68 72 |thing wi|th a thr|
|00003d70| 65 65 0a 58 23 20 20 20 | 20 20 20 20 20 20 63 68 |ee.X# | ch|
|00003d80| 61 72 61 63 74 65 72 20 | 65 78 74 65 6e 73 69 6f |aracter |extensio|
|00003d90| 6e 2c 20 63 68 61 6e 67 | 65 20 53 4b 45 4c 45 54 |n, chang|e SKELET|
|00003da0| 4f 4e 5f 46 49 4c 45 20 | 62 65 6c 6f 77 20 61 70 |ON_FILE |below ap|
|00003db0| 70 72 6f 70 72 69 61 74 | 65 6c 79 2c 0a 58 23 20 |propriat|ely,.X# |
|00003dc0| 20 20 20 46 6f 72 20 41 | 6d 69 67 61 2c 20 61 64 | For A|miga, ad|
|00003dd0| 64 20 22 2d 44 41 4d 49 | 47 41 20 2d 44 53 59 53 |d "-DAMI|GA -DSYS|
|00003de0| 5f 56 22 20 74 6f 20 43 | 46 4c 41 47 53 2e 0a 58 |_V" to C|FLAGS..X|
|00003df0| 23 0a 58 23 20 41 20 6c | 6f 6e 67 20 74 69 6d 65 |#.X# A l|ong time|
|00003e00| 20 61 67 6f 2c 20 66 6c | 65 78 20 77 61 73 20 73 | ago, fl|ex was s|
|00003e10| 75 63 63 65 73 73 66 75 | 6c 6c 79 20 62 75 69 6c |uccessfu|lly buil|
|00003e20| 74 20 75 73 69 6e 67 20 | 4d 69 63 72 6f 73 6f 66 |t using |Microsof|
|00003e30| 74 20 43 20 61 6e 64 0a | 58 23 20 74 68 65 20 66 |t C and.|X# the f|
|00003e40| 6f 6c 6c 6f 77 69 6e 67 | 20 6f 70 74 69 6f 6e 73 |ollowing| options|
|00003e50| 3a 20 2f 41 4c 2c 20 2f | 73 74 61 63 6b 3a 31 30 |: /AL, /|stack:10|
|00003e60| 30 30 30 2c 20 2d 4c 41 | 52 47 45 2c 20 2d 4d 6c |000, -LA|RGE, -Ml|
|00003e70| 2c 20 2d 4d 74 31 32 38 | 2c 20 2d 44 53 59 53 5f |, -Mt128|, -DSYS_|
|00003e80| 56 0a 58 0a 58 0a 58 23 | 20 74 68 65 20 66 69 72 |V.X.X.X#| the fir|
|00003e90| 73 74 20 74 69 6d 65 20 | 61 72 6f 75 6e 64 20 75 |st time |around u|
|00003ea0| 73 65 20 22 6d 61 6b 65 | 20 66 69 72 73 74 5f 66 |se "make| first_f|
|00003eb0| 6c 65 78 22 0a 58 0a 58 | 0a 58 53 4b 45 4c 45 54 |lex".X.X|.XSKELET|
|00003ec0| 4f 4e 5f 44 49 52 20 3d | 20 2f 75 73 72 2f 6c 6f |ON_DIR =| /usr/lo|
|00003ed0| 63 61 6c 2f 6c 69 62 0a | 58 53 4b 45 4c 45 54 4f |cal/lib.|XSKELETO|
|00003ee0| 4e 5f 46 49 4c 45 20 3d | 20 66 6c 65 78 2e 73 6b |N_FILE =| flex.sk|
|00003ef0| 65 6c 0a 58 53 4b 45 4c | 46 4c 41 47 53 20 3d 20 |el.XSKEL|FLAGS = |
|00003f00| 2d 44 44 45 46 41 55 4c | 54 5f 53 4b 45 4c 45 54 |-DDEFAUL|T_SKELET|
|00003f10| 4f 4e 5f 46 49 4c 45 3d | 5c 22 24 28 53 4b 45 4c |ON_FILE=|\"$(SKEL|
|00003f20| 45 54 4f 4e 5f 44 49 52 | 29 2f 24 28 53 4b 45 4c |ETON_DIR|)/$(SKEL|
|00003f30| 45 54 4f 4e 5f 46 49 4c | 45 29 5c 22 0a 58 43 46 |ETON_FIL|E)\".XCF|
|00003f40| 4c 41 47 53 20 3d 20 2d | 4f 0a 58 4c 44 46 4c 41 |LAGS = -|O.XLDFLA|
|00003f50| 47 53 20 3d 20 2d 73 0a | 58 0a 58 46 4c 45 58 5f |GS = -s.|X.XFLEX_|
|00003f60| 46 4c 41 47 53 20 3d 0a | 58 46 4c 45 58 20 3d 20 |FLAGS =.|XFLEX = |
|00003f70| 2e 2f 66 6c 65 78 0a 58 | 43 43 20 3d 20 63 63 0a |./flex.X|CC = cc.|
|00003f80| 58 0a 58 46 4c 45 58 4f | 42 4a 53 20 3d 20 5c 0a |X.XFLEXO|BJS = \.|
|00003f90| 58 09 63 63 6c 2e 6f 20 | 5c 0a 58 09 64 66 61 2e |X.ccl.o |\.X.dfa.|
|00003fa0| 6f 20 5c 0a 58 09 65 63 | 73 2e 6f 20 5c 0a 58 09 |o \.X.ec|s.o \.X.|
|00003fb0| 67 65 6e 2e 6f 20 5c 0a | 58 09 6d 61 69 6e 2e 6f |gen.o \.|X.main.o|
|00003fc0| 20 5c 0a 58 09 6d 69 73 | 63 2e 6f 20 5c 0a 58 09 | \.X.mis|c.o \.X.|
|00003fd0| 6e 66 61 2e 6f 20 5c 0a | 58 09 70 61 72 73 65 2e |nfa.o \.|X.parse.|
|00003fe0| 6f 20 5c 0a 58 09 73 63 | 61 6e 2e 6f 20 5c 0a 58 |o \.X.sc|an.o \.X|
|00003ff0| 09 73 79 6d 2e 6f 20 5c | 0a 58 09 74 62 6c 63 6d |.sym.o \|.X.tblcm|
|00004000| 70 2e 6f 20 5c 0a 58 09 | 79 79 6c 65 78 2e 6f 0a |p.o \.X.|yylex.o.|
|00004010| 58 0a 58 46 4c 45 58 5f | 43 5f 53 4f 55 52 43 45 |X.XFLEX_|C_SOURCE|
|00004020| 53 20 3d 20 5c 0a 58 09 | 63 63 6c 2e 63 20 5c 0a |S = \.X.|ccl.c \.|
|00004030| 58 09 64 66 61 2e 63 20 | 5c 0a 58 09 65 63 73 2e |X.dfa.c |\.X.ecs.|
|00004040| 63 20 5c 0a 58 09 67 65 | 6e 2e 63 20 5c 0a 58 09 |c \.X.ge|n.c \.X.|
|00004050| 6d 61 69 6e 2e 63 20 5c | 0a 58 09 6d 69 73 63 2e |main.c \|.X.misc.|
|00004060| 63 20 5c 0a 58 09 6e 66 | 61 2e 63 20 5c 0a 58 09 |c \.X.nf|a.c \.X.|
|00004070| 70 61 72 73 65 2e 63 20 | 5c 0a 58 09 73 63 61 6e |parse.c |\.X.scan|
|00004080| 2e 63 20 5c 0a 58 09 73 | 79 6d 2e 63 20 5c 0a 58 |.c \.X.s|ym.c \.X|
|00004090| 09 74 62 6c 63 6d 70 2e | 63 20 5c 0a 58 09 79 79 |.tblcmp.|c \.X.yy|
|000040a0| 6c 65 78 2e 63 0a 58 0a | 58 66 6c 65 78 20 3a 20 |lex.c.X.|Xflex : |
|000040b0| 24 28 46 4c 45 58 4f 42 | 4a 53 29 0a 58 09 24 28 |$(FLEXOB|JS).X.$(|
|000040c0| 43 43 29 20 24 28 43 46 | 4c 41 47 53 29 20 2d 6f |CC) $(CF|LAGS) -o|
|000040d0| 20 66 6c 65 78 20 24 28 | 4c 44 46 4c 41 47 53 29 | flex $(|LDFLAGS)|
|000040e0| 20 24 28 46 4c 45 58 4f | 42 4a 53 29 0a 58 0a 58 | $(FLEXO|BJS).X.X|
|000040f0| 66 69 72 73 74 5f 66 6c | 65 78 3a 0a 58 09 63 70 |first_fl|ex:.X.cp|
|00004100| 20 69 6e 69 74 73 63 61 | 6e 2e 63 20 73 63 61 6e | initsca|n.c scan|
|00004110| 2e 63 0a 58 09 6d 61 6b | 65 20 24 28 4d 46 4c 41 |.c.X.mak|e $(MFLA|
|00004120| 47 53 29 20 66 6c 65 78 | 0a 58 0a 58 70 61 72 73 |GS) flex|.X.Xpars|
|00004130| 65 2e 68 20 70 61 72 73 | 65 2e 63 20 3a 20 70 61 |e.h pars|e.c : pa|
|00004140| 72 73 65 2e 79 0a 58 09 | 24 28 59 41 43 43 29 20 |rse.y.X.|$(YACC) |
|00004150| 2d 64 20 70 61 72 73 65 | 2e 79 0a 58 09 40 6d 76 |-d parse|.y.X.@mv|
|00004160| 20 79 2e 74 61 62 2e 63 | 20 70 61 72 73 65 2e 63 | y.tab.c| parse.c|
|00004170| 0a 58 09 40 6d 76 20 79 | 2e 74 61 62 2e 68 20 70 |.X.@mv y|.tab.h p|
|00004180| 61 72 73 65 2e 68 0a 58 | 0a 58 73 63 61 6e 2e 63 |arse.h.X|.Xscan.c|
|00004190| 20 3a 20 73 63 61 6e 2e | 6c 0a 58 09 24 28 46 4c | : scan.|l.X.$(FL|
|000041a0| 45 58 29 20 2d 69 73 74 | 20 24 28 46 4c 45 58 5f |EX) -ist| $(FLEX_|
|000041b0| 46 4c 41 47 53 29 20 73 | 63 61 6e 2e 6c 20 3e 73 |FLAGS) s|can.l >s|
|000041c0| 63 61 6e 2e 63 0a 58 0a | 58 73 63 61 6e 2e 6f 20 |can.c.X.|Xscan.o |
|000041d0| 3a 20 73 63 61 6e 2e 63 | 20 70 61 72 73 65 2e 68 |: scan.c| parse.h|
|000041e0| 0a 58 0a 58 6d 61 69 6e | 2e 6f 20 3a 20 6d 61 69 |.X.Xmain|.o : mai|
|000041f0| 6e 2e 63 0a 58 09 24 28 | 43 43 29 20 24 28 43 46 |n.c.X.$(|CC) $(CF|
|00004200| 4c 41 47 53 29 20 2d 63 | 20 24 28 53 4b 45 4c 46 |LAGS) -c| $(SKELF|
|00004210| 4c 41 47 53 29 20 6d 61 | 69 6e 2e 63 0a 58 0a 58 |LAGS) ma|in.c.X.X|
|00004220| 66 6c 65 78 2e 6d 61 6e | 20 3a 20 66 6c 65 78 2e |flex.man| : flex.|
|00004230| 31 0a 58 09 6e 72 6f 66 | 66 20 2d 6d 61 6e 20 66 |1.X.nrof|f -man f|
|00004240| 6c 65 78 2e 31 20 3e 66 | 6c 65 78 2e 6d 61 6e 0a |lex.1 >f|lex.man.|
|00004250| 58 0a 58 6c 69 6e 74 20 | 3a 20 24 28 46 4c 45 58 |X.Xlint |: $(FLEX|
|00004260| 5f 43 5f 53 4f 55 52 43 | 45 53 29 0a 58 09 6c 69 |_C_SOURC|ES).X.li|
|00004270| 6e 74 20 24 28 46 4c 45 | 58 5f 43 5f 53 4f 55 52 |nt $(FLE|X_C_SOUR|
|00004280| 43 45 53 29 20 3e 20 66 | 6c 65 78 2e 6c 69 6e 74 |CES) > f|lex.lint|
|00004290| 0a 58 0a 58 64 69 73 74 | 72 69 62 20 3a 0a 58 09 |.X.Xdist|rib :.X.|
|000042a0| 6d 76 20 73 63 61 6e 2e | 63 20 69 6e 69 74 73 63 |mv scan.|c initsc|
|000042b0| 61 6e 2e 63 0a 58 09 63 | 68 6d 6f 64 20 34 34 34 |an.c.X.c|hmod 444|
|000042c0| 20 69 6e 69 74 73 63 61 | 6e 2e 63 0a 58 09 24 28 | initsca|n.c.X.$(|
|000042d0| 4d 41 4b 45 29 20 24 28 | 4d 46 4c 41 47 53 29 20 |MAKE) $(|MFLAGS) |
|000042e0| 63 6c 65 61 6e 0a 58 0a | 58 63 6c 65 61 6e 20 3a |clean.X.|Xclean :|
|000042f0| 0a 58 09 72 6d 20 2d 66 | 20 63 6f 72 65 20 65 72 |.X.rm -f| core er|
|00004300| 72 73 20 66 6c 65 78 20 | 2a 2e 6f 20 70 61 72 73 |rs flex |*.o pars|
|00004310| 65 2e 63 20 2a 2e 6c 69 | 6e 74 20 70 61 72 73 65 |e.c *.li|nt parse|
|00004320| 2e 68 20 66 6c 65 78 2e | 6d 61 6e 20 74 61 67 73 |.h flex.|man tags|
|00004330| 0a 58 0a 58 74 61 67 73 | 20 3a 0a 58 09 63 74 61 |.X.Xtags| :.X.cta|
|00004340| 67 73 20 24 28 46 4c 45 | 58 5f 43 5f 53 4f 55 52 |gs $(FLE|X_C_SOUR|
|00004350| 43 45 53 29 0a 58 0a 58 | 76 6d 73 20 3a 09 66 6c |CES).X.X|vms :.fl|
|00004360| 65 78 2e 6d 61 6e 0a 58 | 09 24 28 4d 41 4b 45 29 |ex.man.X|.$(MAKE)|
|00004370| 20 24 28 4d 46 4c 41 47 | 53 29 20 64 69 73 74 72 | $(MFLAG|S) distr|
|00004380| 69 62 0a 58 0a 58 74 65 | 73 74 20 3a 0a 58 09 24 |ib.X.Xte|st :.X.$|
|00004390| 28 46 4c 45 58 29 20 2d | 69 73 74 20 24 28 46 4c |(FLEX) -|ist $(FL|
|000043a0| 45 58 5f 46 4c 41 47 53 | 29 20 73 63 61 6e 2e 6c |EX_FLAGS|) scan.l|
|000043b0| 20 7c 20 64 69 66 66 20 | 73 63 61 6e 2e 63 20 2d | | diff |scan.c -|
|000043c0| 0a 45 4e 44 5f 4f 46 5f | 46 49 4c 45 0a 69 66 20 |.END_OF_|FILE.if |
|000043d0| 74 65 73 74 20 31 39 30 | 30 20 2d 6e 65 20 60 77 |test 190|0 -ne `w|
|000043e0| 63 20 2d 63 20 3c 27 66 | 6c 65 78 2f 4d 61 6b 65 |c -c <'f|lex/Make|
|000043f0| 66 69 6c 65 27 60 3b 20 | 74 68 65 6e 0a 20 20 20 |file'`; |then. |
|00004400| 20 65 63 68 6f 20 73 68 | 61 72 3a 20 5c 22 27 66 | echo sh|ar: \"'f|
|00004410| 6c 65 78 2f 4d 61 6b 65 | 66 69 6c 65 27 5c 22 20 |lex/Make|file'\" |
|00004420| 75 6e 70 61 63 6b 65 64 | 20 77 69 74 68 20 77 72 |unpacked| with wr|
|00004430| 6f 6e 67 20 73 69 7a 65 | 21 0a 66 69 0a 23 20 65 |ong size|!.fi.# e|
|00004440| 6e 64 20 6f 66 20 27 66 | 6c 65 78 2f 4d 61 6b 65 |nd of 'f|lex/Make|
|00004450| 66 69 6c 65 27 0a 66 69 | 0a 69 66 20 74 65 73 74 |file'.fi|.if test|
|00004460| 20 2d 66 20 27 66 6c 65 | 78 2f 52 45 41 44 4d 45 | -f 'fle|x/README|
|00004470| 27 20 2d 61 20 22 24 7b | 31 7d 22 20 21 3d 20 22 |' -a "${|1}" != "|
|00004480| 2d 63 22 20 3b 20 74 68 | 65 6e 20 0a 20 20 65 63 |-c" ; th|en . ec|
|00004490| 68 6f 20 73 68 61 72 3a | 20 57 69 6c 6c 20 6e 6f |ho shar:| Will no|
|000044a0| 74 20 63 6c 6f 62 62 65 | 72 20 65 78 69 73 74 69 |t clobbe|r existi|
|000044b0| 6e 67 20 66 69 6c 65 20 | 5c 22 27 66 6c 65 78 2f |ng file |\"'flex/|
|000044c0| 52 45 41 44 4d 45 27 5c | 22 0a 65 6c 73 65 0a 65 |README'\|".else.e|
|000044d0| 63 68 6f 20 73 68 61 72 | 3a 20 45 78 74 72 61 63 |cho shar|: Extrac|
|000044e0| 74 69 6e 67 20 5c 22 27 | 66 6c 65 78 2f 52 45 41 |ting \"'|flex/REA|
|000044f0| 44 4d 45 27 5c 22 20 5c | 28 32 34 37 32 20 63 68 |DME'\" \|(2472 ch|
|00004500| 61 72 61 63 74 65 72 73 | 5c 29 0a 73 65 64 20 22 |aracters|\).sed "|
|00004510| 73 2f 5e 58 2f 2f 22 20 | 3e 27 66 6c 65 78 2f 52 |s/^X//" |>'flex/R|
|00004520| 45 41 44 4d 45 27 20 3c | 3c 27 45 4e 44 5f 4f 46 |EADME' <|<'END_OF|
|00004530| 5f 46 49 4c 45 27 0a 58 | 2f 2f 20 24 48 65 61 64 |_FILE'.X|// $Head|
|00004540| 65 72 3a 20 52 45 41 44 | 4d 45 2c 76 20 32 2e 34 |er: READ|ME,v 2.4|
|00004550| 20 38 39 2f 30 36 2f 32 | 30 20 31 37 3a 31 32 3a | 89/06/2|0 17:12:|
|00004560| 30 31 20 76 65 72 6e 20 | 45 78 70 20 24 0a 58 0a |01 vern |Exp $.X.|
|00004570| 58 54 68 69 73 20 69 73 | 20 72 65 6c 65 61 73 65 |XThis is| release|
|00004580| 20 32 2e 31 20 6f 66 20 | 66 6c 65 78 20 2d 20 61 | 2.1 of |flex - a|
|00004590| 20 62 65 74 61 20 72 65 | 6c 65 61 73 65 2e 0a 58 | beta re|lease..X|
|000045a0| 0a 58 54 68 65 20 66 6c | 65 78 20 64 69 73 74 72 |.XThe fl|ex distr|
|000045b0| 69 62 75 74 69 6f 6e 20 | 63 6f 6e 73 69 73 74 73 |ibution |consists|
|000045c0| 20 6f 66 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e | of the |followin|
|000045d0| 67 20 66 69 6c 65 73 3a | 0a 58 0a 58 09 52 45 41 |g files:|.X.X.REA|
|000045e0| 44 4d 45 09 09 54 68 69 | 73 20 6d 65 73 73 61 67 |DME..Thi|s messag|
|000045f0| 65 0a 58 0a 58 09 4d 61 | 6b 65 66 69 6c 65 0a 58 |e.X.X.Ma|kefile.X|
|00004600| 09 66 6c 65 78 64 65 66 | 2e 68 0a 58 09 70 61 72 |.flexdef|.h.X.par|
|00004610| 73 65 2e 79 0a 58 09 73 | 63 61 6e 2e 6c 0a 58 09 |se.y.X.s|can.l.X.|
|00004620| 63 63 6c 2e 63 0a 58 09 | 64 66 61 2e 63 0a 58 09 |ccl.c.X.|dfa.c.X.|
|00004630| 65 63 73 2e 63 09 09 66 | 6c 65 78 20 73 6f 75 72 |ecs.c..f|lex sour|
|00004640| 63 65 73 0a 58 09 67 65 | 6e 2e 63 0a 58 09 6d 61 |ces.X.ge|n.c.X.ma|
|00004650| 69 6e 2e 63 0a 58 09 6d | 69 73 63 2e 63 0a 58 09 |in.c.X.m|isc.c.X.|
|00004660| 6e 66 61 2e 63 0a 58 09 | 73 79 6d 2e 63 0a 58 09 |nfa.c.X.|sym.c.X.|
|00004670| 74 62 6c 63 6d 70 2e 63 | 0a 58 09 79 79 6c 65 78 |tblcmp.c|.X.yylex|
|00004680| 2e 63 0a 58 0a 58 09 69 | 6e 69 74 73 63 61 6e 2e |.c.X.X.i|nitscan.|
|00004690| 63 09 70 72 65 2d 66 6c | 65 78 27 64 20 76 65 72 |c.pre-fl|ex'd ver|
|000046a0| 73 69 6f 6e 20 6f 66 20 | 73 63 61 6e 2e 6c 0a 58 |sion of |scan.l.X|
|000046b0| 0a 58 09 66 6c 65 78 2e | 73 6b 65 6c 09 73 6b 65 |.X.flex.|skel.ske|
|000046c0| 6c 65 74 6f 6e 20 66 6f | 72 20 67 65 6e 65 72 61 |leton fo|r genera|
|000046d0| 74 65 64 20 73 63 61 6e | 6e 65 72 73 0a 58 0a 58 |ted scan|ners.X.X|
|000046e0| 09 66 6c 65 78 2e 31 09 | 09 6d 61 6e 75 61 6c 20 |.flex.1.|.manual |
|000046f0| 65 6e 74 72 79 0a 58 0a | 58 09 43 68 61 6e 67 65 |entry.X.|X.Change|
|00004700| 73 09 09 44 69 66 66 65 | 72 65 6e 63 65 73 20 62 |s..Diffe|rences b|
|00004710| 65 74 77 65 65 6e 20 74 | 68 69 73 20 72 65 6c 65 |etween t|his rele|
|00004720| 61 73 65 20 61 6e 64 20 | 74 68 65 20 70 72 65 76 |ase and |the prev|
|00004730| 69 6f 75 73 20 6f 6e 65 | 0a 58 09 43 4f 50 59 49 |ious one|.X.COPYI|
|00004740| 4e 47 09 09 66 6c 65 78 | 27 73 20 63 6f 70 79 72 |NG..flex|'s copyr|
|00004750| 69 67 68 74 0a 58 09 4d | 49 53 43 09 09 6d 69 73 |ight.X.M|ISC..mis|
|00004760| 63 65 6c 6c 61 6e 65 6f | 75 73 20 73 74 75 66 66 |cellaneo|us stuff|
|00004770| 20 28 65 2e 67 2e 2c 20 | 6f 6c 64 20 56 4d 53 20 | (e.g., |old VMS |
|00004780| 4d 61 6b 65 66 69 6c 65 | 29 20 77 68 69 63 68 0a |Makefile|) which.|
|00004790| 58 09 09 09 61 6c 6d 6f | 73 74 20 6e 6f 20 6f 6e |X...almo|st no on|
|000047a0| 65 20 77 69 6c 6c 20 63 | 61 72 65 20 61 62 6f 75 |e will c|are abou|
|000047b0| 74 0a 58 0a 58 0a 58 49 | 66 20 79 6f 75 20 68 61 |t.X.X.XI|f you ha|
|000047c0| 76 65 20 69 6e 73 74 61 | 6c 6c 65 64 20 61 20 70 |ve insta|lled a p|
|000047d0| 72 65 76 69 6f 75 73 20 | 76 65 72 73 69 6f 6e 20 |revious |version |
|000047e0| 6f 66 20 66 6c 65 78 2c | 20 64 65 6c 65 74 65 20 |of flex,| delete |
|000047f0| 69 74 20 28 61 66 74 65 | 72 20 6d 61 6b 69 6e 67 |it (afte|r making|
|00004800| 0a 58 62 61 63 6b 75 70 | 73 2c 20 6f 66 20 63 6f |.Xbackup|s, of co|
|00004810| 75 72 73 65 29 2e 20 20 | 54 68 69 73 20 77 69 6c |urse). |This wil|
|00004820| 6c 20 65 6e 74 61 69 6c | 20 72 65 6d 6f 76 69 6e |l entail| removin|
|00004830| 67 20 74 68 65 20 73 6f | 75 72 63 65 20 64 69 72 |g the so|urce dir|
|00004840| 65 63 74 6f 72 79 2c 0a | 58 2f 75 73 72 2f 69 6e |ectory,.|X/usr/in|
|00004850| 63 6c 75 64 65 2f 7b 66 | 6c 65 78 73 6b 65 6c 63 |clude/{f|lexskelc|
|00004860| 6f 6d 2c 66 61 73 74 73 | 6b 65 6c 64 65 66 2c 66 |om,fasts|keldef,f|
|00004870| 6c 65 78 73 6b 65 6c 64 | 65 66 7d 2e 68 2c 20 61 |lexskeld|ef}.h, a|
|00004880| 6e 64 0a 58 2f 75 73 72 | 2f 6c 6f 63 61 6c 2f 6c |nd.X/usr|/local/l|
|00004890| 69 62 2f 66 6c 65 78 2e | 7b 73 6b 65 6c 2c 66 61 |ib/flex.|{skel,fa|
|000048a0| 73 74 73 6b 65 6c 7d 2c | 20 69 66 20 74 68 61 74 |stskel},| if that|
|000048b0| 27 73 20 77 68 65 72 65 | 20 79 6f 75 20 70 75 74 |'s where| you put|
|000048c0| 20 74 68 65 20 76 61 72 | 69 6f 75 73 0a 58 70 69 | the var|ious.Xpi|
|000048d0| 65 63 65 73 2e 0a 58 0a | 58 0a 58 44 65 63 69 64 |eces..X.|X.XDecid|
|000048e0| 65 20 77 68 65 72 65 20 | 79 6f 75 20 77 61 6e 74 |e where |you want|
|000048f0| 20 74 6f 20 6b 65 65 70 | 20 66 6c 65 78 2e 73 6b | to keep| flex.sk|
|00004900| 65 6c 20 28 73 75 67 67 | 65 73 74 69 6f 6e 3a 20 |el (sugg|estion: |
|00004910| 20 2f 75 73 72 2f 6c 6f | 63 61 6c 2f 6c 69 62 29 | /usr/lo|cal/lib)|
|00004920| 20 61 6e 64 0a 58 6d 6f | 76 65 20 69 74 20 74 68 | and.Xmo|ve it th|
|00004930| 65 72 65 2e 20 20 45 64 | 69 74 20 22 4d 61 6b 65 |ere. Ed|it "Make|
|00004940| 66 69 6c 65 22 20 61 6e | 64 20 63 68 61 6e 67 65 |file" an|d change|
|00004950| 20 74 68 65 20 64 65 66 | 69 6e 69 74 69 6f 6e 20 | the def|inition |
|00004960| 6f 66 20 53 4b 45 4c 45 | 54 4f 4e 5f 46 49 4c 45 |of SKELE|TON_FILE|
|00004970| 0a 58 74 6f 20 72 65 66 | 6c 65 63 74 20 74 68 65 |.Xto ref|lect the|
|00004980| 20 66 75 6c 6c 20 70 61 | 74 68 6e 61 6d 65 20 6f | full pa|thname o|
|00004990| 66 20 66 6c 65 78 2e 73 | 6b 65 6c 2e 0a 58 0a 58 |f flex.s|kel..X.X|
|000049a0| 52 65 61 64 20 74 68 65 | 20 22 50 6f 72 74 69 6e |Read the| "Portin|
|000049b0| 67 20 63 6f 6e 73 69 64 | 65 72 61 74 69 6f 6e 73 |g consid|erations|
|000049c0| 22 20 6e 6f 74 65 20 69 | 6e 20 74 68 65 20 4d 61 |" note i|n the Ma|
|000049d0| 6b 65 66 69 6c 65 20 61 | 6e 64 20 6d 61 6b 65 0a |kefile a|nd make.|
|000049e0| 58 74 68 65 20 6e 65 63 | 65 73 73 61 72 79 20 63 |Xthe nec|essary c|
|000049f0| 68 61 6e 67 65 73 2e 0a | 58 0a 58 0a 58 54 6f 20 |hanges..|X.X.XTo |
|00004a00| 6d 61 6b 65 20 66 6c 65 | 78 20 66 6f 72 20 74 68 |make fle|x for th|
|00004a10| 65 20 66 69 72 73 74 20 | 74 69 6d 65 2c 20 75 73 |e first |time, us|
|00004a20| 65 3a 0a 58 0a 58 20 20 | 20 20 6d 61 6b 65 20 66 |e:.X.X | make f|
|00004a30| 69 72 73 74 5f 66 6c 65 | 78 0a 58 0a 58 77 68 69 |irst_fle|x.X.Xwhi|
|00004a40| 63 68 20 75 73 65 73 20 | 74 68 65 20 70 72 65 2d |ch uses |the pre-|
|00004a50| 67 65 6e 65 72 61 74 65 | 64 20 63 6f 70 79 20 6f |generate|d copy o|
|00004a60| 66 20 74 68 65 20 66 6c | 65 78 20 73 63 61 6e 6e |f the fl|ex scann|
|00004a70| 65 72 20 28 74 68 65 20 | 73 63 61 6e 6e 65 72 0a |er (the |scanner.|
|00004a80| 58 69 74 73 65 6c 66 20 | 69 73 20 77 72 69 74 74 |Xitself |is writt|
|00004a90| 65 6e 20 75 73 69 6e 67 | 20 66 6c 65 78 29 2e 0a |en using| flex)..|
|00004aa0| 58 0a 58 41 73 73 75 6d | 69 6e 67 20 69 74 20 62 |X.XAssum|ing it b|
|00004ab0| 75 69 6c 64 73 20 73 75 | 63 63 65 73 73 66 75 6c |uilds su|ccessful|
|00004ac0| 6c 79 2c 20 79 6f 75 20 | 63 61 6e 20 74 65 73 74 |ly, you |can test|
|00004ad0| 20 69 74 20 75 73 69 6e | 67 0a 58 0a 58 20 20 20 | it usin|g.X.X |
|00004ae0| 20 6d 61 6b 65 20 74 65 | 73 74 0a 58 0a 58 54 68 | make te|st.X.XTh|
|00004af0| 65 20 22 64 69 66 66 22 | 20 73 68 6f 75 6c 64 20 |e "diff"| should |
|00004b00| 6e 6f 74 20 73 68 6f 77 | 20 61 6e 79 20 64 69 66 |not show| any dif|
|00004b10| 66 65 72 65 6e 63 65 73 | 2e 0a 58 0a 58 49 66 20 |ferences|..X.XIf |
|00004b20| 79 6f 75 27 72 65 20 66 | 65 65 6c 69 6e 67 20 61 |you're f|eeling a|
|00004b30| 64 76 65 6e 74 75 72 6f | 75 73 2c 20 72 65 62 75 |dventuro|us, rebu|
|00004b40| 69 6c 64 20 73 63 61 6e | 2e 63 20 75 73 69 6e 67 |ild scan|.c using|
|00004b50| 20 76 61 72 69 6f 75 73 | 0a 58 63 6f 6d 62 69 6e | various|.Xcombin|
|00004b60| 61 74 69 6f 6e 73 20 6f | 66 20 46 4c 45 58 5f 46 |ations o|f FLEX_F|
|00004b70| 4c 41 47 53 2c 20 65 61 | 63 68 20 74 69 6d 65 20 |LAGS, ea|ch time |
|00004b80| 74 72 79 69 6e 67 20 22 | 6d 61 6b 65 20 74 65 73 |trying "|make tes|
|00004b90| 74 22 20 77 68 65 6e 0a | 58 79 6f 75 27 72 65 20 |t" when.|Xyou're |
|00004ba0| 64 6f 6e 65 2e 20 20 54 | 6f 20 72 65 62 75 69 6c |done. T|o rebuil|
|00004bb0| 64 20 69 74 2c 20 64 6f | 0a 58 0a 58 09 72 6d 20 |d it, do|.X.X.rm |
|00004bc0| 73 63 61 6e 2e 63 0a 58 | 09 6d 61 6b 65 20 46 4c |scan.c.X|.make FL|
|00004bd0| 45 58 5f 46 4c 41 47 53 | 3d 22 2e 2e 2e 22 0a 58 |EX_FLAGS|="...".X|
|00004be0| 0a 58 77 68 65 72 65 20 | 22 2e 2e 2e 22 20 69 73 |.Xwhere |"..." is|
|00004bf0| 20 6f 6e 65 20 6f 66 3a | 0a 58 0a 58 09 2d 63 0a | one of:|.X.X.-c.|
|00004c00| 58 09 2d 63 65 0a 58 09 | 2d 63 6d 0a 58 09 2d 63 |X.-ce.X.|-cm.X.-c|
|00004c10| 66 65 0a 58 09 2d 63 46 | 65 0a 58 0a 58 61 6e 64 |fe.X.-cF|e.X.Xand|
|00004c20| 20 74 65 73 74 69 6e 67 | 20 75 73 69 6e 67 3a 0a | testing| using:.|
|00004c30| 58 0a 58 09 6d 61 6b 65 | 20 46 4c 45 58 5f 46 4c |X.X.make| FLEX_FL|
|00004c40| 41 47 53 3d 22 2e 2e 2e | 22 20 74 65 73 74 0a 58 |AGS="...|" test.X|
|00004c50| 0a 58 0a 58 46 6f 72 6d | 61 74 20 74 68 65 20 6d |.X.XForm|at the m|
|00004c60| 61 6e 75 61 6c 20 65 6e | 74 72 79 20 75 73 69 6e |anual en|try usin|
|00004c70| 67 0a 58 0a 58 09 6d 61 | 6b 65 20 66 6c 65 78 2e |g.X.X.ma|ke flex.|
|00004c80| 6d 61 6e 0a 58 0a 58 0a | 58 50 6c 65 61 73 65 20 |man.X.X.|XPlease |
|00004c90| 73 65 6e 64 20 70 72 6f | 62 6c 65 6d 73 20 61 6e |send pro|blems an|
|00004ca0| 64 20 66 65 65 64 62 61 | 63 6b 20 74 6f 3a 0a 58 |d feedba|ck to:.X|
|00004cb0| 0a 58 09 76 65 72 6e 40 | 7b 63 73 61 6d 2e 6c 62 |.X.vern@|{csam.lb|
|00004cc0| 6c 2e 67 6f 76 2c 72 74 | 73 67 2e 65 65 2e 6c 62 |l.gov,rt|sg.ee.lb|
|00004cd0| 6c 2e 67 6f 76 7d 20 20 | 6f 72 20 20 75 63 62 76 |l.gov} |or ucbv|
|00004ce0| 61 78 21 63 73 61 6d 2e | 6c 62 6c 2e 67 6f 76 21 |ax!csam.|lbl.gov!|
|00004cf0| 76 65 72 6e 0a 58 0a 58 | 09 56 65 72 6e 20 50 61 |vern.X.X|.Vern Pa|
|00004d00| 78 73 6f 6e 0a 58 09 52 | 65 61 6c 20 54 69 6d 65 |xson.X.R|eal Time|
|00004d10| 20 53 79 73 74 65 6d 73 | 0a 58 09 42 6c 64 67 2e | Systems|.X.Bldg.|
|00004d20| 20 34 36 41 0a 58 09 4c | 61 77 72 65 6e 63 65 20 | 46A.X.L|awrence |
|00004d30| 42 65 72 6b 65 6c 65 79 | 20 4c 61 62 6f 72 61 74 |Berkeley| Laborat|
|00004d40| 6f 72 79 0a 58 09 31 20 | 43 79 63 6c 6f 74 72 6f |ory.X.1 |Cyclotro|
|00004d50| 6e 20 52 64 2e 0a 58 09 | 42 65 72 6b 65 6c 65 79 |n Rd..X.|Berkeley|
|00004d60| 2c 20 43 41 20 39 34 37 | 32 30 0a 58 0a 58 09 28 |, CA 947|20.X.X.(|
|00004d70| 34 31 35 29 20 34 38 36 | 2d 36 34 31 31 0a 58 0a |415) 486|-6411.X.|
|00004d80| 58 0a 58 49 20 77 69 6c | 6c 20 62 65 20 67 6f 6e |X.XI wil|l be gon|
|00004d90| 65 20 66 72 6f 6d 20 6d | 69 64 2d 4a 75 6c 79 20 |e from m|id-July |
|00004da0| 27 38 39 20 74 68 72 6f | 75 67 68 20 6d 69 64 2d |'89 thro|ugh mid-|
|00004db0| 41 75 67 75 73 74 20 27 | 38 39 2e 20 20 46 72 6f |August '|89. Fro|
|00004dc0| 6d 20 41 75 67 75 73 74 | 20 6f 6e 2c 0a 58 74 68 |m August| on,.Xth|
|00004dd0| 65 20 61 64 64 72 65 73 | 73 65 73 20 61 72 65 3a |e addres|ses are:|
|00004de0| 0a 58 0a 58 09 76 65 72 | 6e 40 63 73 2e 63 6f 72 |.X.X.ver|n@cs.cor|
|00004df0| 6e 65 6c 6c 2e 65 64 75 | 09 28 65 6d 61 69 6c 20 |nell.edu|.(email |
|00004e00| 73 65 6e 74 20 74 6f 20 | 74 68 65 20 66 6f 72 6d |sent to |the form|
|00004e10| 65 72 20 61 64 64 72 65 | 73 73 65 73 20 73 68 6f |er addre|sses sho|
|00004e20| 75 6c 64 0a 58 09 09 09 | 09 20 63 6f 6e 74 69 6e |uld.X...|. contin|
|00004e30| 75 65 20 74 6f 20 62 65 | 20 66 6f 72 77 61 72 64 |ue to be| forward|
|00004e40| 65 64 20 66 6f 72 20 71 | 75 69 74 65 20 61 20 77 |ed for q|uite a w|
|00004e50| 68 69 6c 65 29 0a 58 09 | 09 09 09 28 69 66 20 49 |hile).X.|...(if I|
|00004e60| 27 6d 20 75 6e 6c 75 63 | 6b 79 2c 20 79 6f 75 27 |'m unluc|ky, you'|
|00004e70| 6c 6c 20 68 61 76 65 20 | 74 6f 20 73 65 6e 64 20 |ll have |to send |
|00004e80| 6d 61 69 6c 0a 58 09 09 | 09 09 20 74 6f 20 22 70 |mail.X..|.. to "p|
|00004e90| 61 78 73 6f 6e 40 63 73 | 2e 63 6f 72 6e 65 6c 6c |axson@cs|.cornell|
|00004ea0| 2e 65 64 75 22 2c 20 73 | 6f 20 74 72 79 20 74 68 |.edu", s|o try th|
|00004eb0| 61 74 20 69 66 0a 58 09 | 09 09 09 20 74 68 65 20 |at if.X.|... the |
|00004ec0| 66 69 72 73 74 20 64 6f | 65 73 6e 27 74 20 77 6f |first do|esn't wo|
|00004ed0| 72 6b 29 0a 58 0a 58 09 | 56 65 72 6e 20 50 61 78 |rk).X.X.|Vern Pax|
|00004ee0| 73 6f 6e 0a 58 09 43 53 | 20 44 65 70 61 72 74 6d |son.X.CS| Departm|
|00004ef0| 65 6e 74 0a 58 09 47 72 | 61 64 20 4f 66 66 69 63 |ent.X.Gr|ad Offic|
|00004f00| 65 0a 58 09 34 31 32 36 | 20 55 70 73 6f 6e 0a 58 |e.X.4126| Upson.X|
|00004f10| 09 43 6f 72 6e 65 6c 6c | 20 55 6e 69 76 65 72 73 |.Cornell| Univers|
|00004f20| 69 74 79 0a 58 09 49 74 | 68 61 63 61 2c 20 4e 59 |ity.X.It|haca, NY|
|00004f30| 20 31 34 38 35 33 2d 37 | 35 30 31 0a 58 0a 58 09 | 14853-7|501.X.X.|
|00004f40| 3c 6e 6f 20 70 68 6f 6e | 65 20 6e 75 6d 62 65 72 |<no phon|e number|
|00004f50| 20 79 65 74 3e 0a 45 4e | 44 5f 4f 46 5f 46 49 4c | yet>.EN|D_OF_FIL|
|00004f60| 45 0a 69 66 20 74 65 73 | 74 20 32 34 37 32 20 2d |E.if tes|t 2472 -|
|00004f70| 6e 65 20 60 77 63 20 2d | 63 20 3c 27 66 6c 65 78 |ne `wc -|c <'flex|
|00004f80| 2f 52 45 41 44 4d 45 27 | 60 3b 20 74 68 65 6e 0a |/README'|`; then.|
|00004f90| 20 20 20 20 65 63 68 6f | 20 73 68 61 72 3a 20 5c | echo| shar: \|
|00004fa0| 22 27 66 6c 65 78 2f 52 | 45 41 44 4d 45 27 5c 22 |"'flex/R|EADME'\"|
|00004fb0| 20 75 6e 70 61 63 6b 65 | 64 20 77 69 74 68 20 77 | unpacke|d with w|
|00004fc0| 72 6f 6e 67 20 73 69 7a | 65 21 0a 66 69 0a 23 20 |rong siz|e!.fi.# |
|00004fd0| 65 6e 64 20 6f 66 20 27 | 66 6c 65 78 2f 52 45 41 |end of '|flex/REA|
|00004fe0| 44 4d 45 27 0a 66 69 0a | 69 66 20 74 65 73 74 20 |DME'.fi.|if test |
|00004ff0| 2d 66 20 27 66 6c 65 78 | 2f 63 63 6c 2e 63 27 20 |-f 'flex|/ccl.c' |
|00005000| 2d 61 20 22 24 7b 31 7d | 22 20 21 3d 20 22 2d 63 |-a "${1}|" != "-c|
|00005010| 22 20 3b 20 74 68 65 6e | 20 0a 20 20 65 63 68 6f |" ; then| . echo|
|00005020| 20 73 68 61 72 3a 20 57 | 69 6c 6c 20 6e 6f 74 20 | shar: W|ill not |
|00005030| 63 6c 6f 62 62 65 72 20 | 65 78 69 73 74 69 6e 67 |clobber |existing|
|00005040| 20 66 69 6c 65 20 5c 22 | 27 66 6c 65 78 2f 63 63 | file \"|'flex/cc|
|00005050| 6c 2e 63 27 5c 22 0a 65 | 6c 73 65 0a 65 63 68 6f |l.c'\".e|lse.echo|
|00005060| 20 73 68 61 72 3a 20 45 | 78 74 72 61 63 74 69 6e | shar: E|xtractin|
|00005070| 67 20 5c 22 27 66 6c 65 | 78 2f 63 63 6c 2e 63 27 |g \"'fle|x/ccl.c'|
|00005080| 5c 22 20 5c 28 34 30 36 | 37 20 63 68 61 72 61 63 |\" \(406|7 charac|
|00005090| 74 65 72 73 5c 29 0a 73 | 65 64 20 22 73 2f 5e 58 |ters\).s|ed "s/^X|
|000050a0| 2f 2f 22 20 3e 27 66 6c | 65 78 2f 63 63 6c 2e 63 |//" >'fl|ex/ccl.c|
|000050b0| 27 20 3c 3c 27 45 4e 44 | 5f 4f 46 5f 46 49 4c 45 |' <<'END|_OF_FILE|
|000050c0| 27 0a 58 2f 2a 20 63 63 | 6c 20 2d 20 72 6f 75 74 |'.X/* cc|l - rout|
|000050d0| 69 6e 65 73 20 66 6f 72 | 20 63 68 61 72 61 63 74 |ines for| charact|
|000050e0| 65 72 20 63 6c 61 73 73 | 65 73 20 2a 2f 0a 58 0a |er class|es */.X.|
|000050f0| 58 2f 2a 0a 58 20 2a 20 | 43 6f 70 79 72 69 67 68 |X/*.X * |Copyrigh|
|00005100| 74 20 28 63 29 20 31 39 | 38 39 20 54 68 65 20 52 |t (c) 19|89 The R|
|00005110| 65 67 65 6e 74 73 20 6f | 66 20 74 68 65 20 55 6e |egents o|f the Un|
|00005120| 69 76 65 72 73 69 74 79 | 20 6f 66 20 43 61 6c 69 |iversity| of Cali|
|00005130| 66 6f 72 6e 69 61 2e 0a | 58 20 2a 20 41 6c 6c 20 |fornia..|X * All |
|00005140| 72 69 67 68 74 73 20 72 | 65 73 65 72 76 65 64 2e |rights r|eserved.|
|00005150| 0a 58 20 2a 0a 58 20 2a | 20 54 68 69 73 20 63 6f |.X *.X *| This co|
|00005160| 64 65 20 69 73 20 64 65 | 72 69 76 65 64 20 66 72 |de is de|rived fr|
|00005170| 6f 6d 20 73 6f 66 74 77 | 61 72 65 20 63 6f 6e 74 |om softw|are cont|
|00005180| 72 69 62 75 74 65 64 20 | 74 6f 20 42 65 72 6b 65 |ributed |to Berke|
|00005190| 6c 65 79 20 62 79 0a 58 | 20 2a 20 56 65 72 6e 20 |ley by.X| * Vern |
|000051a0| 50 61 78 73 6f 6e 2e 0a | 58 20 2a 20 0a 58 20 2a |Paxson..|X * .X *|
|000051b0| 20 54 68 65 20 55 6e 69 | 74 65 64 20 53 74 61 74 | The Uni|ted Stat|
|000051c0| 65 73 20 47 6f 76 65 72 | 6e 6d 65 6e 74 20 68 61 |es Gover|nment ha|
|000051d0| 73 20 72 69 67 68 74 73 | 20 69 6e 20 74 68 69 73 |s rights| in this|
|000051e0| 20 77 6f 72 6b 20 70 75 | 72 73 75 61 6e 74 20 74 | work pu|rsuant t|
|000051f0| 6f 0a 58 20 2a 20 63 6f | 6e 74 72 61 63 74 20 6e |o.X * co|ntract n|
|00005200| 6f 2e 20 44 45 2d 41 43 | 30 33 2d 37 36 53 46 30 |o. DE-AC|03-76SF0|
|00005210| 30 30 39 38 20 62 65 74 | 77 65 65 6e 20 74 68 65 |0098 bet|ween the|
|00005220| 20 55 6e 69 74 65 64 20 | 53 74 61 74 65 73 20 44 | United |States D|
|00005230| 65 70 61 72 74 6d 65 6e | 74 20 6f 66 0a 58 20 2a |epartmen|t of.X *|
|00005240| 20 45 6e 65 72 67 79 20 | 61 6e 64 20 74 68 65 20 | Energy |and the |
|00005250| 55 6e 69 76 65 72 73 69 | 74 79 20 6f 66 20 43 61 |Universi|ty of Ca|
|00005260| 6c 69 66 6f 72 6e 69 61 | 2e 0a 58 20 2a 0a 58 20 |lifornia|..X *.X |
|00005270| 2a 20 52 65 64 69 73 74 | 72 69 62 75 74 69 6f 6e |* Redist|ribution|
|00005280| 20 61 6e 64 20 75 73 65 | 20 69 6e 20 73 6f 75 72 | and use| in sour|
|00005290| 63 65 20 61 6e 64 20 62 | 69 6e 61 72 79 20 66 6f |ce and b|inary fo|
|000052a0| 72 6d 73 20 61 72 65 20 | 70 65 72 6d 69 74 74 65 |rms are |permitte|
|000052b0| 64 0a 58 20 2a 20 70 72 | 6f 76 69 64 65 64 20 74 |d.X * pr|ovided t|
|000052c0| 68 61 74 20 74 68 65 20 | 61 62 6f 76 65 20 63 6f |hat the |above co|
|000052d0| 70 79 72 69 67 68 74 20 | 6e 6f 74 69 63 65 20 61 |pyright |notice a|
|000052e0| 6e 64 20 74 68 69 73 20 | 70 61 72 61 67 72 61 70 |nd this |paragrap|
|000052f0| 68 20 61 72 65 0a 58 20 | 2a 20 64 75 70 6c 69 63 |h are.X |* duplic|
|00005300| 61 74 65 64 20 69 6e 20 | 61 6c 6c 20 73 75 63 68 |ated in |all such|
|00005310| 20 66 6f 72 6d 73 20 61 | 6e 64 20 74 68 61 74 20 | forms a|nd that |
|00005320| 61 6e 79 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |any docu|mentatio|
|00005330| 6e 2c 0a 58 20 2a 20 61 | 64 76 65 72 74 69 73 69 |n,.X * a|dvertisi|
|00005340| 6e 67 20 6d 61 74 65 72 | 69 61 6c 73 2c 20 61 6e |ng mater|ials, an|
|00005350| 64 20 6f 74 68 65 72 20 | 6d 61 74 65 72 69 61 6c |d other |material|
|00005360| 73 20 72 65 6c 61 74 65 | 64 20 74 6f 20 73 75 63 |s relate|d to suc|
|00005370| 68 0a 58 20 2a 20 64 69 | 73 74 72 69 62 75 74 69 |h.X * di|stributi|
|00005380| 6f 6e 20 61 6e 64 20 75 | 73 65 20 61 63 6b 6e 6f |on and u|se ackno|
|00005390| 77 6c 65 64 67 65 20 74 | 68 61 74 20 74 68 65 20 |wledge t|hat the |
|000053a0| 73 6f 66 74 77 61 72 65 | 20 77 61 73 20 64 65 76 |software| was dev|
|000053b0| 65 6c 6f 70 65 64 0a 58 | 20 2a 20 62 79 20 74 68 |eloped.X| * by th|
|000053c0| 65 20 55 6e 69 76 65 72 | 73 69 74 79 20 6f 66 20 |e Univer|sity of |
|000053d0| 43 61 6c 69 66 6f 72 6e | 69 61 2c 20 42 65 72 6b |Californ|ia, Berk|
|000053e0| 65 6c 65 79 2e 20 20 54 | 68 65 20 6e 61 6d 65 20 |eley. T|he name |
|000053f0| 6f 66 20 74 68 65 0a 58 | 20 2a 20 55 6e 69 76 65 |of the.X| * Unive|
|00005400| 72 73 69 74 79 20 6d 61 | 79 20 6e 6f 74 20 62 65 |rsity ma|y not be|
|00005410| 20 75 73 65 64 20 74 6f | 20 65 6e 64 6f 72 73 65 | used to| endorse|
|00005420| 20 6f 72 20 70 72 6f 6d | 6f 74 65 20 70 72 6f 64 | or prom|ote prod|
|00005430| 75 63 74 73 20 64 65 72 | 69 76 65 64 0a 58 20 2a |ucts der|ived.X *|
|00005440| 20 66 72 6f 6d 20 74 68 | 69 73 20 73 6f 66 74 77 | from th|is softw|
|00005450| 61 72 65 20 77 69 74 68 | 6f 75 74 20 73 70 65 63 |are with|out spec|
|00005460| 69 66 69 63 20 70 72 69 | 6f 72 20 77 72 69 74 74 |ific pri|or writt|
|00005470| 65 6e 20 70 65 72 6d 69 | 73 73 69 6f 6e 2e 0a 58 |en permi|ssion..X|
|00005480| 20 2a 20 54 48 49 53 20 | 53 4f 46 54 57 41 52 45 | * THIS |SOFTWARE|
|00005490| 20 49 53 20 50 52 4f 56 | 49 44 45 44 20 60 60 41 | IS PROV|IDED ``A|
|000054a0| 53 20 49 53 27 27 20 41 | 4e 44 20 57 49 54 48 4f |S IS'' A|ND WITHO|
|000054b0| 55 54 20 41 4e 59 20 45 | 58 50 52 45 53 53 20 4f |UT ANY E|XPRESS O|
|000054c0| 52 0a 58 20 2a 20 49 4d | 50 4c 49 45 44 20 57 41 |R.X * IM|PLIED WA|
|000054d0| 52 52 41 4e 54 49 45 53 | 2c 20 49 4e 43 4c 55 44 |RRANTIES|, INCLUD|
|000054e0| 49 4e 47 2c 20 57 49 54 | 48 4f 55 54 20 4c 49 4d |ING, WIT|HOUT LIM|
|000054f0| 49 54 41 54 49 4f 4e 2c | 20 54 48 45 20 49 4d 50 |ITATION,| THE IMP|
|00005500| 4c 49 45 44 0a 58 20 2a | 20 57 41 52 52 41 4e 54 |LIED.X *| WARRANT|
|00005510| 49 45 53 20 4f 46 20 4d | 45 52 43 48 41 4e 54 41 |IES OF M|ERCHANTA|
|00005520| 42 49 4c 49 54 59 20 41 | 4e 44 20 46 49 54 4e 45 |BILITY A|ND FITNE|
|00005530| 53 53 20 46 4f 52 20 41 | 20 50 41 52 54 49 43 55 |SS FOR A| PARTICU|
|00005540| 4c 41 52 20 50 55 52 50 | 4f 53 45 2e 0a 58 20 2a |LAR PURP|OSE..X *|
|00005550| 2f 0a 58 0a 58 23 69 66 | 6e 64 65 66 20 6c 69 6e |/.X.X#if|ndef lin|
|00005560| 74 0a 58 0a 58 73 74 61 | 74 69 63 20 63 68 61 72 |t.X.Xsta|tic char|
|00005570| 20 63 6f 70 79 72 69 67 | 68 74 5b 5d 20 3d 0a 58 | copyrig|ht[] =.X|
|00005580| 20 20 20 20 22 40 28 23 | 29 20 43 6f 70 79 72 69 | "@(#|) Copyri|
|00005590| 67 68 74 20 28 63 29 20 | 31 39 38 39 20 54 68 65 |ght (c) |1989 The|
|000055a0| 20 52 65 67 65 6e 74 73 | 20 6f 66 20 74 68 65 20 | Regents| of the |
|000055b0| 55 6e 69 76 65 72 73 69 | 74 79 20 6f 66 20 43 61 |Universi|ty of Ca|
|000055c0| 6c 69 66 6f 72 6e 69 61 | 2e 5c 6e 22 3b 0a 58 73 |lifornia|.\n";.Xs|
|000055d0| 74 61 74 69 63 20 63 68 | 61 72 20 43 52 5f 63 6f |tatic ch|ar CR_co|
|000055e0| 6e 74 69 6e 75 61 74 69 | 6f 6e 5b 5d 20 3d 20 22 |ntinuati|on[] = "|
|000055f0| 40 28 23 29 20 41 6c 6c | 20 72 69 67 68 74 73 20 |@(#) All| rights |
|00005600| 72 65 73 65 72 76 65 64 | 2e 5c 6e 22 3b 0a 58 0a |reserved|.\n";.X.|
|00005610| 58 73 74 61 74 69 63 20 | 63 68 61 72 20 72 63 73 |Xstatic |char rcs|
|00005620| 69 64 5b 5d 20 3d 0a 58 | 20 20 20 20 22 40 28 23 |id[] =.X| "@(#|
|00005630| 29 20 24 48 65 61 64 65 | 72 3a 20 63 63 6c 2e 63 |) $Heade|r: ccl.c|
|00005640| 2c 76 20 32 2e 30 20 38 | 39 2f 30 36 2f 32 30 20 |,v 2.0 8|9/06/20 |
|00005650| 31 35 3a 34 39 3a 30 37 | 20 76 65 72 6e 20 4c 6f |15:49:07| vern Lo|
|00005660| 63 6b 65 64 20 24 20 28 | 4c 42 4c 29 22 3b 0a 58 |cked $ (|LBL)";.X|
|00005670| 0a 58 23 65 6e 64 69 66 | 0a 58 0a 58 23 69 6e 63 |.X#endif|.X.X#inc|
|00005680| 6c 75 64 65 20 22 66 6c | 65 78 64 65 66 2e 68 22 |lude "fl|exdef.h"|
|00005690| 0a 58 0a 58 2f 2a 20 63 | 63 6c 61 64 64 20 2d 20 |.X.X/* c|cladd - |
|000056a0| 61 64 64 20 61 20 73 69 | 6e 67 6c 65 20 63 68 61 |add a si|ngle cha|
|000056b0| 72 61 63 74 65 72 20 74 | 6f 20 61 20 63 63 6c 0a |racter t|o a ccl.|
|000056c0| 58 20 2a 0a 58 20 2a 20 | 73 79 6e 6f 70 73 69 73 |X *.X * |synopsis|
|000056d0| 0a 58 20 2a 20 20 20 20 | 69 6e 74 20 63 63 6c 70 |.X * |int cclp|
|000056e0| 3b 0a 58 20 2a 20 20 20 | 20 63 68 61 72 20 63 68 |;.X * | char ch|
|000056f0| 3b 0a 58 20 2a 20 20 20 | 20 63 63 6c 61 64 64 28 |;.X * | ccladd(|
|00005700| 20 63 63 6c 70 2c 20 63 | 68 20 29 3b 0a 58 20 2a | cclp, c|h );.X *|
|00005710| 2f 0a 58 0a 58 63 63 6c | 61 64 64 28 20 63 63 6c |/.X.Xccl|add( ccl|
|00005720| 70 2c 20 63 68 20 29 0a | 58 69 6e 74 20 63 63 6c |p, ch ).|Xint ccl|
|00005730| 70 3b 0a 58 63 68 61 72 | 20 63 68 3b 0a 58 0a 58 |p;.Xchar| ch;.X.X|
|00005740| 20 20 20 20 7b 0a 58 20 | 20 20 20 69 6e 74 20 69 | {.X | int i|
|00005750| 6e 64 2c 20 6c 65 6e 2c | 20 6e 65 77 70 6f 73 2c |nd, len,| newpos,|
|00005760| 20 69 3b 0a 58 0a 58 20 | 20 20 20 6c 65 6e 20 3d | i;.X.X | len =|
|00005770| 20 63 63 6c 6c 65 6e 5b | 63 63 6c 70 5d 3b 0a 58 | ccllen[|cclp];.X|
|00005780| 20 20 20 20 69 6e 64 20 | 3d 20 63 63 6c 6d 61 70 | ind |= cclmap|
|00005790| 5b 63 63 6c 70 5d 3b 0a | 58 0a 58 20 20 20 20 2f |[cclp];.|X.X /|
|000057a0| 2a 20 63 68 65 63 6b 20 | 74 6f 20 73 65 65 20 69 |* check |to see i|
|000057b0| 66 20 74 68 65 20 63 68 | 61 72 61 63 74 65 72 20 |f the ch|aracter |
|000057c0| 69 73 20 61 6c 72 65 61 | 64 79 20 69 6e 20 74 68 |is alrea|dy in th|
|000057d0| 65 20 63 63 6c 20 2a 2f | 0a 58 0a 58 20 20 20 20 |e ccl */|.X.X |
|000057e0| 66 6f 72 20 28 20 69 20 | 3d 20 30 3b 20 69 20 3c |for ( i |= 0; i <|
|000057f0| 20 6c 65 6e 3b 20 2b 2b | 69 20 29 0a 58 09 69 66 | len; ++|i ).X.if|
|00005800| 20 28 20 63 63 6c 74 62 | 6c 5b 69 6e 64 20 2b 20 | ( ccltb|l[ind + |
|00005810| 69 5d 20 3d 3d 20 63 68 | 20 29 0a 58 09 20 20 20 |i] == ch| ).X. |
|00005820| 20 72 65 74 75 72 6e 3b | 0a 58 0a 58 20 20 20 20 | return;|.X.X |
|00005830| 6e 65 77 70 6f 73 20 3d | 20 69 6e 64 20 2b 20 6c |newpos =| ind + l|
|00005840| 65 6e 3b 0a 58 0a 58 20 | 20 20 20 69 66 20 28 20 |en;.X.X | if ( |
|00005850| 6e 65 77 70 6f 73 20 3e | 3d 20 63 75 72 72 65 6e |newpos >|= curren|
|00005860| 74 5f 6d 61 78 5f 63 63 | 6c 5f 74 62 6c 5f 73 69 |t_max_cc|l_tbl_si|
|00005870| 7a 65 20 29 0a 58 09 7b | 0a 58 09 63 75 72 72 65 |ze ).X.{|.X.curre|
|00005880| 6e 74 5f 6d 61 78 5f 63 | 63 6c 5f 74 62 6c 5f 73 |nt_max_c|cl_tbl_s|
|00005890| 69 7a 65 20 2b 3d 20 4d | 41 58 5f 43 43 4c 5f 54 |ize += M|AX_CCL_T|
|000058a0| 42 4c 5f 53 49 5a 45 5f | 49 4e 43 52 45 4d 45 4e |BL_SIZE_|INCREMEN|
|000058b0| 54 3b 0a 58 0a 58 09 2b | 2b 6e 75 6d 5f 72 65 61 |T;.X.X.+|+num_rea|
|000058c0| 6c 6c 6f 63 73 3b 0a 58 | 0a 58 09 63 63 6c 74 62 |llocs;.X|.X.ccltb|
|000058d0| 6c 20 3d 20 72 65 61 6c | 6c 6f 63 61 74 65 5f 63 |l = real|locate_c|
|000058e0| 68 61 72 61 63 74 65 72 | 5f 61 72 72 61 79 28 20 |haracter|_array( |
|000058f0| 63 63 6c 74 62 6c 2c 20 | 63 75 72 72 65 6e 74 5f |ccltbl, |current_|
|00005900| 6d 61 78 5f 63 63 6c 5f | 74 62 6c 5f 73 69 7a 65 |max_ccl_|tbl_size|
|00005910| 20 29 3b 0a 58 09 7d 0a | 58 0a 58 20 20 20 20 63 | );.X.}.|X.X c|
|00005920| 63 6c 6c 65 6e 5b 63 63 | 6c 70 5d 20 3d 20 6c 65 |cllen[cc|lp] = le|
|00005930| 6e 20 2b 20 31 3b 0a 58 | 20 20 20 20 63 63 6c 74 |n + 1;.X| cclt|
|00005940| 62 6c 5b 6e 65 77 70 6f | 73 5d 20 3d 20 63 68 3b |bl[newpo|s] = ch;|
|00005950| 0a 58 20 20 20 20 7d 0a | 58 0a 58 0a 58 2f 2a 20 |.X }.|X.X.X/* |
|00005960| 63 63 6c 69 6e 69 74 20 | 2d 20 6d 61 6b 65 20 61 |cclinit |- make a|
|00005970| 6e 20 65 6d 70 74 79 20 | 63 63 6c 0a 58 20 2a 0a |n empty |ccl.X *.|
|00005980| 58 20 2a 20 73 79 6e 6f | 70 73 69 73 0a 58 20 2a |X * syno|psis.X *|
|00005990| 20 20 20 20 69 6e 74 20 | 63 63 6c 69 6e 69 74 28 | int |cclinit(|
|000059a0| 29 3b 0a 58 20 2a 20 20 | 20 20 6e 65 77 5f 63 63 |);.X * | new_cc|
|000059b0| 6c 20 3d 20 63 63 6c 69 | 6e 69 74 28 29 3b 0a 58 |l = ccli|nit();.X|
|000059c0| 20 2a 2f 0a 58 0a 58 69 | 6e 74 20 63 63 6c 69 6e | */.X.Xi|nt cclin|
|000059d0| 69 74 28 29 0a 58 0a 58 | 20 20 20 20 7b 0a 58 20 |it().X.X| {.X |
|000059e0| 20 20 20 69 66 20 28 20 | 2b 2b 6c 61 73 74 63 63 | if ( |++lastcc|
|000059f0| 6c 20 3e 3d 20 63 75 72 | 72 65 6e 74 5f 6d 61 78 |l >= cur|rent_max|
|00005a00| 63 63 6c 73 20 29 0a 58 | 09 7b 0a 58 09 63 75 72 |ccls ).X|.{.X.cur|
|00005a10| 72 65 6e 74 5f 6d 61 78 | 63 63 6c 73 20 2b 3d 20 |rent_max|ccls += |
|00005a20| 4d 41 58 5f 43 43 4c 53 | 5f 49 4e 43 52 45 4d 45 |MAX_CCLS|_INCREME|
|00005a30| 4e 54 3b 0a 58 0a 58 09 | 2b 2b 6e 75 6d 5f 72 65 |NT;.X.X.|++num_re|
|00005a40| 61 6c 6c 6f 63 73 3b 0a | 58 0a 58 09 63 63 6c 6d |allocs;.|X.X.cclm|
|00005a50| 61 70 20 3d 20 72 65 61 | 6c 6c 6f 63 61 74 65 5f |ap = rea|llocate_|
|00005a60| 69 6e 74 65 67 65 72 5f | 61 72 72 61 79 28 20 63 |integer_|array( c|
|00005a70| 63 6c 6d 61 70 2c 20 63 | 75 72 72 65 6e 74 5f 6d |clmap, c|urrent_m|
|00005a80| 61 78 63 63 6c 73 20 29 | 3b 0a 58 09 63 63 6c 6c |axccls )|;.X.ccll|
|00005a90| 65 6e 20 3d 20 72 65 61 | 6c 6c 6f 63 61 74 65 5f |en = rea|llocate_|
|00005aa0| 69 6e 74 65 67 65 72 5f | 61 72 72 61 79 28 20 63 |integer_|array( c|
|00005ab0| 63 6c 6c 65 6e 2c 20 63 | 75 72 72 65 6e 74 5f 6d |cllen, c|urrent_m|
|00005ac0| 61 78 63 63 6c 73 20 29 | 3b 0a 58 09 63 63 6c 6e |axccls )|;.X.ccln|
|00005ad0| 67 20 3d 20 72 65 61 6c | 6c 6f 63 61 74 65 5f 69 |g = real|locate_i|
|00005ae0| 6e 74 65 67 65 72 5f 61 | 72 72 61 79 28 20 63 63 |nteger_a|rray( cc|
|00005af0| 6c 6e 67 2c 20 63 75 72 | 72 65 6e 74 5f 6d 61 78 |lng, cur|rent_max|
|00005b00| 63 63 6c 73 20 29 3b 0a | 58 09 7d 0a 58 0a 58 20 |ccls );.|X.}.X.X |
|00005b10| 20 20 20 69 66 20 28 20 | 6c 61 73 74 63 63 6c 20 | if ( |lastccl |
|00005b20| 3d 3d 20 31 20 29 0a 58 | 09 2f 2a 20 77 65 27 72 |== 1 ).X|./* we'r|
|00005b30| 65 20 6d 61 6b 69 6e 67 | 20 74 68 65 20 66 69 72 |e making| the fir|
|00005b40| 73 74 20 63 63 6c 20 2a | 2f 0a 58 09 63 63 6c 6d |st ccl *|/.X.cclm|
|00005b50| 61 70 5b 6c 61 73 74 63 | 63 6c 5d 20 3d 20 30 3b |ap[lastc|cl] = 0;|
|00005b60| 0a 58 0a 58 20 20 20 20 | 65 6c 73 65 0a 58 09 2f |.X.X |else.X./|
|00005b70| 2a 20 74 68 65 20 6e 65 | 77 20 70 6f 69 6e 74 65 |* the ne|w pointe|
|00005b80| 72 20 69 73 20 6a 75 73 | 74 20 70 61 73 74 20 74 |r is jus|t past t|
|00005b90| 68 65 20 65 6e 64 20 6f | 66 20 74 68 65 20 6c 61 |he end o|f the la|
|00005ba0| 73 74 20 63 63 6c 2e 20 | 20 53 69 6e 63 65 0a 58 |st ccl. | Since.X|
|00005bb0| 09 20 2a 20 74 68 65 20 | 63 63 6c 6d 61 70 20 70 |. * the |cclmap p|
|00005bc0| 6f 69 6e 74 73 20 74 6f | 20 74 68 65 20 5c 66 69 |oints to| the \fi|
|00005bd0| 72 73 74 2f 20 63 68 61 | 72 61 63 74 65 72 20 6f |rst/ cha|racter o|
|00005be0| 66 20 61 20 63 63 6c 2c | 20 61 64 64 69 6e 67 20 |f a ccl,| adding |
|00005bf0| 74 68 65 0a 58 09 20 2a | 20 6c 65 6e 67 74 68 20 |the.X. *| length |
|00005c00| 6f 66 20 74 68 65 20 63 | 63 6c 20 74 6f 20 74 68 |of the c|cl to th|
|00005c10| 65 20 63 63 6c 6d 61 70 | 20 70 6f 69 6e 74 65 72 |e cclmap| pointer|
|00005c20| 20 77 69 6c 6c 20 70 72 | 6f 64 75 63 65 20 61 20 | will pr|oduce a |
|00005c30| 63 75 72 73 6f 72 0a 58 | 09 20 2a 20 74 6f 20 74 |cursor.X|. * to t|
|00005c40| 68 65 20 66 69 72 73 74 | 20 66 72 65 65 20 73 70 |he first| free sp|
|00005c50| 61 63 65 0a 58 09 20 2a | 2f 0a 58 09 63 63 6c 6d |ace.X. *|/.X.cclm|
|00005c60| 61 70 5b 6c 61 73 74 63 | 63 6c 5d 20 3d 20 63 63 |ap[lastc|cl] = cc|
|00005c70| 6c 6d 61 70 5b 6c 61 73 | 74 63 63 6c 20 2d 20 31 |lmap[las|tccl - 1|
|00005c80| 5d 20 2b 20 63 63 6c 6c | 65 6e 5b 6c 61 73 74 63 |] + ccll|en[lastc|
|00005c90| 63 6c 20 2d 20 31 5d 3b | 0a 58 0a 58 20 20 20 20 |cl - 1];|.X.X |
|00005ca0| 63 63 6c 6c 65 6e 5b 6c | 61 73 74 63 63 6c 5d 20 |ccllen[l|astccl] |
|00005cb0| 3d 20 30 3b 0a 58 20 20 | 20 20 63 63 6c 6e 67 5b |= 0;.X | cclng[|
|00005cc0| 6c 61 73 74 63 63 6c 5d | 20 3d 20 30 3b 09 2f 2a |lastccl]| = 0;./*|
|00005cd0| 20 63 63 6c 27 73 20 73 | 74 61 72 74 20 6f 75 74 | ccl's s|tart out|
|00005ce0| 20 6c 69 66 65 20 75 6e | 2d 6e 65 67 61 74 65 64 | life un|-negated|
|00005cf0| 20 2a 2f 0a 58 0a 58 20 | 20 20 20 72 65 74 75 72 | */.X.X | retur|
|00005d00| 6e 20 28 20 6c 61 73 74 | 63 63 6c 20 29 3b 0a 58 |n ( last|ccl );.X|
|00005d10| 20 20 20 20 7d 0a 58 0a | 58 0a 58 2f 2a 20 63 63 | }.X.|X.X/* cc|
|00005d20| 6c 6e 65 67 61 74 65 20 | 2d 20 6e 65 67 61 74 65 |lnegate |- negate|
|00005d30| 20 61 20 63 63 6c 0a 58 | 20 2a 0a 58 20 2a 20 73 | a ccl.X| *.X * s|
|00005d40| 79 6e 6f 70 73 69 73 0a | 58 20 2a 20 20 20 20 69 |ynopsis.|X * i|
|00005d50| 6e 74 20 63 63 6c 70 3b | 0a 58 20 2a 20 20 20 20 |nt cclp;|.X * |
|00005d60| 63 63 6c 6e 65 67 61 74 | 65 28 20 63 63 6c 20 29 |cclnegat|e( ccl )|
|00005d70| 3b 0a 58 20 2a 2f 0a 58 | 0a 58 63 63 6c 6e 65 67 |;.X */.X|.Xcclneg|
|00005d80| 61 74 65 28 20 63 63 6c | 70 20 29 0a 58 69 6e 74 |ate( ccl|p ).Xint|
|00005d90| 20 63 63 6c 70 3b 0a 58 | 0a 58 20 20 20 20 7b 0a | cclp;.X|.X {.|
|00005da0| 58 20 20 20 20 63 63 6c | 6e 67 5b 63 63 6c 70 5d |X ccl|ng[cclp]|
|00005db0| 20 3d 20 31 3b 0a 58 20 | 20 20 20 7d 0a 58 0a 58 | = 1;.X | }.X.X|
|00005dc0| 0a 58 2f 2a 20 6c 69 73 | 74 5f 63 68 61 72 61 63 |.X/* lis|t_charac|
|00005dd0| 74 65 72 5f 73 65 74 20 | 2d 20 6c 69 73 74 20 74 |ter_set |- list t|
|00005de0| 68 65 20 6d 65 6d 62 65 | 72 73 20 6f 66 20 61 20 |he membe|rs of a |
|00005df0| 73 65 74 20 6f 66 20 63 | 68 61 72 61 63 74 65 72 |set of c|haracter|
|00005e00| 73 20 69 6e 20 43 43 4c | 20 66 6f 72 6d 0a 58 20 |s in CCL| form.X |
|00005e10| 2a 0a 58 20 2a 20 73 79 | 6e 6f 70 73 69 73 0a 58 |*.X * sy|nopsis.X|
|00005e20| 20 2a 20 20 20 20 20 69 | 6e 74 20 63 73 65 74 5b | * i|nt cset[|
|00005e30| 43 53 49 5a 45 20 2b 20 | 31 5d 3b 0a 58 20 2a 20 |CSIZE + |1];.X * |
|00005e40| 20 20 20 20 46 49 4c 45 | 20 2a 66 69 6c 65 3b 0a | FILE| *file;.|
|00005e50| 58 20 2a 20 20 20 20 20 | 6c 69 73 74 5f 63 68 61 |X * |list_cha|
|00005e60| 72 61 63 74 65 72 5f 73 | 65 74 28 20 63 73 65 74 |racter_s|et( cset|
|00005e70| 20 29 3b 0a 58 20 2a 0a | 58 20 2a 20 77 72 69 74 | );.X *.|X * writ|
|00005e80| 65 73 20 74 6f 20 74 68 | 65 20 67 69 76 65 6e 20 |es to th|e given |
|00005e90| 66 69 6c 65 20 61 20 63 | 68 61 72 61 63 74 65 72 |file a c|haracter|
|00005ea0| 2d 63 6c 61 73 73 20 72 | 65 70 72 65 73 65 6e 74 |-class r|epresent|
|00005eb0| 61 74 69 6f 6e 20 6f 66 | 20 74 68 6f 73 65 0a 58 |ation of| those.X|
|00005ec0| 20 2a 20 63 68 61 72 61 | 63 74 65 72 73 20 70 72 | * chara|cters pr|
|00005ed0| 65 73 65 6e 74 20 69 6e | 20 74 68 65 20 67 69 76 |esent in| the giv|
|00005ee0| 65 6e 20 73 65 74 2e 20 | 20 41 20 63 68 61 72 61 |en set. | A chara|
|00005ef0| 63 74 65 72 20 69 73 20 | 70 72 65 73 65 6e 74 20 |cter is |present |
|00005f00| 69 66 20 69 74 0a 58 20 | 2a 20 68 61 73 20 61 20 |if it.X |* has a |
|00005f10| 6e 6f 6e 2d 7a 65 72 6f | 20 76 61 6c 75 65 20 69 |non-zero| value i|
|00005f20| 6e 20 74 68 65 20 73 65 | 74 20 61 72 72 61 79 2e |n the se|t array.|
|00005f30| 0a 58 20 2a 2f 0a 58 0a | 58 6c 69 73 74 5f 63 68 |.X */.X.|Xlist_ch|
|00005f40| 61 72 61 63 74 65 72 5f | 73 65 74 28 20 66 69 6c |aracter_|set( fil|
|00005f50| 65 2c 20 63 73 65 74 20 | 29 0a 58 46 49 4c 45 20 |e, cset |).XFILE |
|00005f60| 2a 66 69 6c 65 3b 0a 58 | 69 6e 74 20 63 73 65 74 |*file;.X|int cset|
|00005f70| 5b 5d 3b 0a 58 0a 58 20 | 20 20 20 7b 0a 58 20 20 |[];.X.X | {.X |
|00005f80| 20 20 72 65 67 69 73 74 | 65 72 20 69 6e 74 20 69 | regist|er int i|
|00005f90| 3b 0a 58 20 20 20 20 63 | 68 61 72 20 2a 72 65 61 |;.X c|har *rea|
|00005fa0| 64 61 62 6c 65 5f 66 6f | 72 6d 28 29 3b 0a 58 0a |dable_fo|rm();.X.|
|00005fb0| 58 20 20 20 20 70 75 74 | 63 28 20 27 5b 27 2c 20 |X put|c( '[', |
|00005fc0| 66 69 6c 65 20 29 3b 0a | 58 0a 58 20 20 20 20 66 |file );.|X.X f|
|00005fd0| 6f 72 20 28 20 69 20 3d | 20 31 3b 20 69 20 3c 3d |or ( i =| 1; i <=|
|00005fe0| 20 43 53 49 5a 45 3b 20 | 2b 2b 69 20 29 0a 58 09 | CSIZE; |++i ).X.|
|00005ff0| 7b 0a 58 09 69 66 20 28 | 20 63 73 65 74 5b 69 5d |{.X.if (| cset[i]|
|00006000| 20 29 0a 58 09 20 20 20 | 20 7b 0a 58 09 20 20 20 | ).X. | {.X. |
|00006010| 20 72 65 67 69 73 74 65 | 72 20 69 6e 74 20 73 74 | registe|r int st|
|00006020| 61 72 74 5f 63 68 61 72 | 20 3d 20 69 3b 0a 58 0a |art_char| = i;.X.|
|00006030| 58 09 20 20 20 20 70 75 | 74 63 28 20 27 20 27 2c |X. pu|tc( ' ',|
|00006040| 20 66 69 6c 65 20 29 3b | 0a 58 0a 58 09 20 20 20 | file );|.X.X. |
|00006050| 20 66 70 75 74 73 28 20 | 72 65 61 64 61 62 6c 65 | fputs( |readable|
|00006060| 5f 66 6f 72 6d 28 20 69 | 20 29 2c 20 66 69 6c 65 |_form( i| ), file|
|00006070| 20 29 3b 0a 58 0a 58 09 | 20 20 20 20 77 68 69 6c | );.X.X.| whil|
|00006080| 65 20 28 20 2b 2b 69 20 | 3c 3d 20 43 53 49 5a 45 |e ( ++i |<= CSIZE|
|00006090| 20 26 26 20 63 73 65 74 | 5b 69 5d 20 29 0a 58 09 | && cset|[i] ).X.|
|000060a0| 09 3b 0a 58 0a 58 09 20 | 20 20 20 69 66 20 28 20 |.;.X.X. | if ( |
|000060b0| 69 20 2d 20 31 20 3e 20 | 73 74 61 72 74 5f 63 68 |i - 1 > |start_ch|
|000060c0| 61 72 20 29 0a 58 09 09 | 2f 2a 20 74 68 69 73 20 |ar ).X..|/* this |
|000060d0| 77 61 73 20 61 20 72 75 | 6e 20 2a 2f 0a 58 09 09 |was a ru|n */.X..|
|000060e0| 66 70 72 69 6e 74 66 28 | 20 66 69 6c 65 2c 20 22 |fprintf(| file, "|
|000060f0| 2d 25 73 22 2c 20 72 65 | 61 64 61 62 6c 65 5f 66 |-%s", re|adable_f|
|00006100| 6f 72 6d 28 20 69 20 2d | 20 31 20 29 20 29 3b 0a |orm( i -| 1 ) );.|
|00006110| 58 0a 58 09 20 20 20 20 | 70 75 74 63 28 20 27 20 |X.X. |putc( ' |
|00006120| 27 2c 20 66 69 6c 65 20 | 29 3b 0a 58 09 20 20 20 |', file |);.X. |
|00006130| 20 7d 0a 58 09 7d 0a 58 | 0a 58 20 20 20 20 70 75 | }.X.}.X|.X pu|
|00006140| 74 63 28 20 27 5d 27 2c | 20 66 69 6c 65 20 29 3b |tc( ']',| file );|
|00006150| 0a 58 20 20 20 20 7d 0a | 45 4e 44 5f 4f 46 5f 46 |.X }.|END_OF_F|
|00006160| 49 4c 45 0a 69 66 20 74 | 65 73 74 20 34 30 36 37 |ILE.if t|est 4067|
|00006170| 20 2d 6e 65 20 60 77 63 | 20 2d 63 20 3c 27 66 6c | -ne `wc| -c <'fl|
|00006180| 65 78 2f 63 63 6c 2e 63 | 27 60 3b 20 74 68 65 6e |ex/ccl.c|'`; then|
|00006190| 0a 20 20 20 20 65 63 68 | 6f 20 73 68 61 72 3a 20 |. ech|o shar: |
|000061a0| 5c 22 27 66 6c 65 78 2f | 63 63 6c 2e 63 27 5c 22 |\"'flex/|ccl.c'\"|
|000061b0| 20 75 6e 70 61 63 6b 65 | 64 20 77 69 74 68 20 77 | unpacke|d with w|
|000061c0| 72 6f 6e 67 20 73 69 7a | 65 21 0a 66 69 0a 23 20 |rong siz|e!.fi.# |
|000061d0| 65 6e 64 20 6f 66 20 27 | 66 6c 65 78 2f 63 63 6c |end of '|flex/ccl|
|000061e0| 2e 63 27 0a 66 69 0a 69 | 66 20 74 65 73 74 20 2d |.c'.fi.i|f test -|
|000061f0| 66 20 27 66 6c 65 78 2f | 65 63 73 2e 63 27 20 2d |f 'flex/|ecs.c' -|
|00006200| 61 20 22 24 7b 31 7d 22 | 20 21 3d 20 22 2d 63 22 |a "${1}"| != "-c"|
|00006210| 20 3b 20 74 68 65 6e 20 | 0a 20 20 65 63 68 6f 20 | ; then |. echo |
|00006220| 73 68 61 72 3a 20 57 69 | 6c 6c 20 6e 6f 74 20 63 |shar: Wi|ll not c|
|00006230| 6c 6f 62 62 65 72 20 65 | 78 69 73 74 69 6e 67 20 |lobber e|xisting |
|00006240| 66 69 6c 65 20 5c 22 27 | 66 6c 65 78 2f 65 63 73 |file \"'|flex/ecs|
|00006250| 2e 63 27 5c 22 0a 65 6c | 73 65 0a 65 63 68 6f 20 |.c'\".el|se.echo |
|00006260| 73 68 61 72 3a 20 45 78 | 74 72 61 63 74 69 6e 67 |shar: Ex|tracting|
|00006270| 20 5c 22 27 66 6c 65 78 | 2f 65 63 73 2e 63 27 5c | \"'flex|/ecs.c'\|
|00006280| 22 20 5c 28 35 35 34 38 | 20 63 68 61 72 61 63 74 |" \(5548| charact|
|00006290| 65 72 73 5c 29 0a 73 65 | 64 20 22 73 2f 5e 58 2f |ers\).se|d "s/^X/|
|000062a0| 2f 22 20 3e 27 66 6c 65 | 78 2f 65 63 73 2e 63 27 |/" >'fle|x/ecs.c'|
|000062b0| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 46 49 4c 45 27 | <<'END_|OF_FILE'|
|000062c0| 0a 58 2f 2a 20 65 63 73 | 20 2d 20 65 71 75 69 76 |.X/* ecs| - equiv|
|000062d0| 61 6c 65 6e 63 65 20 63 | 6c 61 73 73 20 72 6f 75 |alence c|lass rou|
|000062e0| 74 69 6e 65 73 20 2a 2f | 0a 58 0a 58 2f 2a 0a 58 |tines */|.X.X/*.X|
|000062f0| 20 2a 20 43 6f 70 79 72 | 69 67 68 74 20 28 63 29 | * Copyr|ight (c)|
|00006300| 20 31 39 38 39 20 54 68 | 65 20 52 65 67 65 6e 74 | 1989 Th|e Regent|
|00006310| 73 20 6f 66 20 74 68 65 | 20 55 6e 69 76 65 72 73 |s of the| Univers|
|00006320| 69 74 79 20 6f 66 20 43 | 61 6c 69 66 6f 72 6e 69 |ity of C|aliforni|
|00006330| 61 2e 0a 58 20 2a 20 41 | 6c 6c 20 72 69 67 68 74 |a..X * A|ll right|
|00006340| 73 20 72 65 73 65 72 76 | 65 64 2e 0a 58 20 2a 0a |s reserv|ed..X *.|
|00006350| 58 20 2a 20 54 68 69 73 | 20 63 6f 64 65 20 69 73 |X * This| code is|
|00006360| 20 64 65 72 69 76 65 64 | 20 66 72 6f 6d 20 73 6f | derived| from so|
|00006370| 66 74 77 61 72 65 20 63 | 6f 6e 74 72 69 62 75 74 |ftware c|ontribut|
|00006380| 65 64 20 74 6f 20 42 65 | 72 6b 65 6c 65 79 20 62 |ed to Be|rkeley b|
|00006390| 79 0a 58 20 2a 20 56 65 | 72 6e 20 50 61 78 73 6f |y.X * Ve|rn Paxso|
|000063a0| 6e 2e 0a 58 20 2a 20 0a | 58 20 2a 20 54 68 65 20 |n..X * .|X * The |
|000063b0| 55 6e 69 74 65 64 20 53 | 74 61 74 65 73 20 47 6f |United S|tates Go|
|000063c0| 76 65 72 6e 6d 65 6e 74 | 20 68 61 73 20 72 69 67 |vernment| has rig|
|000063d0| 68 74 73 20 69 6e 20 74 | 68 69 73 20 77 6f 72 6b |hts in t|his work|
|000063e0| 20 70 75 72 73 75 61 6e | 74 20 74 6f 0a 58 20 2a | pursuan|t to.X *|
|000063f0| 20 63 6f 6e 74 72 61 63 | 74 20 6e 6f 2e 20 44 45 | contrac|t no. DE|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.