home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / D / FLEX / FLEX-2.4 / FLEX-2
Tape Archive  |  1994-08-03  |  1.0 MB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Tape Archive (archive/tar).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Tape Archive (archive/tar) magic Supported
100% file tar archive default
99% file tar archive (V7), file flex-2.4.7/, mode 755 , uid 2000 , gid 0 , size 0 , seconds 5617767327 default
98% file data default
100% siegfried x-fmt/265 Tape Archive Format default
100% lsar Tar default
100% gt2 Kopftext: 'flex-2.4.7/' default (weak)
100% disktype Pre-POSIX tar archive default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 66 6c 65 78 2d 32 2e 34 | 2e 37 2f 00 00 00 00 00 |flex-2.4|.7/.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 20 20 37 | 35 35 20 00 20 20 32 30 |.... 7|55 . 20|
|00000070| 30 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 |00 . | 0 . |
|00000080| 20 20 20 20 20 20 30 20 | 20 35 36 31 37 37 36 37 | 0 | 5617767|
|00000090| 33 32 37 20 20 20 35 34 | 33 32 00 20 00 00 00 00 |327 54|32. ....|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 66 6c 65 78 2d 32 2e 34 | 2e 37 2f 52 45 41 44 4d |flex-2.4|.7/READM|
|00000210| 45 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |E.......|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 20 20 20 34 | 34 34 20 00 20 20 32 30 |.... 4|44 . 20|
|00000270| 30 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 |00 . | 0 . |
|00000280| 20 20 20 33 37 33 32 20 | 20 35 35 30 31 31 37 30 | 3732 | 5501170|
|00000290| 33 33 30 20 20 20 36 33 | 35 30 00 20 00 00 00 00 |330 63|50. ....|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 54 68 69 73 20 69 73 20 | 72 65 6c 65 61 73 65 20 |This is |release |
|00000410| 32 2e 34 20 6f 66 20 66 | 6c 65 78 2e 20 20 53 65 |2.4 of f|lex. Se|
|00000420| 65 20 22 76 65 72 73 69 | 6f 6e 2e 68 22 20 66 6f |e "versi|on.h" fo|
|00000430| 72 20 74 68 65 20 65 78 | 61 63 74 20 70 61 74 63 |r the ex|act patc|
|00000440| 68 2d 6c 65 76 65 6c 2e | 0a 0a 53 65 65 20 74 68 |h-level.|..See th|
|00000450| 65 20 66 69 6c 65 20 22 | 4e 45 57 53 22 20 74 6f |e file "|NEWS" to|
|00000460| 20 66 69 6e 64 20 6f 75 | 74 20 77 68 61 74 20 69 | find ou|t what i|
|00000470| 73 20 6e 65 77 20 69 6e | 20 74 68 69 73 20 46 6c |s new in| this Fl|
|00000480| 65 78 20 72 65 6c 65 61 | 73 65 2e 0a 0a 52 65 61 |ex relea|se...Rea|
|00000490| 64 20 74 68 65 20 66 69 | 6c 65 20 22 49 4e 53 54 |d the fi|le "INST|
|000004a0| 41 4c 4c 22 20 66 6f 72 | 20 67 65 6e 65 72 61 6c |ALL" for| general|
|000004b0| 20 69 6e 73 74 61 6c 6c | 61 74 69 6f 6e 20 64 69 | install|ation di|
|000004c0| 72 65 63 74 69 76 65 73 | 2e 20 20 50 65 65 6b 20 |rectives|. Peek |
|000004d0| 6e 65 61 72 0a 74 68 65 | 20 62 65 67 69 6e 6e 69 |near.the| beginni|
|000004e0| 6e 67 20 6f 66 20 74 68 | 65 20 66 69 6c 65 20 22 |ng of th|e file "|
|000004f0| 4d 61 6b 65 66 69 6c 65 | 2e 69 6e 22 20 66 6f 72 |Makefile|.in" for|
|00000500| 20 73 70 65 63 69 61 6c | 20 44 45 46 53 20 76 61 | special| DEFS va|
|00000510| 6c 75 65 73 2e 20 20 4f | 6e 20 6d 6f 73 74 0a 73 |lues. O|n most.s|
|00000520| 79 73 74 65 6d 73 2c 20 | 79 6f 75 20 63 61 6e 20 |ystems, |you can |
|00000530| 6a 75 73 74 20 72 75 6e | 20 74 68 65 20 22 63 6f |just run| the "co|
|00000540| 6e 66 69 67 75 72 65 22 | 20 73 63 72 69 70 74 20 |nfigure"| script |
|00000550| 61 6e 64 20 74 79 70 65 | 20 22 6d 61 6b 65 22 20 |and type| "make" |
|00000560| 74 6f 20 62 75 69 6c 64 | 0a 66 6c 65 78 3b 20 74 |to build|.flex; t|
|00000570| 68 65 6e 20 22 6d 61 6b | 65 20 63 68 65 63 6b 22 |hen "mak|e check"|
|00000580| 20 74 6f 20 74 65 73 74 | 20 77 68 65 74 68 65 72 | to test| whether|
|00000590| 20 69 74 20 62 75 69 6c | 74 20 63 6f 72 72 65 63 | it buil|t correc|
|000005a0| 74 6c 79 3b 20 61 6e 64 | 20 69 66 20 69 74 20 64 |tly; and| if it d|
|000005b0| 69 64 2c 0a 74 68 65 6e | 20 22 6d 61 6b 65 20 69 |id,.then| "make i|
|000005c0| 6e 73 74 61 6c 6c 22 20 | 74 6f 20 69 6e 73 74 61 |nstall" |to insta|
|000005d0| 6c 6c 20 69 74 2e 0a 0a | 49 66 20 79 6f 75 27 72 |ll it...|If you'r|
|000005e0| 65 20 66 65 65 6c 69 6e | 67 20 61 64 76 65 6e 74 |e feelin|g advent|
|000005f0| 75 72 6f 75 73 2c 20 79 | 6f 75 20 63 61 6e 20 61 |urous, y|ou can a|
|00000600| 6c 73 6f 20 69 73 73 75 | 65 20 22 6d 61 6b 65 20 |lso issu|e "make |
|00000610| 62 69 67 63 68 65 63 6b | 22 20 28 62 65 0a 70 72 |bigcheck|" (be.pr|
|00000620| 65 70 61 72 65 64 20 74 | 6f 20 77 61 69 74 20 61 |epared t|o wait a|
|00000630| 20 77 68 69 6c 65 29 2e | 0a 0a 4e 6f 74 65 20 74 | while).|..Note t|
|00000640| 68 61 74 20 66 6c 65 78 | 20 69 73 20 64 69 73 74 |hat flex| is dist|
|00000650| 72 69 62 75 74 65 64 20 | 75 6e 64 65 72 20 61 20 |ributed |under a |
|00000660| 63 6f 70 79 72 69 67 68 | 74 20 76 65 72 79 20 73 |copyrigh|t very s|
|00000670| 69 6d 69 6c 61 72 20 74 | 6f 20 74 68 61 74 20 6f |imilar t|o that o|
|00000680| 66 0a 42 53 44 20 55 6e | 69 78 2c 20 61 6e 64 20 |f.BSD Un|ix, and |
|00000690| 6e 6f 74 20 75 6e 64 65 | 72 20 74 68 65 20 47 4e |not unde|r the GN|
|000006a0| 55 20 47 65 6e 65 72 61 | 6c 20 50 75 62 6c 69 63 |U Genera|l Public|
|000006b0| 20 4c 69 63 65 6e 73 65 | 20 28 47 50 4c 29 2c 20 | License| (GPL), |
|000006c0| 65 78 63 65 70 74 20 66 | 6f 72 0a 74 68 65 20 22 |except f|or.the "|
|000006d0| 63 6f 6e 66 69 67 75 72 | 65 22 20 73 63 72 69 70 |configur|e" scrip|
|000006e0| 74 2c 20 77 68 69 63 68 | 20 69 73 20 63 6f 76 65 |t, which| is cove|
|000006f0| 72 65 64 20 62 79 20 74 | 68 65 20 47 50 4c 2e 0a |red by t|he GPL..|
|00000700| 0a 4d 61 6e 79 20 74 68 | 61 6e 6b 73 20 74 6f 20 |.Many th|anks to |
|00000710| 74 68 65 20 32 2e 34 20 | 70 72 65 2d 74 65 73 74 |the 2.4 |pre-test|
|00000720| 65 72 73 20 66 6f 72 20 | 66 69 6e 64 69 6e 67 20 |ers for |finding |
|00000730| 61 20 62 75 6e 63 68 20 | 6f 66 20 62 75 67 73 20 |a bunch |of bugs |
|00000740| 61 6e 64 20 68 65 6c 70 | 69 6e 67 0a 69 6e 63 72 |and help|ing.incr|
|00000750| 65 61 73 65 2f 74 65 73 | 74 20 70 6f 72 74 61 62 |ease/tes|t portab|
|00000760| 69 6c 69 74 79 3a 20 46 | 72 61 6e 63 6f 69 73 20 |ility: F|rancois |
|00000770| 50 69 6e 61 72 64 2c 20 | 4e 61 74 68 61 6e 20 5a |Pinard, |Nathan Z|
|00000780| 65 6c 6c 65 2c 20 47 61 | 76 69 6e 20 4e 69 63 6f |elle, Ga|vin Nico|
|00000790| 6c 2c 0a 43 68 72 69 73 | 20 54 68 65 77 61 6c 74 |l,.Chris| Thewalt|
|000007a0| 2c 20 61 6e 64 20 4d 61 | 74 74 68 65 77 20 4a 61 |, and Ma|tthew Ja|
|000007b0| 63 6f 62 2e 0a 0a 50 6c | 65 61 73 65 20 73 65 6e |cob...Pl|ease sen|
|000007c0| 64 20 62 75 67 20 72 65 | 70 6f 72 74 73 20 61 6e |d bug re|ports an|
|000007d0| 64 20 66 65 65 64 62 61 | 63 6b 20 74 6f 3a 0a 0a |d feedba|ck to:..|
|000007e0| 09 56 65 72 6e 20 50 61 | 78 73 6f 6e 0a 09 49 43 |.Vern Pa|xson..IC|
|000007f0| 53 44 2c 20 34 36 41 2f | 31 31 32 33 0a 09 4c 61 |SD, 46A/|1123..La|
|00000800| 77 72 65 6e 63 65 20 42 | 65 72 6b 65 6c 65 79 20 |wrence B|erkeley |
|00000810| 4c 61 62 6f 72 61 74 6f | 72 79 0a 09 31 20 43 79 |Laborato|ry..1 Cy|
|00000820| 63 6c 6f 74 72 6f 6e 20 | 52 64 2e 0a 09 42 65 72 |clotron |Rd...Ber|
|00000830| 6b 65 6c 65 79 2c 20 43 | 41 20 39 34 37 32 30 0a |keley, C|A 94720.|
|00000840| 0a 09 76 65 72 6e 40 65 | 65 2e 6c 62 6c 2e 67 6f |..vern@e|e.lbl.go|
|00000850| 76 0a 0a 0a 54 68 65 20 | 66 6c 65 78 20 64 69 73 |v...The |flex dis|
|00000860| 74 72 69 62 75 74 69 6f | 6e 20 63 6f 6e 73 69 73 |tributio|n consis|
|00000870| 74 73 20 6f 66 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |ts of th|e follow|
|00000880| 69 6e 67 20 66 69 6c 65 | 73 3a 0a 0a 09 52 45 41 |ing file|s:...REA|
|00000890| 44 4d 45 09 09 54 68 69 | 73 20 6d 65 73 73 61 67 |DME..Thi|s messag|
|000008a0| 65 0a 0a 09 4e 45 57 53 | 09 09 44 69 66 66 65 72 |e...NEWS|..Differ|
|000008b0| 65 6e 63 65 73 20 62 65 | 74 77 65 65 6e 20 74 68 |ences be|tween th|
|000008c0| 65 20 76 61 72 69 6f 75 | 73 20 72 65 6c 65 61 73 |e variou|s releas|
|000008d0| 65 73 0a 0a 09 49 4e 53 | 54 41 4c 4c 09 09 47 65 |es...INS|TALL..Ge|
|000008e0| 6e 65 72 61 6c 20 69 6e | 73 74 61 6c 6c 61 74 69 |neral in|stallati|
|000008f0| 6f 6e 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 0a 0a |on infor|mation..|
|00000900| 09 43 4f 50 59 49 4e 47 | 09 09 66 6c 65 78 27 73 |.COPYING|..flex's|
|00000910| 20 63 6f 70 79 72 69 67 | 68 74 0a 0a 09 63 6f 6e | copyrig|ht...con|
|00000920| 66 69 67 75 72 65 2e 69 | 6e 2c 20 63 6f 6e 66 69 |figure.i|n, confi|
|00000930| 67 75 72 65 2c 20 4d 61 | 6b 65 66 69 6c 65 2e 69 |gure, Ma|kefile.i|
|00000940| 6e 2c 20 69 6e 73 74 61 | 6c 6c 2e 73 68 2c 20 6d |n, insta|ll.sh, m|
|00000950| 6b 69 6e 73 74 61 6c 6c | 64 69 72 73 0a 09 09 09 |kinstall|dirs....|
|00000960| 65 6c 65 6d 65 6e 74 73 | 20 6f 66 20 74 68 65 20 |elements| of the |
|00000970| 22 61 75 74 6f 63 6f 6e | 66 22 20 61 75 74 6f 2d |"autocon|f" auto-|
|00000980| 63 6f 6e 66 69 67 75 72 | 61 74 69 6f 6e 20 70 72 |configur|ation pr|
|00000990| 6f 63 65 73 73 0a 0a 09 | 66 6c 65 78 64 65 66 2e |ocess...|flexdef.|
|000009a0| 68 2c 20 70 61 72 73 65 | 2e 79 2c 20 73 63 61 6e |h, parse|.y, scan|
|000009b0| 2e 6c 2c 20 63 63 6c 2e | 63 2c 20 64 66 61 2e 63 |.l, ccl.|c, dfa.c|
|000009c0| 2c 20 65 63 73 2e 63 2c | 20 67 65 6e 2e 63 2c 20 |, ecs.c,| gen.c, |
|000009d0| 6d 61 69 6e 2e 63 2c 0a | 09 6d 69 73 63 2e 63 2c |main.c,.|.misc.c,|
|000009e0| 20 6e 66 61 2e 63 2c 20 | 73 79 6d 2e 63 2c 20 74 | nfa.c, |sym.c, t|
|000009f0| 62 6c 63 6d 70 2e 63 2c | 20 79 79 6c 65 78 2e 63 |blcmp.c,| yylex.c|
|00000a00| 09 20 0a 09 09 09 73 6f | 75 72 63 65 20 66 69 6c |. ....so|urce fil|
|00000a10| 65 73 0a 0a 09 76 65 72 | 73 69 6f 6e 2e 68 09 76 |es...ver|sion.h.v|
|00000a20| 65 72 73 69 6f 6e 20 6f | 66 20 74 68 69 73 20 66 |ersion o|f this f|
|00000a30| 6c 65 78 20 72 65 6c 65 | 61 73 65 0a 0a 09 66 6c |lex rele|ase...fl|
|00000a40| 65 78 2e 73 6b 6c 09 66 | 6c 65 78 20 73 63 61 6e |ex.skl.f|lex scan|
|00000a50| 6e 65 72 20 73 6b 65 6c | 65 74 6f 6e 0a 09 6d 6b |ner skel|eton..mk|
|00000a60| 73 6b 65 6c 2e 73 68 09 | 73 63 72 69 70 74 20 66 |skel.sh.|script f|
|00000a70| 6f 72 20 63 6f 6e 76 65 | 72 74 69 6e 67 20 66 6c |or conve|rting fl|
|00000a80| 65 78 2e 73 6b 6c 20 74 | 6f 20 43 20 73 6f 75 72 |ex.skl t|o C sour|
|00000a90| 63 65 20 66 69 6c 65 20 | 73 6b 65 6c 2e 63 0a 0a |ce file |skel.c..|
|00000aa0| 09 6c 69 62 61 6c 6c 6f | 63 2e 63 0a 09 6c 69 62 |.liballo|c.c..lib|
|00000ab0| 6d 61 69 6e 2e 63 09 66 | 6c 65 78 20 6c 69 62 72 |main.c.f|lex libr|
|00000ac0| 61 72 79 20 28 2d 6c 66 | 6c 29 20 73 6f 75 72 63 |ary (-lf|l) sourc|
|00000ad0| 65 73 0a 09 6c 69 62 79 | 79 77 72 61 70 2e 63 0a |es..liby|ywrap.c.|
|00000ae0| 0a 09 69 6e 69 74 73 63 | 61 6e 2e 63 09 70 72 65 |..initsc|an.c.pre|
|00000af0| 2d 66 6c 65 78 27 64 20 | 76 65 72 73 69 6f 6e 20 |-flex'd |version |
|00000b00| 6f 66 20 73 63 61 6e 2e | 6c 0a 0a 09 46 6c 65 78 |of scan.|l...Flex|
|00000b10| 4c 65 78 65 72 2e 68 09 | 68 65 61 64 65 72 20 66 |Lexer.h.|header f|
|00000b20| 69 6c 65 20 66 6f 72 20 | 43 2b 2b 20 6c 65 78 65 |ile for |C++ lexe|
|00000b30| 72 20 63 6c 61 73 73 0a | 0a 09 66 6c 65 78 64 6f |r class.|..flexdo|
|00000b40| 63 2e 31 09 66 75 6c 6c | 20 75 73 65 72 20 64 6f |c.1.full| user do|
|00000b50| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 0a 09 66 6c 65 |cumentat|ion..fle|
|00000b60| 78 2e 31 09 09 72 65 66 | 65 72 65 6e 63 65 20 64 |x.1..ref|erence d|
|00000b70| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 0a 0a 09 4d |ocumenta|tion...M|
|00000b80| 49 53 43 2f 09 09 61 20 | 64 69 72 65 63 74 6f 72 |ISC/..a |director|
|00000b90| 79 20 63 6f 6e 74 61 69 | 6e 69 6e 67 20 6d 69 73 |y contai|ning mis|
|00000ba0| 63 65 6c 6c 61 6e 65 6f | 75 73 20 63 6f 6e 74 72 |cellaneo|us contr|
|00000bb0| 69 62 75 74 69 6f 6e 73 | 2e 0a 09 09 09 53 65 65 |ibutions|.....See|
|00000bc0| 20 4d 49 53 43 2f 52 45 | 41 44 4d 45 20 66 6f 72 | MISC/RE|ADME for|
|00000bd0| 20 64 65 74 61 69 6c 73 | 2e 0a 2e 34 2e 37 00 36 | details|...4.7.6|
|00000be0| 00 00 06 d8 00 00 b2 fa | 00 20 00 10 66 6c 65 78 |........|. ..flex|
|00000bf0| 2d 32 2e 34 2e 36 2e 64 | 65 76 65 6c 00 10 00 03 |-2.4.6.d|evel....|
|00000c00| 66 6c 65 78 2d 32 2e 34 | 2e 37 2f 4e 45 57 53 00 |flex-2.4|.7/NEWS.|
|00000c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c60| 00 00 00 00 20 20 20 34 | 34 34 20 00 20 20 32 30 |.... 4|44 . 20|
|00000c70| 30 30 20 00 20 20 20 20 | 20 30 20 00 20 20 20 20 |00 . | 0 . |
|00000c80| 20 20 36 34 36 33 34 20 | 20 35 36 31 37 37 36 37 | 64634 | 5617767|
|00000c90| 32 36 37 20 20 20 36 32 | 35 34 00 20 00 00 00 00 |267 62|54. ....|
|00000ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 43 68 61 6e 67 65 73 20 | 62 65 74 77 65 65 6e 20 |Changes |between |
|00000e10| 72 65 6c 65 61 73 65 20 | 32 2e 34 2e 37 20 28 30 |release |2.4.7 (0|
|00000e20| 33 41 75 67 39 34 29 20 | 61 6e 64 20 72 65 6c 65 |3Aug94) |and rele|
|00000e30| 61 73 65 20 32 2e 34 2e | 36 3a 0a 0a 09 2d 20 46 |ase 2.4.|6:...- F|
|00000e40| 69 78 65 64 20 73 65 72 | 69 6f 75 73 20 62 75 67 |ixed ser|ious bug|
|00000e50| 20 69 6e 20 72 65 61 64 | 69 6e 67 20 6d 75 6c 74 | in read|ing mult|
|00000e60| 69 70 6c 65 20 66 69 6c | 65 73 2e 0a 0a 09 2d 20 |iple fil|es....- |
|00000e70| 46 69 78 65 64 20 62 75 | 67 20 69 6e 20 73 63 61 |Fixed bu|g in sca|
|00000e80| 6e 6e 69 6e 67 20 4e 55 | 4c 27 73 2e 0a 0a 09 2d |nning NU|L's....-|
|00000e90| 20 46 69 78 65 64 20 62 | 75 67 20 69 6e 20 69 6e | Fixed b|ug in in|
|00000ea0| 70 75 74 28 29 20 72 65 | 74 75 72 6e 69 6e 67 20 |put() re|turning |
|00000eb0| 38 2d 62 69 74 20 63 68 | 61 72 61 63 74 65 72 73 |8-bit ch|aracters|
|00000ec0| 2e 0a 0a 09 2d 20 46 69 | 78 65 64 20 62 75 67 20 |....- Fi|xed bug |
|00000ed0| 69 6e 20 6d 61 74 63 68 | 69 6e 67 20 74 65 78 74 |in match|ing text|
|00000ee0| 20 77 69 74 68 20 65 6d | 62 65 64 64 65 64 20 4e | with em|bedded N|
|00000ef0| 55 4c 27 73 20 77 68 65 | 6e 0a 09 20 20 75 73 69 |UL's whe|n.. usi|
|00000f00| 6e 67 20 25 61 72 72 61 | 79 20 6f 72 20 6c 65 78 |ng %arra|y or lex|
|00000f10| 20 63 6f 6d 70 61 74 69 | 62 69 6c 69 74 79 2e 0a | compati|bility..|
|00000f20| 0a 09 2d 20 46 69 78 65 | 64 20 6d 75 6c 74 69 70 |..- Fixe|d multip|
|00000f30| 6c 65 20 69 6e 76 6f 63 | 61 74 69 6f 6e 73 20 6f |le invoc|ations o|
|00000f40| 66 20 59 59 5f 55 53 45 | 52 5f 41 43 54 49 4f 4e |f YY_USE|R_ACTION|
|00000f50| 20 77 68 65 6e 20 75 73 | 69 6e 67 20 27 7c 27 0a | when us|ing '|'.|
|00000f60| 09 20 20 63 6f 6e 74 69 | 6e 75 61 74 69 6f 6e 20 |. conti|nuation |
|00000f70| 61 63 74 69 6f 6e 2e 0a | 0a 09 2d 20 4d 69 6e 6f |action..|..- Mino|
|00000f80| 72 20 70 72 6f 74 6f 74 | 79 70 69 6e 67 20 66 69 |r protot|yping fi|
|00000f90| 78 65 73 2e 0a 0a 43 68 | 61 6e 67 65 73 20 62 65 |xes...Ch|anges be|
|00000fa0| 74 77 65 65 6e 20 72 65 | 6c 65 61 73 65 20 32 2e |tween re|lease 2.|
|00000fb0| 34 2e 36 20 28 30 34 4a | 61 6e 39 34 29 20 61 6e |4.6 (04J|an94) an|
|00000fc0| 64 20 72 65 6c 65 61 73 | 65 20 32 2e 34 2e 35 3a |d releas|e 2.4.5:|
|00000fd0| 0a 0a 09 2d 20 4c 69 6e | 6b 69 6e 67 20 77 69 74 |...- Lin|king wit|
|00000fe0| 68 20 2d 6c 66 6c 20 6e | 6f 20 6c 6f 6e 67 65 72 |h -lfl n|o longer|
|00000ff0| 20 72 65 71 75 69 72 65 | 64 20 69 66 20 79 6f 75 | require|d if you|
|00001000| 72 20 70 72 6f 67 72 61 | 6d 20 69 6e 63 6c 75 64 |r progra|m includ|
|00001010| 65 73 0a 09 20 20 69 74 | 73 20 6f 77 6e 20 79 79 |es.. it|s own yy|
|00001020| 77 72 61 70 28 29 20 61 | 6e 64 20 6d 61 69 6e 28 |wrap() a|nd main(|
|00001030| 29 20 66 75 6e 63 74 69 | 6f 6e 73 2e 20 20 28 54 |) functi|ons. (T|
|00001040| 68 69 73 20 63 68 61 6e | 67 65 20 77 69 6c 6c 20 |his chan|ge will |
|00001050| 63 61 75 73 65 0a 09 20 | 20 70 72 6f 62 6c 65 6d |cause.. | problem|
|00001060| 73 20 69 66 20 79 6f 75 | 20 68 61 76 65 20 61 20 |s if you| have a |
|00001070| 6e 6f 6e 2d 41 4e 53 49 | 20 63 6f 6d 70 69 6c 65 |non-ANSI| compile|
|00001080| 72 20 6f 6e 20 61 20 73 | 79 73 74 65 6d 20 66 6f |r on a s|ystem fo|
|00001090| 72 20 77 68 69 63 68 0a | 09 20 20 73 69 7a 65 6f |r which.|. sizeo|
|000010a0| 66 28 69 6e 74 29 20 21 | 3d 20 73 69 7a 65 6f 66 |f(int) !|= sizeof|
|000010b0| 28 76 6f 69 64 2a 29 20 | 6f 72 20 73 69 7a 65 6f |(void*) |or sizeo|
|000010c0| 66 28 69 6e 74 29 20 21 | 3d 20 73 69 7a 65 6f 66 |f(int) !|= sizeof|
|000010d0| 28 73 69 7a 65 5f 74 29 | 2e 29 0a 0a 09 2d 20 54 |(size_t)|.)...- T|
|000010e0| 68 65 20 75 73 65 20 6f | 66 20 27 65 78 74 65 72 |he use o|f 'exter|
|000010f0| 6e 20 22 43 2b 2b 22 27 | 20 69 6e 20 46 6c 65 78 |n "C++"'| in Flex|
|00001100| 4c 65 78 65 72 2e 68 20 | 68 61 73 20 62 65 65 6e |Lexer.h |has been|
|00001110| 20 6d 6f 64 69 66 69 65 | 64 20 74 6f 0a 09 20 20 | modifie|d to.. |
|00001120| 67 65 74 20 61 72 6f 75 | 6e 64 20 61 6e 20 69 6e |get arou|nd an in|
|00001130| 63 6f 6d 70 61 74 69 62 | 69 6c 69 74 79 20 77 69 |compatib|ility wi|
|00001140| 74 68 20 67 2b 2b 27 73 | 20 68 65 61 64 65 72 20 |th g++'s| header |
|00001150| 66 69 6c 65 73 2e 0a 0a | 0a 43 68 61 6e 67 65 73 |files...|.Changes|
|00001160| 20 62 65 74 77 65 65 6e | 20 72 65 6c 65 61 73 65 | between| release|
|00001170| 20 32 2e 34 2e 35 20 28 | 31 31 44 65 63 39 33 29 | 2.4.5 (|11Dec93)|
|00001180| 20 61 6e 64 20 72 65 6c | 65 61 73 65 20 32 2e 34 | and rel|ease 2.4|
|00001190| 2e 34 3a 0a 0a 09 2d 20 | 46 69 78 65 64 20 62 75 |.4:...- |Fixed bu|
|000011a0| 67 20 62 72 65 61 6b 69 | 6e 67 20 43 2b 2b 20 73 |g breaki|ng C++ s|
|000011b0| 63 61 6e 6e 65 72 73 20 | 74 68 61 74 20 75 73 65 |canners |that use|
|000011c0| 20 52 45 4a 45 43 54 20 | 6f 72 20 76 61 72 69 61 | REJECT |or varia|
|000011d0| 62 6c 65 0a 09 20 20 74 | 72 61 69 6c 69 6e 67 20 |ble.. t|railing |
|000011e0| 63 6f 6e 74 65 78 74 2e | 0a 0a 09 2d 20 46 69 78 |context.|...- Fix|
|000011f0| 65 64 20 73 65 72 69 6f | 75 73 20 69 6e 70 75 74 |ed serio|us input|
|00001200| 20 70 72 6f 62 6c 65 6d | 20 66 6f 72 20 69 6e 74 | problem| for int|
|00001210| 65 72 61 63 74 69 76 65 | 20 73 63 61 6e 6e 65 72 |eractive| scanner|
|00001220| 73 20 6f 6e 0a 09 20 20 | 73 79 73 74 65 6d 73 20 |s on.. |systems |
|00001230| 66 6f 72 20 77 68 69 63 | 68 20 63 68 61 72 20 69 |for whic|h char i|
|00001240| 73 20 75 6e 73 69 67 6e | 65 64 2e 0a 0a 09 2d 20 |s unsign|ed....- |
|00001250| 46 69 78 65 64 20 62 75 | 67 20 69 6e 20 69 6e 63 |Fixed bu|g in inc|
|00001260| 6f 72 72 65 63 74 6c 79 | 20 74 72 65 61 74 69 6e |orrectly| treatin|
|00001270| 67 20 27 24 27 20 6f 70 | 65 72 61 74 6f 72 20 61 |g '$' op|erator a|
|00001280| 73 20 76 61 72 69 61 62 | 6c 65 0a 09 20 20 74 72 |s variab|le.. tr|
|00001290| 61 69 6c 69 6e 67 20 63 | 6f 6e 74 65 78 74 2e 0a |ailing c|ontext..|
|000012a0| 0a 09 2d 20 46 69 78 65 | 64 20 62 75 67 20 69 6e |..- Fixe|d bug in|
|000012b0| 20 2d 43 46 20 74 61 62 | 6c 65 20 72 65 70 72 65 | -CF tab|le repre|
|000012c0| 73 65 6e 74 61 74 69 6f | 6e 20 74 68 61 74 20 63 |sentatio|n that c|
|000012d0| 6f 75 6c 64 20 6c 65 61 | 64 20 74 6f 0a 09 20 20 |ould lea|d to.. |
|000012e0| 63 6f 72 72 75 70 74 20 | 74 61 62 6c 65 73 2e 0a |corrupt |tables..|
|000012f0| 0a 09 2d 20 46 69 78 65 | 64 20 66 61 69 72 6c 79 |..- Fixe|d fairly|
|00001300| 20 62 65 6e 69 67 6e 20 | 6d 65 6d 6f 72 79 20 6c | benign |memory l|
|00001310| 65 61 6b 2e 0a 0a 09 2d | 20 41 64 64 65 64 20 60 |eak....-| Added `|
|00001320| 65 78 74 65 72 6e 20 22 | 43 2b 2b 22 27 20 77 72 |extern "|C++"' wr|
|00001330| 61 70 70 65 72 20 74 6f | 20 46 6c 65 78 4c 65 78 |apper to| FlexLex|
|00001340| 65 72 2e 68 20 68 65 61 | 64 65 72 2e 20 20 54 68 |er.h hea|der. Th|
|00001350| 69 73 0a 09 20 20 73 68 | 6f 75 6c 64 20 6f 76 65 |is.. sh|ould ove|
|00001360| 72 63 6f 6d 65 20 74 68 | 65 20 67 2b 2b 20 32 2e |rcome th|e g++ 2.|
|00001370| 35 2e 58 20 70 72 6f 62 | 6c 65 6d 73 20 6d 65 6e |5.X prob|lems men|
|00001380| 74 69 6f 6e 65 64 20 69 | 6e 20 74 68 65 0a 09 20 |tioned i|n the.. |
|00001390| 20 4e 45 57 53 20 66 6f | 72 20 72 65 6c 65 61 73 | NEWS fo|r releas|
|000013a0| 65 20 32 2e 34 2e 33 2e | 0a 0a 09 2d 20 43 68 61 |e 2.4.3.|...- Cha|
|000013b0| 6e 67 65 64 20 23 69 6e | 63 6c 75 64 65 20 6f 66 |nged #in|clude of|
|000013c0| 20 46 6c 65 78 4c 65 78 | 65 72 2e 68 20 74 6f 20 | FlexLex|er.h to |
|000013d0| 75 73 65 20 3c 3e 20 69 | 6e 73 74 65 61 64 20 6f |use <> i|nstead o|
|000013e0| 66 20 22 22 2e 0a 0a 09 | 2d 20 41 64 64 65 64 20 |f ""....|- Added |
|000013f0| 66 65 61 74 75 72 65 20 | 74 6f 20 63 6f 6e 74 72 |feature |to contr|
|00001400| 6f 6c 20 77 68 65 74 68 | 65 72 20 74 68 65 20 73 |ol wheth|er the s|
|00001410| 63 61 6e 6e 65 72 20 61 | 74 74 65 6d 70 74 73 20 |canner a|ttempts |
|00001420| 74 6f 0a 09 20 20 72 65 | 66 69 6c 6c 20 74 68 65 |to.. re|fill the|
|00001430| 20 69 6e 70 75 74 20 62 | 75 66 66 65 72 20 6f 6e | input b|uffer on|
|00001440| 63 65 20 69 74 27 73 20 | 65 78 68 61 75 73 74 65 |ce it's |exhauste|
|00001450| 64 2e 20 20 54 68 69 73 | 20 66 65 61 74 75 72 65 |d. This| feature|
|00001460| 0a 09 20 20 77 69 6c 6c | 20 62 65 20 64 6f 63 75 |.. will| be docu|
|00001470| 6d 65 6e 74 65 64 20 69 | 6e 20 74 68 65 20 32 2e |mented i|n the 2.|
|00001480| 35 20 72 65 6c 65 61 73 | 65 2e 0a 0a 0a 43 68 61 |5 releas|e....Cha|
|00001490| 6e 67 65 73 20 62 65 74 | 77 65 65 6e 20 72 65 6c |nges bet|ween rel|
|000014a0| 65 61 73 65 20 32 2e 34 | 2e 34 20 28 30 37 44 65 |ease 2.4|.4 (07De|
|000014b0| 63 39 33 29 20 61 6e 64 | 20 72 65 6c 65 61 73 65 |c93) and| release|
|000014c0| 20 32 2e 34 2e 33 3a 0a | 0a 09 2d 20 46 69 78 65 | 2.4.3:.|..- Fixe|
|000014d0| 64 20 74 77 6f 20 73 65 | 72 69 6f 75 73 20 62 75 |d two se|rious bu|
|000014e0| 67 73 20 69 6e 20 73 63 | 61 6e 6e 69 6e 67 20 38 |gs in sc|anning 8|
|000014f0| 2d 62 69 74 20 63 68 61 | 72 61 63 74 65 72 73 2e |-bit cha|racters.|
|00001500| 0a 0a 09 2d 20 46 69 78 | 65 64 20 62 75 67 20 69 |...- Fix|ed bug i|
|00001510| 6e 20 59 59 5f 55 53 45 | 52 5f 41 43 54 49 4f 4e |n YY_USE|R_ACTION|
|00001520| 20 74 68 61 74 20 63 61 | 75 73 65 64 20 69 74 20 | that ca|used it |
|00001530| 74 6f 20 62 65 20 65 78 | 65 63 75 74 65 64 0a 09 |to be ex|ecuted..|
|00001540| 20 20 69 6e 61 70 70 72 | 6f 70 72 69 61 74 65 6c | inappr|opriatel|
|00001550| 79 20 28 6f 6e 20 74 68 | 65 20 73 63 61 6e 6e 65 |y (on th|e scanne|
|00001560| 72 27 73 20 6f 77 6e 20 | 69 6e 74 65 72 6e 61 6c |r's own |internal|
|00001570| 20 61 63 74 69 6f 6e 73 | 2c 20 61 6e 64 0a 09 20 | actions|, and.. |
|00001580| 20 77 69 74 68 20 69 6e | 63 6f 72 72 65 63 74 20 | with in|correct |
|00001590| 79 79 74 65 78 74 2f 79 | 79 6c 65 6e 67 20 76 61 |yytext/y|yleng va|
|000015a0| 6c 75 65 73 29 2e 0a 0a | 09 2d 20 46 69 78 65 64 |lues)...|.- Fixed|
|000015b0| 20 62 75 67 20 69 6e 20 | 70 6f 69 6e 74 69 6e 67 | bug in |pointing|
|000015c0| 20 79 79 69 6e 20 61 74 | 20 61 20 6e 65 77 20 66 | yyin at| a new f|
|000015d0| 69 6c 65 20 61 6e 64 20 | 72 65 73 75 6d 69 6e 67 |ile and |resuming|
|000015e0| 20 73 63 61 6e 6e 69 6e | 67 2e 0a 0a 09 2d 20 50 | scannin|g....- P|
|000015f0| 6f 72 74 61 62 69 6c 69 | 74 79 20 66 69 78 20 72 |ortabili|ty fix r|
|00001600| 65 67 61 72 64 69 6e 67 | 20 6d 69 6e 2f 6d 61 78 |egarding| min/max|
|00001610| 2f 61 62 73 20 6d 61 63 | 72 6f 73 20 63 6f 6e 66 |/abs mac|ros conf|
|00001620| 6c 69 63 74 69 6e 67 20 | 77 69 74 68 0a 09 20 20 |licting |with.. |
|00001630| 66 75 6e 63 74 69 6f 6e | 20 64 65 66 69 6e 69 74 |function| definit|
|00001640| 69 6f 6e 73 20 69 6e 20 | 73 74 61 6e 64 61 72 64 |ions in |standard|
|00001650| 20 68 65 61 64 65 72 20 | 66 69 6c 65 73 2e 0a 0a | header |files...|
|00001660| 09 2d 20 41 64 64 65 64 | 20 61 20 76 69 72 74 75 |.- Added| a virtu|
|00001670| 61 6c 20 4c 65 78 65 72 | 45 72 72 6f 72 28 29 20 |al Lexer|Error() |
|00001680| 6d 65 74 68 6f 64 20 74 | 6f 20 74 68 65 20 43 2b |method t|o the C+|
|00001690| 2b 20 79 79 46 6c 65 78 | 4c 65 78 65 72 20 63 6c |+ yyFlex|Lexer cl|
|000016a0| 61 73 73 0a 09 20 20 66 | 6f 72 20 72 65 70 6f 72 |ass.. f|or repor|
|000016b0| 74 69 6e 67 20 65 72 72 | 6f 72 20 6d 65 73 73 61 |ting err|or messa|
|000016c0| 67 65 73 20 69 6e 73 74 | 65 61 64 20 6f 66 20 61 |ges inst|ead of a|
|000016d0| 6c 77 61 79 73 20 75 73 | 69 6e 67 20 63 65 72 72 |lways us|ing cerr|
|000016e0| 2e 0a 0a 09 2d 20 41 64 | 64 65 64 20 77 61 72 6e |....- Ad|ded warn|
|000016f0| 69 6e 67 20 69 6e 20 66 | 6c 65 78 64 6f 63 20 74 |ing in f|lexdoc t|
|00001700| 68 61 74 20 74 68 65 20 | 43 2b 2b 20 73 63 61 6e |hat the |C++ scan|
|00001710| 6e 69 6e 67 20 63 6c 61 | 73 73 20 69 73 20 70 72 |ning cla|ss is pr|
|00001720| 65 73 65 6e 74 6c 79 0a | 09 20 20 65 78 70 65 72 |esently.|. exper|
|00001730| 69 6d 65 6e 74 61 6c 20 | 61 6e 64 20 73 75 62 6a |imental |and subj|
|00001740| 65 63 74 20 74 6f 20 63 | 6f 6e 73 69 64 65 72 61 |ect to c|onsidera|
|00001750| 62 6c 65 20 63 68 61 6e | 67 65 20 62 65 74 77 65 |ble chan|ge betwe|
|00001760| 65 6e 20 6d 61 6a 6f 72 | 0a 09 20 20 72 65 6c 65 |en major|.. rele|
|00001770| 61 73 65 73 2e 0a 0a 0a | 43 68 61 6e 67 65 73 20 |ases....|Changes |
|00001780| 62 65 74 77 65 65 6e 20 | 72 65 6c 65 61 73 65 20 |between |release |
|00001790| 32 2e 34 2e 33 20 28 30 | 33 44 65 63 39 33 29 20 |2.4.3 (0|3Dec93) |
|000017a0| 61 6e 64 20 72 65 6c 65 | 61 73 65 20 32 2e 34 2e |and rele|ase 2.4.|
|000017b0| 32 3a 0a 0a 09 2d 20 46 | 69 78 65 64 20 62 75 67 |2:...- F|ixed bug|
|000017c0| 20 63 61 75 73 69 6e 67 | 20 66 61 74 61 6c 20 73 | causing| fatal s|
|000017d0| 63 61 6e 6e 65 72 20 6d | 65 73 73 61 67 65 73 20 |canner m|essages |
|000017e0| 74 6f 20 66 61 69 6c 20 | 74 6f 20 70 72 69 6e 74 |to fail |to print|
|000017f0| 2e 0a 0a 09 2d 20 46 69 | 78 65 64 20 74 68 69 6e |....- Fi|xed thin|
|00001800| 67 73 20 73 6f 20 46 6c | 65 78 4c 65 78 65 72 2e |gs so Fl|exLexer.|
|00001810| 68 20 63 61 6e 20 62 65 | 20 69 6e 63 6c 75 64 65 |h can be| include|
|00001820| 64 20 69 6e 20 6f 74 68 | 65 72 20 43 2b 2b 0a 09 |d in oth|er C++..|
|00001830| 20 20 73 6f 75 72 63 65 | 73 2e 20 20 4f 6e 65 20 | source|s. One |
|00001840| 73 69 64 65 2d 65 66 66 | 65 63 74 20 6f 66 20 74 |side-eff|ect of t|
|00001850| 68 69 73 20 63 68 61 6e | 67 65 20 69 73 20 74 68 |his chan|ge is th|
|00001860| 61 74 20 2d 2b 20 61 6e | 64 20 2d 43 46 0a 09 20 |at -+ an|d -CF.. |
|00001870| 20 61 72 65 20 6e 6f 77 | 20 69 6e 63 6f 6d 70 61 | are now| incompa|
|00001880| 74 69 62 6c 65 2e 0a 0a | 09 2d 20 6c 69 62 66 6c |tible...|.- libfl|
|00001890| 2e 61 20 6e 6f 77 20 73 | 75 70 70 6c 69 65 73 20 |.a now s|upplies |
|000018a0| 70 72 69 76 61 74 65 20 | 76 65 72 73 69 6f 6e 73 |private |versions|
|000018b0| 20 6f 66 20 74 68 65 20 | 74 68 65 20 3c 73 74 72 | of the |the <str|
|000018c0| 69 6e 67 2e 68 3e 2f 0a | 09 20 20 3c 73 74 72 69 |ing.h>/.|. <stri|
|000018d0| 6e 67 73 2e 68 3e 20 73 | 74 72 69 6e 67 20 72 6f |ngs.h> s|tring ro|
|000018e0| 75 74 69 6e 65 73 20 6e | 65 65 64 65 64 20 62 79 |utines n|eeded by|
|000018f0| 20 66 6c 65 78 20 61 6e | 64 20 74 68 65 20 73 63 | flex an|d the sc|
|00001900| 61 6e 6e 65 72 73 0a 09 | 20 20 69 74 20 67 65 6e |anners..| it gen|
|00001910| 65 72 61 74 65 73 2c 20 | 74 6f 20 65 6e 68 61 6e |erates, |to enhan|
|00001920| 63 65 20 70 6f 72 74 61 | 62 69 6c 69 74 79 20 74 |ce porta|bility t|
|00001930| 6f 20 73 6f 6d 65 20 42 | 53 44 20 73 79 73 74 65 |o some B|SD syste|
|00001940| 6d 73 2e 0a 0a 09 2d 20 | 4d 6f 72 65 20 72 6f 62 |ms....- |More rob|
|00001950| 75 73 74 20 73 6f 6c 75 | 74 69 6f 6e 20 74 6f 20 |ust solu|tion to |
|00001960| 32 2e 34 2e 32 27 73 20 | 66 6c 65 78 66 61 74 61 |2.4.2's |flexfata|
|00001970| 6c 28 29 20 62 75 67 20 | 66 69 78 2e 0a 0a 09 2d |l() bug |fix....-|
|00001980| 20 41 64 64 65 64 20 72 | 61 6e 6c 69 62 20 6f 66 | Added r|anlib of|
|00001990| 20 69 6e 73 74 61 6c 6c | 65 64 20 6c 69 62 66 6c | install|ed libfl|
|000019a0| 2e 61 2e 0a 0a 09 2d 20 | 53 6f 6d 65 20 6c 69 6e |.a....- |Some lin|
|000019b0| 74 20 74 77 65 61 6b 73 | 2e 0a 0a 09 2d 20 4e 4f |t tweaks|....- NO|
|000019c0| 54 45 3a 20 70 72 6f 62 | 6c 65 6d 73 20 68 61 76 |TE: prob|lems hav|
|000019d0| 65 20 62 65 65 6e 20 65 | 6e 63 6f 75 6e 74 65 72 |e been e|ncounter|
|000019e0| 65 64 20 61 74 74 65 6d | 70 74 69 6e 67 20 74 6f |ed attem|pting to|
|000019f0| 20 62 75 69 6c 64 20 66 | 6c 65 78 0a 09 20 20 43 | build f|lex.. C|
|00001a00| 2b 2b 20 73 63 61 6e 6e | 65 72 73 20 75 73 69 6e |++ scann|ers usin|
|00001a10| 67 20 67 2b 2b 20 76 65 | 72 73 69 6f 6e 20 32 2e |g g++ ve|rsion 2.|
|00001a20| 35 2e 58 2e 20 20 54 68 | 65 20 70 72 6f 62 6c 65 |5.X. Th|e proble|
|00001a30| 6d 20 69 73 20 64 75 65 | 20 74 6f 20 61 6e 0a 09 |m is due| to an..|
|00001a40| 20 20 75 6e 66 6f 72 74 | 75 6e 61 74 65 20 68 65 | unfort|unate he|
|00001a50| 75 72 69 73 74 69 63 20 | 69 6e 20 67 2b 2b 20 32 |uristic |in g++ 2|
|00001a60| 2e 35 2e 58 20 74 68 61 | 74 20 61 74 74 65 6d 70 |.5.X tha|t attemp|
|00001a70| 74 73 20 74 6f 20 64 69 | 73 63 65 72 6e 20 62 65 |ts to di|scern be|
|00001a80| 74 77 65 65 6e 0a 09 20 | 20 43 20 61 6e 64 20 43 |tween.. | C and C|
|00001a90| 2b 2b 20 68 65 61 64 65 | 72 73 2e 20 20 42 65 63 |++ heade|rs. Bec|
|00001aa0| 61 75 73 65 20 46 6c 65 | 78 4c 65 78 65 72 2e 68 |ause Fle|xLexer.h|
|00001ab0| 20 69 73 20 69 6e 73 74 | 61 6c 6c 65 64 20 28 62 | is inst|alled (b|
|00001ac0| 79 20 64 65 66 61 75 6c | 74 29 0a 09 20 20 69 6e |y defaul|t).. in|
|00001ad0| 20 2f 75 73 72 2f 6c 6f | 63 61 6c 2f 69 6e 63 6c | /usr/lo|cal/incl|
|00001ae0| 75 64 65 20 61 6e 64 20 | 6e 6f 74 20 2f 75 73 72 |ude and |not /usr|
|00001af0| 2f 6c 6f 63 61 6c 2f 6c | 69 62 2f 67 2b 2b 2d 69 |/local/l|ib/g++-i|
|00001b00| 6e 63 6c 75 64 65 2c 20 | 67 2b 2b 20 32 2e 35 2e |nclude, |g++ 2.5.|
|00001b10| 58 0a 09 20 20 64 65 63 | 69 64 65 73 20 74 68 61 |X.. dec|ides tha|
|00001b20| 74 20 69 74 27 73 20 61 | 20 43 20 68 65 61 64 65 |t it's a| C heade|
|00001b30| 72 20 3a 2d 28 2e 20 20 | 53 6f 20 69 66 20 79 6f |r :-(. |So if yo|
|00001b40| 75 20 68 61 76 65 20 70 | 72 6f 62 6c 65 6d 73 2c |u have p|roblems,|
|00001b50| 20 69 6e 73 74 61 6c 6c | 0a 09 20 20 74 68 65 20 | install|.. the |
|00001b60| 68 65 61 64 65 72 20 69 | 6e 20 2f 75 73 72 2f 6c |header i|n /usr/l|
|00001b70| 6f 63 61 6c 2f 6c 69 62 | 2f 67 2b 2b 2d 69 6e 63 |ocal/lib|/g++-inc|
|00001b80| 6c 75 64 65 20 69 6e 73 | 74 65 61 64 2e 0a 0a 0a |lude ins|tead....|
|00001b90| 43 68 61 6e 67 65 73 20 | 62 65 74 77 65 65 6e 20 |Changes |between |
|00001ba0| 72 65 6c 65 61 73 65 20 | 32 2e 34 2e 32 20 28 30 |release |2.4.2 (0|
|00001bb0| 31 44 65 63 39 33 29 20 | 61 6e 64 20 72 65 6c 65 |1Dec93) |and rele|
|00001bc0| 61 73 65 20 32 2e 34 2e | 31 3a 0a 0a 09 2d 20 46 |ase 2.4.|1:...- F|
|00001bd0| 69 78 65 64 20 62 75 67 | 20 69 6e 20 6c 69 62 66 |ixed bug| in libf|
|00001be0| 6c 2e 61 20 72 65 66 65 | 72 72 69 6e 67 20 74 6f |l.a refe|rring to|
|00001bf0| 20 6e 6f 6e 2d 65 78 69 | 73 74 65 6e 74 20 22 66 | non-exi|stent "f|
|00001c00| 6c 65 78 66 61 74 61 6c | 22 20 66 75 6e 63 74 69 |lexfatal|" functi|
|00001c10| 6f 6e 2e 0a 0a 09 2d 20 | 4d 6f 64 69 66 69 65 64 |on....- |Modified|
|00001c20| 20 74 6f 20 70 72 6f 64 | 75 63 65 20 62 6f 74 68 | to prod|uce both|
|00001c30| 20 63 6f 6d 70 72 65 73 | 73 27 64 20 61 6e 64 20 | compres|s'd and |
|00001c40| 67 7a 69 70 27 64 20 74 | 61 72 20 66 69 6c 65 73 |gzip'd t|ar files|
|00001c50| 20 66 6f 72 0a 09 20 20 | 64 69 73 74 72 69 62 75 | for.. |distribu|
|00001c60| 74 69 6f 6e 73 20 28 79 | 6f 75 20 70 72 6f 62 61 |tions (y|ou proba|
|00001c70| 62 6c 79 20 64 6f 6e 27 | 74 20 63 61 72 65 20 61 |bly don'|t care a|
|00001c80| 62 6f 75 74 20 74 68 69 | 73 20 63 68 61 6e 67 65 |bout thi|s change|
|00001c90| 21 29 2e 0a 0a 0a 43 68 | 61 6e 67 65 73 20 62 65 |!)....Ch|anges be|
|00001ca0| 74 77 65 65 6e 20 72 65 | 6c 65 61 73 65 20 32 2e |tween re|lease 2.|
|00001cb0| 34 2e 31 20 28 33 30 4e | 6f 76 39 33 29 20 61 6e |4.1 (30N|ov93) an|
|00001cc0| 64 20 72 65 6c 65 61 73 | 65 20 32 2e 33 2e 38 3a |d releas|e 2.3.8:|
|00001cd0| 0a 0a 09 2d 20 54 68 65 | 20 6e 65 77 20 27 2d 2b |...- The| new '-+|
|00001ce0| 27 20 66 6c 61 67 20 69 | 6e 73 74 72 75 63 74 73 |' flag i|nstructs|
|00001cf0| 20 66 6c 65 78 20 74 6f | 20 67 65 6e 65 72 61 74 | flex to| generat|
|00001d00| 65 20 61 20 43 2b 2b 20 | 73 63 61 6e 6e 65 72 20 |e a C++ |scanner |
|00001d10| 63 6c 61 73 73 0a 09 20 | 20 28 74 68 61 6e 6b 73 |class.. | (thanks|
|00001d20| 20 74 6f 20 4b 65 6e 74 | 20 57 69 6c 6c 69 61 6d | to Kent| William|
|00001d30| 73 29 2e 20 20 66 6c 65 | 78 20 77 72 69 74 65 73 |s). fle|x writes|
|00001d40| 20 61 6e 20 69 6d 70 6c | 65 6d 65 6e 74 61 74 69 | an impl|ementati|
|00001d50| 6f 6e 20 6f 66 20 74 68 | 65 0a 09 20 20 63 6c 61 |on of th|e.. cla|
|00001d60| 73 73 20 64 65 66 69 6e | 65 64 20 69 6e 20 46 6c |ss defin|ed in Fl|
|00001d70| 65 78 4c 65 78 65 72 2e | 68 20 74 6f 20 6c 65 78 |exLexer.|h to lex|
|00001d80| 2e 79 79 2e 63 63 2e 20 | 20 59 6f 75 20 6d 61 79 |.yy.cc. | You may|
|00001d90| 20 69 6e 63 6c 75 64 65 | 0a 09 20 20 6d 75 6c 74 | include|.. mult|
|00001da0| 69 70 6c 65 20 73 63 61 | 6e 6e 65 72 20 63 6c 61 |iple sca|nner cla|
|00001db0| 73 73 65 73 20 69 6e 20 | 79 6f 75 72 20 70 72 6f |sses in |your pro|
|00001dc0| 67 72 61 6d 20 75 73 69 | 6e 67 20 74 68 65 20 2d |gram usi|ng the -|
|00001dd0| 50 20 66 6c 61 67 2e 20 | 20 4e 6f 74 65 0a 09 20 |P flag. | Note.. |
|00001de0| 20 74 68 61 74 20 74 68 | 65 20 73 63 61 6e 6e 65 | that th|e scanne|
|00001df0| 72 20 63 6c 61 73 73 20 | 61 6c 73 6f 20 70 72 6f |r class |also pro|
|00001e00| 76 69 64 65 73 20 61 20 | 6d 65 63 68 61 6e 69 73 |vides a |mechanis|
|00001e10| 6d 20 66 6f 72 20 63 72 | 65 61 74 69 6e 67 0a 09 |m for cr|eating..|
|00001e20| 20 20 72 65 65 6e 74 72 | 61 6e 74 20 73 63 61 6e | reentr|ant scan|
|00001e30| 6e 65 72 73 2e 20 20 54 | 68 65 20 73 63 61 6e 6e |ners. T|he scann|
|00001e40| 65 72 20 63 6c 61 73 73 | 20 75 73 65 73 20 43 2b |er class| uses C+|
|00001e50| 2b 20 73 74 72 65 61 6d | 73 20 66 6f 72 20 49 2f |+ stream|s for I/|
|00001e60| 4f 0a 09 20 20 69 6e 73 | 74 65 61 64 20 6f 66 20 |O.. ins|tead of |
|00001e70| 46 49 4c 45 2a 27 73 20 | 28 74 68 61 6e 6b 73 20 |FILE*'s |(thanks |
|00001e80| 74 6f 20 54 6f 6d 20 45 | 70 70 65 72 6c 79 29 2e |to Tom E|pperly).|
|00001e90| 20 20 49 66 20 74 68 65 | 20 66 6c 65 78 20 65 78 | If the| flex ex|
|00001ea0| 65 63 75 74 61 62 6c 65 | 27 73 0a 09 20 20 6e 61 |ecutable|'s.. na|
|00001eb0| 6d 65 20 65 6e 64 73 20 | 69 6e 20 27 2b 27 20 74 |me ends |in '+' t|
|00001ec0| 68 65 6e 20 74 68 65 20 | 27 2d 2b 27 20 66 6c 61 |hen the |'-+' fla|
|00001ed0| 67 20 69 73 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |g is aut|omatical|
|00001ee0| 6c 79 20 6f 6e 2c 20 73 | 6f 20 63 72 65 61 74 69 |ly on, s|o creati|
|00001ef0| 6e 67 0a 09 20 20 61 20 | 73 79 6d 6c 69 6e 6b 20 |ng.. a |symlink |
|00001f00| 6f 72 20 63 6f 70 79 20 | 6f 66 20 22 66 6c 65 78 |or copy |of "flex|
|00001f10| 22 20 74 6f 20 22 66 6c | 65 78 2b 2b 22 20 72 65 |" to "fl|ex++" re|
|00001f20| 73 75 6c 74 73 20 69 6e | 20 61 20 76 65 72 73 69 |sults in| a versi|
|00001f30| 6f 6e 20 6f 66 0a 09 20 | 20 66 6c 65 78 20 74 68 |on of.. | flex th|
|00001f40| 61 74 20 63 61 6e 20 62 | 65 20 75 73 65 64 20 65 |at can b|e used e|
|00001f50| 78 63 6c 75 73 69 76 65 | 6c 79 20 66 6f 72 20 43 |xclusive|ly for C|
|00001f60| 2b 2b 20 73 63 61 6e 6e | 65 72 73 2e 0a 0a 09 20 |++ scann|ers.... |
|00001f70| 20 4e 6f 74 65 20 74 68 | 61 74 20 77 69 74 68 6f | Note th|at witho|
|00001f80| 75 74 20 74 68 65 20 27 | 2d 2b 27 20 66 6c 61 67 |ut the '|-+' flag|
|00001f90| 2c 20 66 6c 65 78 2d 67 | 65 6e 65 72 61 74 65 64 |, flex-g|enerated|
|00001fa0| 20 73 63 61 6e 6e 65 72 | 73 20 63 61 6e 20 73 74 | scanner|s can st|
|00001fb0| 69 6c 6c 0a 09 20 20 62 | 65 20 63 6f 6d 70 69 6c |ill.. b|e compil|
|00001fc0| 65 64 20 75 73 69 6e 67 | 20 43 2b 2b 20 63 6f 6d |ed using| C++ com|
|00001fd0| 70 69 6c 65 72 73 2c 20 | 74 68 6f 75 67 68 20 74 |pilers, |though t|
|00001fe0| 68 65 79 20 75 73 65 20 | 46 49 4c 45 2a 27 73 20 |hey use |FILE*'s |
|00001ff0| 66 6f 72 20 49 2f 4f 0a | 09 20 20 69 6e 73 74 65 |for I/O.|. inste|
|00002000| 61 64 20 6f 66 20 73 74 | 72 65 61 6d 73 2e 0a 0a |ad of st|reams...|
|00002010| 09 20 20 53 65 65 20 74 | 68 65 20 22 47 45 4e 45 |. See t|he "GENE|
|00002020| 52 41 54 49 4e 47 20 43 | 2b 2b 20 53 43 41 4e 4e |RATING C|++ SCANN|
|00002030| 45 52 53 22 20 73 65 63 | 74 69 6f 6e 20 6f 66 20 |ERS" sec|tion of |
|00002040| 66 6c 65 78 64 6f 63 20 | 66 6f 72 20 64 65 74 61 |flexdoc |for deta|
|00002050| 69 6c 73 2e 0a 0a 09 2d | 20 54 68 65 20 6e 65 77 |ils....-| The new|
|00002060| 20 27 2d 6c 27 20 66 6c | 61 67 20 74 75 72 6e 73 | '-l' fl|ag turns|
|00002070| 20 6f 6e 20 6d 61 78 69 | 6d 75 6d 20 41 54 26 54 | on maxi|mum AT&T|
|00002080| 20 6c 65 78 20 63 6f 6d | 70 61 74 69 62 69 6c 69 | lex com|patibili|
|00002090| 74 79 2e 20 20 49 6e 0a | 09 20 20 70 61 72 74 69 |ty. In.|. parti|
|000020a0| 63 75 6c 61 72 2c 20 2d | 6c 20 69 6e 63 6c 75 64 |cular, -|l includ|
|000020b0| 65 73 20 73 75 70 70 6f | 72 74 20 66 6f 72 20 22 |es suppo|rt for "|
|000020c0| 79 79 6c 69 6e 65 6e 6f | 22 20 61 6e 64 20 6d 61 |yylineno|" and ma|
|000020d0| 6b 65 73 20 79 79 74 65 | 78 74 0a 09 20 20 62 65 |kes yyte|xt.. be|
|000020e0| 20 61 6e 20 61 72 72 61 | 79 20 69 6e 73 74 65 61 | an arra|y instea|
|000020f0| 64 20 6f 66 20 61 20 70 | 6f 69 6e 74 65 72 2e 20 |d of a p|ointer. |
|00002100| 20 49 74 20 64 6f 65 73 | 20 6e 6f 74 2c 20 68 6f | It does| not, ho|
|00002110| 77 65 76 65 72 2c 20 64 | 6f 20 61 77 61 79 0a 09 |wever, d|o away..|
|00002120| 20 20 77 69 74 68 20 61 | 6c 6c 20 69 6e 63 6f 6d | with a|ll incom|
|00002130| 70 61 74 69 62 69 6c 69 | 74 69 65 73 2e 20 20 53 |patibili|ties. S|
|00002140| 65 65 20 74 68 65 20 22 | 49 4e 43 4f 4d 50 41 54 |ee the "|INCOMPAT|
|00002150| 49 42 49 4c 49 54 49 45 | 53 20 57 49 54 48 20 4c |IBILITIE|S WITH L|
|00002160| 45 58 0a 09 20 20 41 4e | 44 20 50 4f 53 49 58 22 |EX.. AN|D POSIX"|
|00002170| 20 73 65 63 74 69 6f 6e | 20 6f 66 20 66 6c 65 78 | section| of flex|
|00002180| 64 6f 63 20 66 6f 72 20 | 64 65 74 61 69 6c 73 2e |doc for |details.|
|00002190| 0a 0a 09 2d 20 54 68 65 | 20 6e 65 77 20 27 2d 50 |...- The| new '-P|
|000021a0| 27 20 6f 70 74 69 6f 6e | 20 73 70 65 63 69 66 69 |' option| specifi|
|000021b0| 65 73 20 61 20 70 72 65 | 66 69 78 20 74 6f 20 75 |es a pre|fix to u|
|000021c0| 73 65 20 6f 74 68 65 72 | 20 74 68 61 6e 20 22 79 |se other| than "y|
|000021d0| 79 22 0a 09 20 20 66 6f | 72 20 74 68 65 20 73 63 |y".. fo|r the sc|
|000021e0| 61 6e 6e 65 72 27 73 20 | 67 6c 6f 62 61 6c 6c 79 |anner's |globally|
|000021f0| 2d 76 69 73 69 62 6c 65 | 20 76 61 72 69 61 62 6c |-visible| variabl|
|00002200| 65 73 2c 20 61 6e 64 20 | 66 6f 72 20 74 68 65 0a |es, and |for the.|
|00002210| 09 20 20 22 6c 65 78 2e | 79 79 2e 63 22 20 66 69 |. "lex.|yy.c" fi|
|00002220| 6c 65 6e 61 6d 65 2e 20 | 20 55 73 69 6e 67 20 2d |lename. | Using -|
|00002230| 50 20 79 6f 75 20 63 61 | 6e 20 6c 69 6e 6b 20 74 |P you ca|n link t|
|00002240| 6f 67 65 74 68 65 72 20 | 6d 75 6c 74 69 70 6c 65 |ogether |multiple|
|00002250| 0a 09 20 20 66 6c 65 78 | 20 73 63 61 6e 6e 65 72 |.. flex| scanner|
|00002260| 73 20 69 6e 20 74 68 65 | 20 73 61 6d 65 20 65 78 |s in the| same ex|
|00002270| 65 63 75 74 61 62 6c 65 | 2e 0a 0a 09 2d 20 54 68 |ecutable|....- Th|
|00002280| 65 20 64 69 73 74 72 69 | 62 75 74 69 6f 6e 20 69 |e distri|bution i|
|00002290| 6e 63 6c 75 64 65 73 20 | 61 20 22 74 65 78 69 6e |ncludes |a "texin|
|000022a0| 66 6f 22 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 66 |fo" vers|ion of f|
|000022b0| 6c 65 78 64 6f 63 2e 31 | 2c 0a 09 20 20 63 6f 6e |lexdoc.1|,.. con|
|000022c0| 74 72 69 62 75 74 65 64 | 20 62 79 20 52 6f 6c 61 |tributed| by Rola|
|000022d0| 6e 64 20 50 65 73 63 68 | 20 28 74 68 61 6e 6b 73 |nd Pesch| (thanks|
|000022e0| 20 61 6c 73 6f 20 74 6f | 20 4d 61 72 71 20 4b 6f | also to| Marq Ko|
|000022f0| 6c 65 2c 20 77 68 6f 0a | 09 20 20 63 6f 6e 74 72 |le, who.|. contr|
|00002300| 69 62 75 74 65 64 20 61 | 6e 6f 74 68 65 72 20 76 |ibuted a|nother v|
|00002310| 65 72 73 69 6f 6e 29 2e | 20 20 49 74 20 68 61 73 |ersion).| It has|
|00002320| 20 6e 6f 74 20 62 65 65 | 6e 20 62 72 6f 75 67 68 | not bee|n brough|
|00002330| 74 20 75 70 20 74 6f 0a | 09 20 20 64 61 74 65 2c |t up to.|. date,|
|00002340| 20 62 75 74 20 72 65 66 | 6c 65 63 74 73 20 76 65 | but ref|lects ve|
|00002350| 72 73 69 6f 6e 20 32 2e | 33 2e 20 20 53 65 65 20 |rsion 2.|3. See |
|00002360| 4d 49 53 43 2f 66 6c 65 | 78 2e 74 65 78 69 6e 66 |MISC/fle|x.texinf|
|00002370| 6f 2e 0a 0a 09 20 20 54 | 68 65 20 66 6c 65 78 20 |o.... T|he flex |
|00002380| 64 69 73 74 72 69 62 75 | 74 69 6f 6e 20 77 69 6c |distribu|tion wil|
|00002390| 6c 20 73 6f 6f 6e 20 69 | 6e 63 6c 75 64 65 20 47 |l soon i|nclude G|
|000023a0| 2e 54 2e 20 4e 69 63 6f | 6c 27 73 20 66 6c 65 78 |.T. Nico|l's flex|
|000023b0| 0a 09 20 20 6d 61 6e 75 | 61 6c 3b 20 68 65 20 69 |.. manu|al; he i|
|000023c0| 73 20 70 72 65 73 65 6e | 74 6c 79 20 62 72 69 6e |s presen|tly brin|
|000023d0| 67 69 6e 67 20 69 74 20 | 75 70 2d 74 6f 2d 64 61 |ging it |up-to-da|
|000023e0| 74 65 20 66 6f 72 20 76 | 65 72 73 69 6f 6e 20 32 |te for v|ersion 2|
|000023f0| 2e 34 2e 0a 0a 09 2d 20 | 79 79 77 72 61 70 28 29 |.4....- |yywrap()|
|00002400| 20 69 73 20 6e 6f 77 20 | 61 20 66 75 6e 63 74 69 | is now |a functi|
|00002410| 6f 6e 2c 20 61 6e 64 20 | 79 6f 75 20 6e 6f 77 20 |on, and |you now |
|00002420| 2a 6d 75 73 74 2a 20 6c | 69 6e 6b 20 66 6c 65 78 |*must* l|ink flex|
|00002430| 20 73 63 61 6e 6e 65 72 | 73 0a 09 20 20 77 69 74 | scanner|s.. wit|
|00002440| 68 20 6c 69 62 66 6c 2e | 61 2e 0a 0a 09 2d 20 53 |h libfl.|a....- S|
|00002450| 69 74 65 2d 63 6f 6e 66 | 69 67 75 72 61 74 69 6f |ite-conf|iguratio|
|00002460| 6e 20 69 73 20 6e 6f 77 | 20 64 6f 6e 65 20 76 69 |n is now| done vi|
|00002470| 61 20 61 6e 20 61 75 74 | 6f 63 6f 6e 66 2d 67 65 |a an aut|oconf-ge|
|00002480| 6e 65 72 61 74 65 64 0a | 09 20 20 22 63 6f 6e 66 |nerated.|. "conf|
|00002490| 69 67 75 72 65 22 20 73 | 63 72 69 70 74 20 63 6f |igure" s|cript co|
|000024a0| 6e 74 72 69 62 75 74 65 | 64 20 62 79 20 46 72 61 |ntribute|d by Fra|
|000024b0| 6e 63 6f 69 73 20 50 69 | 6e 61 72 64 2e 0a 0a 09 |ncois Pi|nard....|
|000024c0| 2d 20 53 63 61 6e 6e 65 | 72 73 20 6e 6f 77 20 75 |- Scanne|rs now u|
|000024d0| 73 65 20 66 72 65 61 64 | 28 29 20 28 6f 72 20 67 |se fread|() (or g|
|000024e0| 65 74 63 28 29 2c 20 69 | 66 20 69 6e 74 65 72 61 |etc(), i|f intera|
|000024f0| 63 74 69 76 65 29 20 61 | 6e 64 20 6e 6f 74 0a 09 |ctive) a|nd not..|
|00002500| 20 20 72 65 61 64 28 29 | 20 66 6f 72 20 69 6e 70 | read()| for inp|
|00002510| 75 74 2e 20 20 41 20 6e | 65 77 20 22 74 61 62 6c |ut. A n|ew "tabl|
|00002520| 65 20 63 6f 6d 70 72 65 | 73 73 69 6f 6e 22 20 6f |e compre|ssion" o|
|00002530| 70 74 69 6f 6e 2c 20 2d | 43 72 2c 0a 09 20 20 6f |ption, -|Cr,.. o|
|00002540| 76 65 72 72 69 64 65 73 | 20 74 68 69 73 20 63 68 |verrides| this ch|
|00002550| 61 6e 67 65 20 61 6e 64 | 20 63 61 75 73 65 73 20 |ange and| causes |
|00002560| 74 68 65 20 73 63 61 6e | 6e 65 72 20 74 6f 20 75 |the scan|ner to u|
|00002570| 73 65 20 72 65 61 64 28 | 29 0a 09 20 20 28 62 65 |se read(|).. (be|
|00002580| 63 61 75 73 65 20 72 65 | 61 64 28 29 20 69 73 20 |cause re|ad() is |
|00002590| 61 20 62 69 74 20 66 61 | 73 74 65 72 20 74 68 61 |a bit fa|ster tha|
|000025a0| 6e 20 66 72 65 61 64 28 | 29 29 2e 20 20 2d 66 20 |n fread(|)). -f |
|000025b0| 61 6e 64 20 2d 46 0a 09 | 20 20 61 72 65 20 6e 6f |and -F..| are no|
|000025c0| 77 20 65 71 75 69 76 61 | 6c 65 6e 74 20 74 6f 20 |w equiva|lent to |
|000025d0| 2d 43 66 72 20 61 6e 64 | 20 2d 43 46 72 3b 20 69 |-Cfr and| -CFr; i|
|000025e0| 2e 65 2e 2c 20 74 68 65 | 79 20 69 6d 70 6c 79 20 |.e., the|y imply |
|000025f0| 74 68 65 0a 09 20 20 2d | 43 72 20 6f 70 74 69 6f |the.. -|Cr optio|
|00002600| 6e 2e 0a 0a 09 2d 20 49 | 6e 20 74 68 65 20 62 6c |n....- I|n the bl|
|00002610| 65 73 73 65 64 20 6e 61 | 6d 65 20 6f 66 20 50 4f |essed na|me of PO|
|00002620| 53 49 58 20 63 6f 6d 70 | 6c 69 61 6e 63 65 2c 20 |SIX comp|liance, |
|00002630| 66 6c 65 78 20 73 75 70 | 70 6f 72 74 73 20 22 25 |flex sup|ports "%|
|00002640| 61 72 72 61 79 22 0a 09 | 20 20 61 6e 64 20 22 25 |array"..| and "%|
|00002650| 70 6f 69 6e 74 65 72 22 | 20 64 69 72 65 63 74 69 |pointer"| directi|
|00002660| 76 65 73 20 69 6e 20 74 | 68 65 20 64 65 66 69 6e |ves in t|he defin|
|00002670| 69 74 69 6f 6e 73 20 28 | 66 69 72 73 74 29 20 73 |itions (|first) s|
|00002680| 65 63 74 69 6f 6e 20 6f | 66 0a 09 20 20 74 68 65 |ection o|f.. the|
|00002690| 20 73 63 61 6e 6e 65 72 | 20 73 70 65 63 69 66 69 | scanner| specifi|
|000026a0| 63 61 74 69 6f 6e 2e 20 | 20 54 68 65 20 66 6f 72 |cation. | The for|
|000026b0| 6d 65 72 20 73 70 65 63 | 69 66 69 65 73 20 74 68 |mer spec|ifies th|
|000026c0| 61 74 20 79 79 74 65 78 | 74 0a 09 20 20 73 68 6f |at yytex|t.. sho|
|000026d0| 75 6c 64 20 62 65 20 61 | 6e 20 61 72 72 61 79 20 |uld be a|n array |
|000026e0| 28 6f 66 20 73 69 7a 65 | 20 59 59 4c 4d 41 58 29 |(of size| YYLMAX)|
|000026f0| 2c 20 74 68 65 20 6c 61 | 74 74 65 72 2c 20 74 68 |, the la|tter, th|
|00002700| 61 74 20 69 74 20 73 68 | 6f 75 6c 64 0a 09 20 20 |at it sh|ould.. |
|00002710| 62 65 20 61 20 70 6f 69 | 6e 74 65 72 2e 20 20 54 |be a poi|nter. T|
|00002720| 68 65 20 61 72 72 61 79 | 20 76 65 72 73 69 6f 6e |he array| version|
|00002730| 20 6f 66 20 79 79 74 65 | 78 74 20 69 73 20 75 6e | of yyte|xt is un|
|00002740| 69 76 65 72 73 61 6c 6c | 79 20 73 6c 6f 77 65 72 |iversall|y slower|
|00002750| 0a 09 20 20 74 68 61 6e | 20 74 68 65 20 70 6f 69 |.. than| the poi|
|00002760| 6e 74 65 72 20 76 65 72 | 73 69 6f 6e 2c 20 62 75 |nter ver|sion, bu|
|00002770| 74 20 68 61 73 20 74 68 | 65 20 61 64 76 61 6e 74 |t has th|e advant|
|00002780| 61 67 65 20 74 68 61 74 | 20 69 74 73 20 63 6f 6e |age that| its con|
|00002790| 74 65 6e 74 73 0a 09 20 | 20 72 65 6d 61 69 6e 20 |tents.. | remain |
|000027a0| 75 6e 6d 6f 64 69 66 69 | 65 64 20 61 63 72 6f 73 |unmodifi|ed acros|
|000027b0| 73 20 63 61 6c 6c 73 20 | 74 6f 20 69 6e 70 75 74 |s calls |to input|
|000027c0| 28 29 20 61 6e 64 20 75 | 6e 70 75 74 28 29 20 28 |() and u|nput() (|
|000027d0| 74 68 65 20 70 6f 69 6e | 74 65 72 0a 09 20 20 76 |the poin|ter.. v|
|000027e0| 65 72 73 69 6f 6e 20 6f | 66 20 79 79 74 65 78 74 |ersion o|f yytext|
|000027f0| 20 69 73 2c 20 73 74 69 | 6c 6c 2c 20 74 72 61 73 | is, sti|ll, tras|
|00002800| 68 65 64 20 62 79 20 73 | 75 63 68 20 63 61 6c 6c |hed by s|uch call|
|00002810| 73 29 2e 0a 0a 09 20 20 | 22 25 61 72 72 61 79 22 |s).... |"%array"|
|00002820| 20 63 61 6e 6e 6f 74 20 | 62 65 20 75 73 65 64 20 | cannot |be used |
|00002830| 77 69 74 68 20 74 68 65 | 20 27 2d 2b 27 20 43 2b |with the| '-+' C+|
|00002840| 2b 20 73 63 61 6e 6e 65 | 72 20 63 6c 61 73 73 20 |+ scanne|r class |
|00002850| 6f 70 74 69 6f 6e 2e 0a | 0a 09 2d 20 54 68 65 20 |option..|..- The |
|00002860| 6e 65 77 20 27 2d 43 61 | 27 20 6f 70 74 69 6f 6e |new '-Ca|' option|
|00002870| 20 64 69 72 65 63 74 73 | 20 66 6c 65 78 20 74 6f | directs| flex to|
|00002880| 20 74 72 61 64 65 20 6f | 66 66 20 6d 65 6d 6f 72 | trade o|ff memor|
|00002890| 79 20 66 6f 72 0a 09 20 | 20 6e 61 74 75 72 61 6c |y for.. | natural|
|000028a0| 20 61 6c 69 67 6e 6d 65 | 6e 74 20 77 68 65 6e 20 | alignme|nt when |
|000028b0| 67 65 6e 65 72 61 74 69 | 6e 67 20 61 20 73 63 61 |generati|ng a sca|
|000028c0| 6e 6e 65 72 27 73 20 74 | 61 62 6c 65 73 2e 20 20 |nner's t|ables. |
|000028d0| 49 6e 0a 09 20 20 70 61 | 72 74 69 63 75 6c 61 72 |In.. pa|rticular|
|000028e0| 2c 20 74 61 62 6c 65 20 | 65 6e 74 72 69 65 73 20 |, table |entries |
|000028f0| 74 68 61 74 20 77 6f 75 | 6c 64 20 6f 74 68 65 72 |that wou|ld other|
|00002900| 77 69 73 65 20 62 65 20 | 22 73 68 6f 72 74 22 0a |wise be |"short".|
|00002910| 09 20 20 62 65 63 6f 6d | 65 20 22 6c 6f 6e 67 22 |. becom|e "long"|
|00002920| 2e 0a 0a 09 2d 20 54 68 | 65 20 6e 65 77 20 27 2d |....- Th|e new '-|
|00002930| 68 27 20 6f 70 74 69 6f | 6e 20 70 72 6f 64 75 63 |h' optio|n produc|
|00002940| 65 73 20 61 20 73 75 6d | 6d 61 72 79 20 6f 66 20 |es a sum|mary of |
|00002950| 74 68 65 20 66 6c 65 78 | 20 66 6c 61 67 73 2e 0a |the flex| flags..|
|00002960| 0a 09 2d 20 54 68 65 20 | 6e 65 77 20 27 2d 56 27 |..- The |new '-V'|
|00002970| 20 6f 70 74 69 6f 6e 20 | 72 65 70 6f 72 74 73 20 | option |reports |
|00002980| 74 68 65 20 66 6c 65 78 | 20 76 65 72 73 69 6f 6e |the flex| version|
|00002990| 20 6e 75 6d 62 65 72 20 | 61 6e 64 20 65 78 69 74 | number |and exit|
|000029a0| 73 2e 0a 0a 09 2d 20 54 | 68 65 20 6e 65 77 20 73 |s....- T|he new s|
|000029b0| 63 61 6e 6e 65 72 20 6d | 61 63 72 6f 20 59 59 5f |canner m|acro YY_|
|000029c0| 53 54 41 52 54 20 72 65 | 74 75 72 6e 73 20 61 6e |START re|turns an|
|000029d0| 20 69 6e 74 65 67 65 72 | 20 76 61 6c 75 65 0a 09 | integer| value..|
|000029e0| 20 20 63 6f 72 72 65 73 | 70 6f 6e 64 69 6e 67 20 | corres|ponding |
|000029f0| 74 6f 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 73 |to the c|urrent s|
|00002a00| 74 61 72 74 20 63 6f 6e | 64 69 74 69 6f 6e 2e 20 |tart con|dition. |
|00002a10| 20 59 6f 75 20 63 61 6e | 20 72 65 74 75 72 6e 0a | You can| return.|
|00002a20| 09 20 20 74 6f 20 74 68 | 61 74 20 73 74 61 72 74 |. to th|at start|
|00002a30| 20 63 6f 6e 64 69 74 69 | 6f 6e 20 62 79 20 70 61 | conditi|on by pa|
|00002a40| 73 73 69 6e 67 20 74 68 | 65 20 76 61 6c 75 65 20 |ssing th|e value |
|00002a50| 74 6f 20 61 20 73 75 62 | 73 65 71 75 65 6e 74 0a |to a sub|sequent.|
|00002a60| 09 20 20 22 42 45 47 49 | 4e 22 20 61 63 74 69 6f |. "BEGI|N" actio|
|00002a70| 6e 2e 20 20 59 6f 75 20 | 61 6c 73 6f 20 63 61 6e |n. You |also can|
|00002a80| 20 69 6d 70 6c 65 6d 65 | 6e 74 20 22 73 74 61 72 | impleme|nt "star|
|00002a90| 74 20 63 6f 6e 64 69 74 | 69 6f 6e 20 73 74 61 63 |t condit|ion stac|
|00002aa0| 6b 73 22 0a 09 20 20 62 | 79 20 73 74 6f 72 69 6e |ks".. b|y storin|
|00002ab0| 67 20 74 68 65 20 76 61 | 6c 75 65 73 20 69 6e 20 |g the va|lues in |
|00002ac0| 61 6e 20 69 6e 74 65 67 | 65 72 20 73 74 61 63 6b |an integ|er stack|
|00002ad0| 2e 0a 0a 09 2d 20 59 6f | 75 20 63 61 6e 20 6e 6f |....- Yo|u can no|
|00002ae0| 77 20 72 65 64 65 66 69 | 6e 65 20 6d 61 63 72 6f |w redefi|ne macro|
|00002af0| 73 20 73 75 63 68 20 61 | 73 20 59 59 5f 49 4e 50 |s such a|s YY_INP|
|00002b00| 55 54 20 62 79 20 6a 75 | 73 74 20 23 64 65 66 69 |UT by ju|st #defi|
|00002b10| 6e 65 27 69 6e 67 0a 09 | 20 20 74 68 65 6d 20 74 |ne'ing..| them t|
|00002b20| 6f 20 73 6f 6d 65 20 6f | 74 68 65 72 20 76 61 6c |o some o|ther val|
|00002b30| 75 65 20 69 6e 20 74 68 | 65 20 66 69 72 73 74 20 |ue in th|e first |
|00002b40| 73 65 63 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 66 |section |of the f|
|00002b50| 6c 65 78 20 69 6e 70 75 | 74 3b 0a 09 20 20 6e 6f |lex inpu|t;.. no|
|00002b60| 20 6e 65 65 64 20 74 6f | 20 66 69 72 73 74 20 23 | need to| first #|
|00002b70| 75 6e 64 65 66 20 74 68 | 65 6d 2e 0a 0a 09 2d 20 |undef th|em....- |
|00002b80| 66 6c 65 78 20 6e 6f 77 | 20 67 65 6e 65 72 61 74 |flex now| generat|
|00002b90| 65 73 20 77 61 72 6e 69 | 6e 67 73 20 66 6f 72 20 |es warni|ngs for |
|00002ba0| 72 75 6c 65 73 20 74 68 | 61 74 20 63 61 6e 27 74 |rules th|at can't|
|00002bb0| 20 62 65 20 6d 61 74 63 | 68 65 64 2e 0a 09 20 20 | be matc|hed... |
|00002bc0| 54 68 65 73 65 20 77 61 | 72 6e 69 6e 67 73 20 63 |These wa|rnings c|
|00002bd0| 61 6e 20 62 65 20 74 75 | 72 6e 65 64 20 6f 66 66 |an be tu|rned off|
|00002be0| 20 75 73 69 6e 67 20 74 | 68 65 20 6e 65 77 20 27 | using t|he new '|
|00002bf0| 2d 77 27 20 66 6c 61 67 | 2e 20 20 49 66 0a 09 20 |-w' flag|. If.. |
|00002c00| 20 79 6f 75 72 20 73 63 | 61 6e 6e 65 72 20 75 73 | your sc|anner us|
|00002c10| 65 73 20 52 45 4a 45 43 | 54 20 74 68 65 6e 20 79 |es REJEC|T then y|
|00002c20| 6f 75 20 77 69 6c 6c 20 | 6e 6f 74 20 67 65 74 20 |ou will |not get |
|00002c30| 74 68 65 73 65 20 77 61 | 72 6e 69 6e 67 73 2e 0a |these wa|rnings..|
|00002c40| 0a 09 2d 20 49 66 20 79 | 6f 75 20 73 70 65 63 69 |..- If y|ou speci|
|00002c50| 66 79 20 74 68 65 20 27 | 2d 73 27 20 66 6c 61 67 |fy the '|-s' flag|
|00002c60| 20 62 75 74 20 74 68 65 | 20 64 65 66 61 75 6c 74 | but the| default|
|00002c70| 20 72 75 6c 65 20 63 61 | 6e 20 62 65 20 6d 61 74 | rule ca|n be mat|
|00002c80| 63 68 65 64 2c 0a 09 20 | 20 66 6c 65 78 20 6e 6f |ched,.. | flex no|
|00002c90| 77 20 67 65 6e 65 72 61 | 74 65 73 20 61 20 77 61 |w genera|tes a wa|
|00002ca0| 72 6e 69 6e 67 2e 0a 0a | 09 2d 20 22 79 79 6c 65 |rning...|.- "yyle|
|00002cb0| 6e 67 22 20 69 73 20 6e | 6f 77 20 61 20 67 6c 6f |ng" is n|ow a glo|
|00002cc0| 62 61 6c 2c 20 61 6e 64 | 20 6d 61 79 20 62 65 20 |bal, and| may be |
|00002cd0| 6d 6f 64 69 66 69 65 64 | 20 62 79 20 74 68 65 20 |modified| by the |
|00002ce0| 75 73 65 72 20 28 74 68 | 6f 75 67 68 0a 09 20 20 |user (th|ough.. |
|00002cf0| 64 6f 69 6e 67 20 73 6f | 20 61 6e 64 20 74 68 65 |doing so| and the|
|00002d00| 6e 20 75 73 69 6e 67 20 | 79 79 6d 6f 72 65 28 29 |n using |yymore()|
|00002d10| 20 77 69 6c 6c 20 79 69 | 65 6c 64 20 77 65 69 72 | will yi|eld weir|
|00002d20| 64 20 72 65 73 75 6c 74 | 73 29 2e 0a 0a 09 2d 20 |d result|s)....- |
|00002d30| 4e 61 6d 65 20 64 65 66 | 69 6e 69 74 69 6f 6e 73 |Name def|initions|
|00002d40| 20 69 6e 20 74 68 65 20 | 66 69 72 73 74 20 73 65 | in the |first se|
|00002d50| 63 74 69 6f 6e 20 6f 66 | 20 61 20 73 63 61 6e 6e |ction of| a scann|
|00002d60| 65 72 20 73 70 65 63 69 | 66 69 63 61 74 69 6f 6e |er speci|fication|
|00002d70| 0a 09 20 20 63 61 6e 20 | 6e 6f 77 20 69 6e 63 6c |.. can |now incl|
|00002d80| 75 64 65 20 61 20 6c 65 | 61 64 69 6e 67 20 27 5e |ude a le|ading '^|
|00002d90| 27 20 6f 72 20 74 72 61 | 69 6c 69 6e 67 20 27 24 |' or tra|iling '$|
|00002da0| 27 20 6f 70 65 72 61 74 | 6f 72 2e 20 20 49 6e 20 |' operat|or. In |
|00002db0| 74 68 69 73 0a 09 20 20 | 63 61 73 65 2c 20 74 68 |this.. |case, th|
|00002dc0| 65 20 64 65 66 69 6e 69 | 74 69 6f 6e 20 69 73 20 |e defini|tion is |
|00002dd0| 2a 6e 6f 74 2a 20 70 75 | 73 68 65 64 20 62 61 63 |*not* pu|shed bac|
|00002de0| 6b 20 69 6e 73 69 64 65 | 20 6f 66 20 70 61 72 65 |k inside| of pare|
|00002df0| 6e 74 68 65 73 65 73 2e | 0a 0a 09 2d 20 53 63 61 |ntheses.|...- Sca|
|00002e00| 6e 6e 65 72 73 20 77 69 | 74 68 20 63 6f 6d 70 72 |nners wi|th compr|
|00002e10| 65 73 73 65 64 20 74 61 | 62 6c 65 73 20 61 72 65 |essed ta|bles are|
|00002e20| 20 6e 6f 77 20 22 69 6e | 74 65 72 61 63 74 69 76 | now "in|teractiv|
|00002e30| 65 22 20 28 2d 49 20 6f | 70 74 69 6f 6e 29 0a 09 |e" (-I o|ption)..|
|00002e40| 20 20 62 79 20 64 65 66 | 61 75 6c 74 2e 20 20 59 | by def|ault. Y|
|00002e50| 6f 75 20 63 61 6e 20 73 | 75 70 70 72 65 73 73 20 |ou can s|uppress |
|00002e60| 74 68 69 73 20 61 74 74 | 72 69 62 75 74 65 20 28 |this att|ribute (|
|00002e70| 77 68 69 63 68 20 6d 61 | 6b 65 73 20 74 68 65 6d |which ma|kes them|
|00002e80| 0a 09 20 20 72 75 6e 20 | 73 6c 69 67 68 74 6c 79 |.. run |slightly|
|00002e90| 20 73 6c 6f 77 65 72 29 | 20 75 73 69 6e 67 20 74 | slower)| using t|
|00002ea0| 68 65 20 6e 65 77 20 27 | 2d 42 27 20 66 6c 61 67 |he new '|-B' flag|
|00002eb0| 2e 0a 0a 09 2d 20 46 6c | 65 78 20 6e 6f 77 20 67 |....- Fl|ex now g|
|00002ec0| 65 6e 65 72 61 74 65 73 | 20 38 2d 62 69 74 20 73 |enerates| 8-bit s|
|00002ed0| 63 61 6e 6e 65 72 73 20 | 62 79 20 64 65 66 61 75 |canners |by defau|
|00002ee0| 6c 74 2c 20 75 6e 6c 65 | 73 73 20 79 6f 75 20 75 |lt, unle|ss you u|
|00002ef0| 73 65 20 74 68 65 0a 09 | 20 20 2d 43 66 20 6f 72 |se the..| -Cf or|
|00002f00| 20 2d 43 46 20 63 6f 6d | 70 72 65 73 73 69 6f 6e | -CF com|pression|
|00002f10| 20 6f 70 74 69 6f 6e 73 | 20 28 2d 43 66 65 20 20 | options| (-Cfe |
|00002f20| 61 6e 64 20 2d 43 46 65 | 20 72 65 73 75 6c 74 20 |and -CFe| result |
|00002f30| 69 6e 20 38 2d 62 69 74 | 0a 09 20 20 73 63 61 6e |in 8-bit|.. scan|
|00002f40| 6e 65 72 73 29 2e 20 20 | 59 6f 75 20 63 61 6e 20 |ners). |You can |
|00002f50| 66 6f 72 63 65 20 69 74 | 20 74 6f 20 67 65 6e 65 |force it| to gene|
|00002f60| 72 61 74 65 20 61 20 37 | 2d 62 69 74 20 73 63 61 |rate a 7|-bit sca|
|00002f70| 6e 6e 65 72 20 75 73 69 | 6e 67 0a 09 20 20 74 68 |nner usi|ng.. th|
|00002f80| 65 20 6e 65 77 20 27 2d | 37 27 20 66 6c 61 67 2e |e new '-|7' flag.|
|00002f90| 20 20 59 6f 75 20 63 61 | 6e 20 62 75 69 6c 64 20 | You ca|n build |
|00002fa0| 66 6c 65 78 20 74 6f 20 | 67 65 6e 65 72 61 74 65 |flex to |generate|
|00002fb0| 20 38 2d 62 69 74 20 73 | 63 61 6e 6e 65 72 73 0a | 8-bit s|canners.|
|00002fc0| 09 20 20 66 6f 72 20 2d | 43 66 20 61 6e 64 20 2d |. for -|Cf and -|
|00002fd0| 43 46 2c 20 74 6f 6f 2c | 20 62 79 20 61 64 64 69 |CF, too,| by addi|
|00002fe0| 6e 67 20 2d 44 44 45 46 | 41 55 4c 54 5f 43 53 49 |ng -DDEF|AULT_CSI|
|00002ff0| 5a 45 3d 32 35 36 20 74 | 6f 20 43 46 4c 41 47 53 |ZE=256 t|o CFLAGS|
|00003000| 0a 09 20 20 69 6e 20 74 | 68 65 20 4d 61 6b 65 66 |.. in t|he Makef|
|00003010| 69 6c 65 2e 0a 0a 09 2d | 20 59 6f 75 20 6e 6f 20 |ile....-| You no |
|00003020| 6c 6f 6e 67 65 72 20 6e | 65 65 64 20 74 6f 20 63 |longer n|eed to c|
|00003030| 61 6c 6c 20 74 68 65 20 | 73 63 61 6e 6e 65 72 20 |all the |scanner |
|00003040| 72 6f 75 74 69 6e 65 20 | 79 79 72 65 73 74 61 72 |routine |yyrestar|
|00003050| 74 28 29 20 74 6f 0a 09 | 20 20 69 6e 66 6f 72 6d |t() to..| inform|
|00003060| 20 74 68 65 20 73 63 61 | 6e 6e 65 72 20 74 68 61 | the sca|nner tha|
|00003070| 74 20 79 6f 75 20 68 61 | 76 65 20 73 77 69 74 63 |t you ha|ve switc|
|00003080| 68 65 64 20 74 6f 20 61 | 20 6e 65 77 20 66 69 6c |hed to a| new fil|
|00003090| 65 20 61 66 74 65 72 0a | 09 20 20 68 61 76 69 6e |e after.|. havin|
|000030a0| 67 20 73 65 65 6e 20 61 | 6e 20 45 4f 46 20 6f 6e |g seen a|n EOF on|
|000030b0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 69 6e 70 | the cur|rent inp|
|000030c0| 75 74 20 66 69 6c 65 2e | 20 20 49 6e 73 74 65 61 |ut file.| Instea|
|000030d0| 64 2c 20 6a 75 73 74 0a | 09 20 20 70 6f 69 6e 74 |d, just.|. point|
|000030e0| 20 79 79 69 6e 20 61 74 | 20 74 68 65 20 6e 65 77 | yyin at| the new|
|000030f0| 20 66 69 6c 65 20 61 6e | 64 20 63 6f 6e 74 69 6e | file an|d contin|
|00003100| 75 65 20 73 63 61 6e 6e | 69 6e 67 2e 0a 0a 09 2d |ue scann|ing....-|
|00003110| 20 59 6f 75 20 6e 6f 20 | 6c 6f 6e 67 65 72 20 6e | You no |longer n|
|00003120| 65 65 64 20 74 6f 20 69 | 6e 76 6f 6b 65 20 59 59 |eed to i|nvoke YY|
|00003130| 5f 4e 45 57 5f 46 49 4c | 45 20 69 6e 20 61 6e 20 |_NEW_FIL|E in an |
|00003140| 3c 3c 45 4f 46 3e 3e 20 | 61 63 74 69 6f 6e 0a 09 |<<EOF>> |action..|
|00003150| 20 20 74 6f 20 69 6e 64 | 69 63 61 74 65 20 79 6f | to ind|icate yo|
|00003160| 75 20 77 69 73 68 20 74 | 6f 20 63 6f 6e 74 69 6e |u wish t|o contin|
|00003170| 75 65 20 73 63 61 6e 6e | 69 6e 67 2e 20 20 53 69 |ue scann|ing. Si|
|00003180| 6d 70 6c 79 20 70 6f 69 | 6e 74 20 79 79 69 6e 0a |mply poi|nt yyin.|
|00003190| 09 20 20 61 74 20 61 20 | 6e 65 77 20 66 69 6c 65 |. at a |new file|
|000031a0| 2e 0a 0a 09 2d 20 41 20 | 6c 65 61 64 69 6e 67 20 |....- A |leading |
|000031b0| 27 23 27 20 6e 6f 20 6c | 6f 6e 67 65 72 20 69 6e |'#' no l|onger in|
|000031c0| 74 72 6f 64 75 63 65 73 | 20 61 20 63 6f 6d 6d 65 |troduces| a comme|
|000031d0| 6e 74 20 69 6e 20 61 20 | 66 6c 65 78 20 69 6e 70 |nt in a |flex inp|
|000031e0| 75 74 2e 0a 0a 09 2d 20 | 66 6c 65 78 20 6e 6f 20 |ut....- |flex no |
|000031f0| 6c 6f 6e 67 65 72 20 63 | 6f 6e 73 69 64 65 72 73 |longer c|onsiders|
|00003200| 20 66 6f 72 6d 66 65 65 | 64 20 28 27 5c 66 27 29 | formfee|d ('\f')|
|00003210| 20 61 20 77 68 69 74 65 | 73 70 61 63 65 20 63 68 | a white|space ch|
|00003220| 61 72 61 63 74 65 72 2e | 0a 0a 09 2d 20 25 74 2c |aracter.|...- %t,|
|00003230| 20 49 27 6d 20 68 61 70 | 70 79 20 74 6f 20 72 65 | I'm hap|py to re|
|00003240| 70 6f 72 74 2c 20 68 61 | 73 20 62 65 65 6e 20 6e |port, ha|s been n|
|00003250| 75 6b 65 64 2e 0a 0a 09 | 2d 20 54 68 65 20 27 2d |uked....|- The '-|
|00003260| 70 27 20 6f 70 74 69 6f | 6e 20 6d 61 79 20 62 65 |p' optio|n may be|
|00003270| 20 67 69 76 65 6e 20 74 | 77 69 63 65 20 28 27 2d | given t|wice ('-|
|00003280| 70 70 27 29 20 74 6f 20 | 69 6e 73 74 72 75 63 74 |pp') to |instruct|
|00003290| 20 66 6c 65 78 20 74 6f | 0a 09 20 20 72 65 70 6f | flex to|.. repo|
|000032a0| 72 74 20 6d 69 6e 6f 72 | 20 70 65 72 66 6f 72 6d |rt minor| perform|
|000032b0| 61 6e 63 65 20 70 72 6f | 62 6c 65 6d 73 20 61 73 |ance pro|blems as|
|000032c0| 20 77 65 6c 6c 20 61 73 | 20 6d 61 6a 6f 72 20 6f | well as| major o|
|000032d0| 6e 65 73 2e 0a 0a 09 2d | 20 54 68 65 20 27 2d 76 |nes....-| The '-v|
|000032e0| 27 20 76 65 72 62 6f 73 | 65 20 6f 75 74 70 75 74 |' verbos|e output|
|000032f0| 20 6e 6f 20 6c 6f 6e 67 | 65 72 20 69 6e 63 6c 75 | no long|er inclu|
|00003300| 64 65 73 20 73 74 61 72 | 74 2f 66 69 6e 69 73 68 |des star|t/finish|
|00003310| 20 74 69 6d 65 0a 09 20 | 20 69 6e 66 6f 72 6d 61 | time.. | informa|
|00003320| 74 69 6f 6e 2e 0a 0a 09 | 2d 20 4e 65 77 6c 69 6e |tion....|- Newlin|
|00003330| 65 73 20 69 6e 20 66 6c | 65 78 20 69 6e 70 75 74 |es in fl|ex input|
|00003340| 73 20 63 61 6e 20 6f 70 | 74 69 6f 6e 61 6c 6c 79 |s can op|tionally|
|00003350| 20 69 6e 63 6c 75 64 65 | 20 6c 65 61 64 69 6e 67 | include| leading|
|00003360| 20 6f 72 0a 09 20 20 74 | 72 61 69 6c 69 6e 67 20 | or.. t|railing |
|00003370| 63 61 72 72 69 61 67 65 | 2d 72 65 74 75 72 6e 73 |carriage|-returns|
|00003380| 20 28 27 5c 72 27 29 2c | 20 69 6e 20 73 75 70 70 | ('\r'),| in supp|
|00003390| 6f 72 74 20 6f 66 20 73 | 65 76 65 72 61 6c 20 50 |ort of s|everal P|
|000033a0| 43 2f 4d 61 63 0a 09 20 | 20 72 75 6e 2d 74 69 6d |C/Mac.. | run-tim|
|000033b0| 65 20 6c 69 62 72 61 72 | 69 65 73 20 74 68 61 74 |e librar|ies that|
|000033c0| 20 61 75 74 6f 6d 61 74 | 69 63 61 6c 6c 79 20 69 | automat|ically i|
|000033d0| 6e 63 6c 75 64 65 20 74 | 68 65 73 65 2e 0a 0a 09 |nclude t|hese....|
|000033e0| 2d 20 41 20 73 74 61 72 | 74 20 63 6f 6e 64 69 74 |- A star|t condit|
|000033f0| 69 6f 6e 20 6f 66 20 74 | 68 65 20 66 6f 72 6d 20 |ion of t|he form |
|00003400| 22 3c 2a 3e 22 20 6d 61 | 6b 65 73 20 74 68 65 20 |"<*>" ma|kes the |
|00003410| 66 6f 6c 6c 6f 77 69 6e | 67 20 72 75 6c 65 0a 09 |followin|g rule..|
|00003420| 20 20 61 63 74 69 76 65 | 20 69 6e 20 65 76 65 72 | active| in ever|
|00003430| 79 20 73 74 61 72 74 20 | 63 6f 6e 64 69 74 69 6f |y start |conditio|
|00003440| 6e 2c 20 77 68 65 74 68 | 65 72 20 65 78 63 6c 75 |n, wheth|er exclu|
|00003450| 73 69 76 65 20 6f 72 20 | 69 6e 63 6c 75 73 69 76 |sive or |inclusiv|
|00003460| 65 2e 0a 0a 09 2d 20 54 | 68 65 20 66 6f 6c 6c 6f |e....- T|he follo|
|00003470| 77 69 6e 67 20 69 74 65 | 6d 73 20 68 61 76 65 20 |wing ite|ms have |
|00003480| 62 65 65 6e 20 63 6f 72 | 72 65 63 74 65 64 20 69 |been cor|rected i|
|00003490| 6e 20 74 68 65 20 66 6c | 65 78 20 64 6f 63 75 6d |n the fl|ex docum|
|000034a0| 65 6e 74 61 74 69 6f 6e | 3a 0a 0a 09 09 2d 20 27 |entation|:....- '|
|000034b0| 2d 43 27 20 74 61 62 6c | 65 20 63 6f 6d 70 72 65 |-C' tabl|e compre|
|000034c0| 73 73 69 6f 6e 20 6f 70 | 74 69 6f 6e 73 20 2a 61 |ssion op|tions *a|
|000034d0| 72 65 2a 20 63 75 6d 75 | 6c 61 74 69 76 65 2e 0a |re* cumu|lative..|
|000034e0| 0a 09 09 2d 20 59 6f 75 | 20 6d 61 79 20 6d 6f 64 |...- You| may mod|
|000034f0| 69 66 79 20 79 79 74 65 | 78 74 20 62 75 74 20 6e |ify yyte|xt but n|
|00003500| 6f 74 20 6c 65 6e 67 74 | 68 65 6e 20 69 74 20 62 |ot lengt|hen it b|
|00003510| 79 20 61 70 70 65 6e 64 | 69 6e 67 0a 09 09 20 20 |y append|ing... |
|00003520| 63 68 61 72 61 63 74 65 | 72 73 20 74 6f 20 74 68 |characte|rs to th|
|00003530| 65 20 65 6e 64 2e 20 20 | 4d 6f 64 69 66 79 69 6e |e end. |Modifyin|
|00003540| 67 20 69 74 73 20 66 69 | 6e 61 6c 20 63 68 61 72 |g its fi|nal char|
|00003550| 61 63 74 65 72 0a 09 09 | 20 20 77 69 6c 6c 20 61 |acter...| will a|
|00003560| 66 66 65 63 74 20 27 5e | 27 20 61 6e 63 68 6f 72 |ffect '^|' anchor|
|00003570| 69 6e 67 20 66 6f 72 20 | 74 68 65 20 6e 65 78 74 |ing for |the next|
|00003580| 20 72 75 6c 65 20 6d 61 | 74 63 68 65 64 0a 09 09 | rule ma|tched...|
|00003590| 20 20 69 66 20 74 68 65 | 20 63 68 61 72 61 63 74 | if the| charact|
|000035a0| 65 72 20 69 73 20 63 68 | 61 6e 67 65 64 20 74 6f |er is ch|anged to|
|000035b0| 20 6f 72 20 66 72 6f 6d | 20 61 20 6e 65 77 6c 69 | or from| a newli|
|000035c0| 6e 65 2e 0a 0a 09 09 2d | 20 54 68 65 20 74 65 72 |ne.....-| The ter|
|000035d0| 6d 20 22 62 61 63 6b 74 | 72 61 63 6b 69 6e 67 22 |m "backt|racking"|
|000035e0| 20 68 61 73 20 62 65 65 | 6e 20 72 65 6e 61 6d 65 | has bee|n rename|
|000035f0| 64 20 22 62 61 63 6b 69 | 6e 67 20 75 70 22 2c 0a |d "backi|ng up",.|
|00003600| 09 09 20 20 73 69 6e 63 | 65 20 69 74 20 69 73 20 |.. sinc|e it is |
|00003610| 61 20 6f 6e 65 2d 74 69 | 6d 65 20 72 65 70 6f 73 |a one-ti|me repos|
|00003620| 69 74 69 6f 6e 69 6e 67 | 20 61 6e 64 20 6e 6f 74 |itioning| and not|
|00003630| 20 61 20 72 65 70 65 61 | 74 65 64 0a 09 09 20 20 | a repea|ted... |
|00003640| 73 65 61 72 63 68 2e 20 | 20 57 68 61 74 20 75 73 |search. | What us|
|00003650| 65 64 20 74 6f 20 62 65 | 20 74 68 65 20 22 6c 65 |ed to be| the "le|
|00003660| 78 2e 62 61 63 6b 74 72 | 61 63 6b 22 20 66 69 6c |x.backtr|ack" fil|
|00003670| 65 20 69 73 20 6e 6f 77 | 0a 09 09 20 20 22 6c 65 |e is now|... "le|
|00003680| 78 2e 62 61 63 6b 75 70 | 22 2e 0a 0a 09 09 2d 20 |x.backup|".....- |
|00003690| 55 6e 69 6e 64 65 6e 74 | 65 64 20 22 2f 2a 20 2e |Unindent|ed "/* .|
|000036a0| 2e 2e 20 2a 2f 22 20 63 | 6f 6d 6d 65 6e 74 73 20 |.. */" c|omments |
|000036b0| 61 72 65 20 61 6c 6c 6f | 77 65 64 20 69 6e 20 74 |are allo|wed in t|
|000036c0| 68 65 20 66 69 72 73 74 | 0a 09 09 20 20 66 6c 65 |he first|... fle|
|000036d0| 78 20 69 6e 70 75 74 20 | 73 65 63 74 69 6f 6e 2c |x input |section,|
|000036e0| 20 62 75 74 20 6e 6f 74 | 20 69 6e 20 74 68 65 20 | but not| in the |
|000036f0| 73 65 63 6f 6e 64 2e 0a | 0a 09 09 2d 20 79 79 6c |second..|...- yyl|
|00003700| 65 73 73 28 29 20 63 61 | 6e 20 6f 6e 6c 79 20 62 |ess() ca|n only b|
|00003710| 65 20 75 73 65 64 20 69 | 6e 20 74 68 65 20 66 6c |e used i|n the fl|
|00003720| 65 78 20 69 6e 70 75 74 | 20 73 6f 75 72 63 65 2c |ex input| source,|
|00003730| 20 6e 6f 74 0a 09 09 20 | 20 65 78 74 65 72 6e 61 | not... | externa|
|00003740| 6c 6c 79 2e 0a 0a 09 09 | 2d 20 59 6f 75 20 63 61 |lly.....|- You ca|
|00003750| 6e 20 75 73 65 20 22 79 | 79 72 65 73 74 61 72 74 |n use "y|yrestart|
|00003760| 28 79 79 69 6e 29 22 20 | 74 6f 20 74 68 72 6f 77 |(yyin)" |to throw|
|00003770| 20 61 77 61 79 20 74 68 | 65 0a 09 09 20 20 63 75 | away th|e... cu|
|00003780| 72 72 65 6e 74 20 63 6f | 6e 74 65 6e 74 73 20 6f |rrent co|ntents o|
|00003790| 66 20 74 68 65 20 69 6e | 70 75 74 20 62 75 66 66 |f the in|put buff|
|000037a0| 65 72 2e 0a 0a 09 09 2d | 20 54 6f 20 77 72 69 74 |er.....-| To writ|
|000037b0| 65 20 68 69 67 68 2d 73 | 70 65 65 64 20 73 63 61 |e high-s|peed sca|
|000037c0| 6e 6e 65 72 73 2c 20 61 | 74 74 65 6d 70 74 20 74 |nners, a|ttempt t|
|000037d0| 6f 20 6d 61 74 63 68 20 | 61 73 20 6d 75 63 68 0a |o match |as much.|
|000037e0| 09 09 20 20 74 65 78 74 | 20 61 73 20 70 6f 73 73 |.. text| as poss|
|000037f0| 69 62 6c 65 20 77 69 74 | 68 20 65 61 63 68 20 72 |ible wit|h each r|
|00003800| 75 6c 65 2e 20 20 53 65 | 65 20 4d 49 53 43 2f 66 |ule. Se|e MISC/f|
|00003810| 61 73 74 77 63 2f 52 45 | 41 44 4d 45 0a 09 09 20 |astwc/RE|ADME... |
|00003820| 20 66 6f 72 20 6d 6f 72 | 65 20 69 6e 66 6f 72 6d | for mor|e inform|
|00003830| 61 74 69 6f 6e 2e 0a 0a | 09 09 2d 20 55 73 69 6e |ation...|..- Usin|
|00003840| 67 20 74 68 65 20 62 65 | 67 69 6e 6e 69 6e 67 2d |g the be|ginning-|
|00003850| 6f 66 2d 6c 69 6e 65 20 | 6f 70 65 72 61 74 6f 72 |of-line |operator|
|00003860| 20 28 27 5e 27 29 20 69 | 73 20 66 61 69 72 6c 79 | ('^') i|s fairly|
|00003870| 0a 09 09 20 20 63 68 65 | 61 70 2e 20 20 55 73 69 |... che|ap. Usi|
|00003880| 6e 67 20 75 6e 70 75 74 | 28 29 20 69 73 20 65 78 |ng unput|() is ex|
|00003890| 70 65 6e 73 69 76 65 2e | 20 20 55 73 69 6e 67 20 |pensive.| Using |
|000038a0| 79 79 6c 65 73 73 28 29 | 20 69 73 0a 09 09 20 20 |yyless()| is... |
|000038b0| 63 68 65 61 70 2e 0a 0a | 09 09 2d 20 41 6e 20 65 |cheap...|..- An e|
|000038c0| 78 61 6d 70 6c 65 20 6f | 66 20 73 63 61 6e 6e 69 |xample o|f scanni|
|000038d0| 6e 67 20 73 74 72 69 6e | 67 73 20 77 69 74 68 20 |ng strin|gs with |
|000038e0| 65 6d 62 65 64 64 65 64 | 20 65 73 63 61 70 65 0a |embedded| escape.|
|000038f0| 09 09 20 20 73 65 71 75 | 65 6e 63 65 73 20 68 61 |.. sequ|ences ha|
|00003900| 73 20 62 65 65 6e 20 61 | 64 64 65 64 2e 0a 0a 09 |s been a|dded....|
|00003910| 09 2d 20 54 68 65 20 65 | 78 61 6d 70 6c 65 20 6f |.- The e|xample o|
|00003920| 66 20 62 61 63 6b 69 6e | 67 2d 75 70 20 69 6e 20 |f backin|g-up in |
|00003930| 66 6c 65 78 64 6f 63 20 | 77 61 73 20 65 72 72 6f |flexdoc |was erro|
|00003940| 6e 65 6f 75 73 3b 20 69 | 74 0a 09 09 20 20 68 61 |neous; i|t... ha|
|00003950| 73 20 62 65 65 6e 20 63 | 6f 72 72 65 63 74 65 64 |s been c|orrected|
|00003960| 2e 0a 0a 09 2d 20 41 20 | 66 6c 65 78 20 73 63 61 |....- A |flex sca|
|00003970| 6e 6e 65 72 27 73 20 69 | 6e 74 65 72 6e 61 6c 20 |nner's i|nternal |
|00003980| 62 75 66 66 65 72 20 6e | 6f 77 20 64 79 6e 61 6d |buffer n|ow dynam|
|00003990| 69 63 61 6c 6c 79 20 67 | 72 6f 77 73 20 69 66 20 |ically g|rows if |
|000039a0| 6e 65 65 64 65 64 0a 09 | 20 20 74 6f 20 6d 61 74 |needed..| to mat|
|000039b0| 63 68 20 6c 61 72 67 65 | 20 74 6f 6b 65 6e 73 2e |ch large| tokens.|
|000039c0| 20 20 4e 6f 74 65 20 74 | 68 61 74 20 67 72 6f 77 | Note t|hat grow|
|000039d0| 69 6e 67 20 74 68 65 20 | 62 75 66 66 65 72 20 70 |ing the |buffer p|
|000039e0| 72 65 73 65 6e 74 6c 79 | 0a 09 20 20 72 65 71 75 |resently|.. requ|
|000039f0| 69 72 65 73 20 72 65 73 | 63 61 6e 6e 69 6e 67 20 |ires res|canning |
|00003a00| 74 68 65 20 28 6c 61 72 | 67 65 29 20 74 6f 6b 65 |the (lar|ge) toke|
|00003a10| 6e 2c 20 73 6f 20 63 6f | 6e 73 75 6d 69 6e 67 20 |n, so co|nsuming |
|00003a20| 61 20 6c 6f 74 20 6f 66 | 0a 09 20 20 74 65 78 74 |a lot of|.. text|
|00003a30| 20 74 68 69 73 20 77 61 | 79 20 69 73 20 61 20 73 | this wa|y is a s|
|00003a40| 6c 6f 77 20 70 72 6f 63 | 65 73 73 2e 20 20 41 6c |low proc|ess. Al|
|00003a50| 73 6f 20 6e 6f 74 65 20 | 74 68 61 74 20 70 72 65 |so note |that pre|
|00003a60| 73 65 6e 74 6c 79 20 74 | 68 65 0a 09 20 20 62 75 |sently t|he.. bu|
|00003a70| 66 66 65 72 20 64 6f 65 | 73 20 2a 6e 6f 74 2a 20 |ffer doe|s *not* |
|00003a80| 67 72 6f 77 20 69 66 20 | 79 6f 75 20 75 6e 70 75 |grow if |you unpu|
|00003a90| 74 28 29 20 6d 6f 72 65 | 20 74 65 78 74 20 74 68 |t() more| text th|
|00003aa0| 61 6e 20 63 61 6e 20 66 | 69 74 0a 09 20 20 69 6e |an can f|it.. in|
|00003ab0| 74 6f 20 74 68 65 20 62 | 75 66 66 65 72 2e 0a 0a |to the b|uffer...|
|00003ac0| 09 2d 20 54 68 65 20 4d | 49 53 43 2f 20 64 69 72 |.- The M|ISC/ dir|
|00003ad0| 65 63 74 6f 72 79 20 68 | 61 73 20 62 65 65 6e 20 |ectory h|as been |
|00003ae0| 72 65 6f 72 67 61 6e 69 | 7a 65 64 3b 20 73 65 65 |reorgani|zed; see|
|00003af0| 20 4d 49 53 43 2f 52 45 | 41 44 4d 45 20 66 6f 72 | MISC/RE|ADME for|
|00003b00| 0a 09 20 20 64 65 74 61 | 69 6c 73 2e 0a 0a 09 2d |.. deta|ils....-|
|00003b10| 20 79 79 6c 65 73 73 28 | 29 20 63 61 6e 20 6e 6f | yyless(|) can no|
|00003b20| 77 20 62 65 20 75 73 65 | 64 20 69 6e 20 74 68 65 |w be use|d in the|
|00003b30| 20 74 68 69 72 64 20 28 | 75 73 65 72 20 61 63 74 | third (|user act|
|00003b40| 69 6f 6e 29 20 73 65 63 | 74 69 6f 6e 0a 09 20 20 |ion) sec|tion.. |
|00003b50| 6f 66 20 61 20 73 63 61 | 6e 6e 65 72 20 73 70 65 |of a sca|nner spe|
|00003b60| 63 69 66 69 63 61 74 69 | 6f 6e 2c 20 74 68 61 6e |cificati|on, than|
|00003b70| 6b 73 20 74 6f 20 43 65 | 72 69 65 6c 20 4a 61 63 |ks to Ce|riel Jac|
|00003b80| 6f 62 73 2e 20 20 79 79 | 6c 65 73 73 28 29 0a 09 |obs. yy|less()..|
|00003b90| 20 20 72 65 6d 61 69 6e | 73 20 61 20 6d 61 63 72 | remain|s a macr|
|00003ba0| 6f 20 61 6e 64 20 63 61 | 6e 6e 6f 74 20 62 65 20 |o and ca|nnot be |
|00003bb0| 75 73 65 64 20 6f 75 74 | 73 69 64 65 20 6f 66 20 |used out|side of |
|00003bc0| 74 68 65 20 73 63 61 6e | 6e 65 72 20 73 6f 75 72 |the scan|ner sour|
|00003bd0| 63 65 2e 0a 0a 09 2d 20 | 54 68 65 20 73 6b 65 6c |ce....- |The skel|
|00003be0| 65 74 6f 6e 20 66 69 6c | 65 20 69 73 20 6e 6f 20 |eton fil|e is no |
|00003bf0| 6c 6f 6e 67 65 72 20 6f | 70 65 6e 65 64 20 61 74 |longer o|pened at|
|00003c00| 20 72 75 6e 2d 74 69 6d | 65 2c 20 62 75 74 20 69 | run-tim|e, but i|
|00003c10| 6e 73 74 65 61 64 0a 09 | 20 20 63 6f 6d 70 69 6c |nstead..| compil|
|00003c20| 65 64 20 69 6e 74 6f 20 | 61 20 6c 61 72 67 65 20 |ed into |a large |
|00003c30| 73 74 72 69 6e 67 20 61 | 72 72 61 79 20 28 74 68 |string a|rray (th|
|00003c40| 61 6e 6b 73 20 74 6f 20 | 4a 6f 68 6e 20 47 69 6c |anks to |John Gil|
|00003c50| 6d 6f 72 65 20 61 6e 64 | 0a 09 20 20 66 72 69 65 |more and|.. frie|
|00003c60| 6e 64 73 20 61 74 20 43 | 79 67 6e 75 73 29 2e 20 |nds at C|ygnus). |
|00003c70| 20 59 6f 75 20 63 61 6e | 20 73 74 69 6c 6c 20 75 | You can| still u|
|00003c80| 73 65 20 74 68 65 20 2d | 53 20 66 6c 61 67 20 74 |se the -|S flag t|
|00003c90| 6f 20 70 6f 69 6e 74 20 | 66 6c 65 78 0a 09 20 20 |o point |flex.. |
|00003ca0| 61 74 20 61 20 64 69 66 | 66 65 72 65 6e 74 20 73 |at a dif|ferent s|
|00003cb0| 6b 65 6c 65 74 6f 6e 20 | 66 69 6c 65 2c 20 74 68 |keleton |file, th|
|00003cc0| 6f 75 67 68 20 69 66 20 | 79 6f 75 20 75 73 65 20 |ough if |you use |
|00003cd0| 74 68 69 73 20 6f 70 74 | 69 6f 6e 20 6c 65 74 0a |this opt|ion let.|
|00003ce0| 09 20 20 6d 65 20 6b 6e | 6f 77 2c 20 61 73 20 49 |. me kn|ow, as I|
|00003cf0| 20 70 6c 61 6e 20 74 6f | 20 6f 74 68 65 72 77 69 | plan to| otherwi|
|00003d00| 73 65 20 64 6f 20 61 77 | 61 79 20 77 69 74 68 20 |se do aw|ay with |
|00003d10| 2d 53 20 69 6e 20 74 68 | 65 20 6e 65 61 72 0a 09 |-S in th|e near..|
|00003d20| 20 20 66 75 74 75 72 65 | 2e 0a 0a 09 2d 20 66 6c | future|....- fl|
|00003d30| 65 78 20 6e 6f 20 6c 6f | 6e 67 65 72 20 75 73 65 |ex no lo|nger use|
|00003d40| 73 20 61 20 74 65 6d 70 | 6f 72 61 72 79 20 66 69 |s a temp|orary fi|
|00003d50| 6c 65 20 74 6f 20 73 74 | 6f 72 65 20 74 68 65 20 |le to st|ore the |
|00003d60| 73 63 61 6e 6e 65 72 27 | 73 0a 09 20 20 61 63 74 |scanner'|s.. act|
|00003d70| 69 6f 6e 73 2e 0a 0a 09 | 2d 20 41 20 6e 75 6d 62 |ions....|- A numb|
|00003d80| 65 72 20 6f 66 20 63 68 | 61 6e 67 65 73 20 68 61 |er of ch|anges ha|
|00003d90| 76 65 20 62 65 65 6e 20 | 6d 61 64 65 20 74 6f 20 |ve been |made to |
|00003da0| 64 65 63 72 65 61 73 65 | 20 70 6f 72 74 69 6e 67 |decrease| porting|
|00003db0| 20 68 65 61 64 61 63 68 | 65 73 2e 0a 09 20 20 49 | headach|es... I|
|00003dc0| 6e 20 70 61 72 74 69 63 | 75 6c 61 72 2c 20 66 6c |n partic|ular, fl|
|00003dd0| 65 78 20 6e 6f 20 6c 6f | 6e 67 65 72 20 75 73 65 |ex no lo|nger use|
|00003de0| 73 20 6d 65 6d 73 65 74 | 28 29 20 6f 72 20 63 74 |s memset|() or ct|
|00003df0| 69 6d 65 28 29 2c 20 61 | 6e 64 0a 09 20 20 70 72 |ime(), a|nd.. pr|
|00003e00| 6f 76 69 64 65 73 20 61 | 20 73 69 6e 67 6c 65 20 |ovides a| single |
|00003e10| 73 69 6d 70 6c 65 20 6d | 65 63 68 61 6e 69 73 6d |simple m|echanism|
|00003e20| 20 66 6f 72 20 64 65 61 | 6c 69 6e 67 20 77 69 74 | for dea|ling wit|
|00003e30| 68 20 43 20 63 6f 6d 70 | 69 6c 65 72 73 0a 09 20 |h C comp|ilers.. |
|00003e40| 20 74 68 61 74 20 73 74 | 69 6c 6c 20 64 65 66 69 | that st|ill defi|
|00003e50| 6e 65 20 6d 61 6c 6c 6f | 63 28 29 20 61 73 20 72 |ne mallo|c() as r|
|00003e60| 65 74 75 72 6e 69 6e 67 | 20 63 68 61 72 2a 20 69 |eturning| char* i|
|00003e70| 6e 73 74 65 61 64 20 6f | 66 20 76 6f 69 64 2a 2e |nstead o|f void*.|
|00003e80| 0a 0a 09 2d 20 46 6c 65 | 78 20 6e 6f 77 20 64 65 |...- Fle|x now de|
|00003e90| 74 65 63 74 73 20 69 66 | 20 74 68 65 20 73 63 61 |tects if| the sca|
|00003ea0| 6e 6e 65 72 20 73 70 65 | 63 69 66 69 63 61 74 69 |nner spe|cificati|
|00003eb0| 6f 6e 20 72 65 71 75 69 | 72 65 73 20 74 68 65 20 |on requi|res the |
|00003ec0| 2d 38 20 66 6c 61 67 0a | 09 20 20 62 75 74 20 74 |-8 flag.|. but t|
|00003ed0| 68 65 20 66 6c 61 67 20 | 77 61 73 20 6e 6f 74 20 |he flag |was not |
|00003ee0| 67 69 76 65 6e 20 6f 72 | 20 6f 6e 20 62 79 20 64 |given or| on by d|
|00003ef0| 65 66 61 75 6c 74 2e 0a | 0a 09 2d 20 41 20 6e 75 |efault..|..- A nu|
|00003f00| 6d 62 65 72 20 6f 66 20 | 74 61 62 6c 65 2d 65 78 |mber of |table-ex|
|00003f10| 70 61 6e 73 69 6f 6e 20 | 66 65 6e 63 65 70 6f 73 |pansion |fencepos|
|00003f20| 74 20 62 75 67 73 20 68 | 61 76 65 20 62 65 65 6e |t bugs h|ave been|
|00003f30| 20 66 69 78 65 64 2c 0a | 09 20 20 6d 61 6b 69 6e | fixed,.|. makin|
|00003f40| 67 20 66 6c 65 78 20 6d | 6f 72 65 20 72 6f 62 75 |g flex m|ore robu|
|00003f50| 73 74 20 66 6f 72 20 67 | 65 6e 65 72 61 74 69 6e |st for g|eneratin|
|00003f60| 67 20 6c 61 72 67 65 20 | 73 63 61 6e 6e 65 72 73 |g large |scanners|
|00003f70| 2e 0a 0a 09 2d 20 66 6c | 65 78 20 6d 6f 72 65 20 |....- fl|ex more |
|00003f80| 63 6f 6e 73 69 73 74 65 | 6e 74 6c 79 20 69 64 65 |consiste|ntly ide|
|00003f90| 6e 74 69 66 69 65 73 20 | 74 68 65 20 6c 6f 63 61 |ntifies |the loca|
|00003fa0| 74 69 6f 6e 20 6f 66 20 | 65 72 72 6f 72 73 20 69 |tion of |errors i|
|00003fb0| 6e 0a 09 20 20 69 74 73 | 20 69 6e 70 75 74 2e 0a |n.. its| input..|
|00003fc0| 0a 09 2d 20 59 59 5f 55 | 53 45 52 5f 41 43 54 49 |..- YY_U|SER_ACTI|
|00003fd0| 4f 4e 20 69 73 20 6e 6f | 77 20 69 6e 76 6f 6b 65 |ON is no|w invoke|
|00003fe0| 64 20 6f 6e 6c 79 20 66 | 6f 72 20 22 72 65 61 6c |d only f|or "real|
|00003ff0| 22 20 61 63 74 69 6f 6e | 73 2c 20 6e 6f 74 20 66 |" action|s, not f|
|00004000| 6f 72 0a 09 20 20 69 6e | 74 65 72 6e 61 6c 20 61 |or.. in|ternal a|
|00004010| 63 74 69 6f 6e 73 20 75 | 73 65 64 20 62 79 20 74 |ctions u|sed by t|
|00004020| 68 65 20 73 63 61 6e 6e | 65 72 20 66 6f 72 20 74 |he scann|er for t|
|00004030| 68 69 6e 67 73 20 6c 69 | 6b 65 20 66 69 6c 6c 69 |hings li|ke filli|
|00004040| 6e 67 0a 09 20 20 74 68 | 65 20 62 75 66 66 65 72 |ng.. th|e buffer|
|00004050| 20 6f 72 20 68 61 6e 64 | 6c 69 6e 67 20 45 4f 46 | or hand|ling EOF|
|00004060| 2e 0a 0a 09 2d 20 54 68 | 65 20 72 75 6c 65 20 22 |....- Th|e rule "|
|00004070| 5b 5e 5d 5d 22 20 6e 6f | 77 20 6d 61 74 63 68 65 |[^]]" no|w matche|
|00004080| 73 20 61 6e 79 20 63 68 | 61 72 61 63 74 65 72 20 |s any ch|aracter |
|00004090| 6f 74 68 65 72 20 74 68 | 61 6e 20 61 20 27 5d 27 |other th|an a ']'|
|000040a0| 3b 0a 09 20 20 66 6f 72 | 6d 65 72 6c 79 20 69 74 |;.. for|merly it|
|000040b0| 20 6d 61 74 63 68 65 64 | 20 61 6e 79 20 63 68 61 | matched| any cha|
|000040c0| 72 61 63 74 65 72 20 61 | 74 20 61 6c 6c 20 66 6f |racter a|t all fo|
|000040d0| 6c 6c 6f 77 65 64 20 62 | 79 20 61 20 27 5d 27 2e |llowed b|y a ']'.|
|000040e0| 0a 09 20 20 54 68 69 73 | 20 63 68 61 6e 67 65 20 |.. This| change |
|000040f0| 77 61 73 20 6d 61 64 65 | 20 66 6f 72 20 63 6f 6d |was made| for com|
|00004100| 70 61 74 69 62 69 6c 69 | 74 79 20 77 69 74 68 20 |patibili|ty with |
|00004110| 41 54 26 54 20 6c 65 78 | 2e 0a 0a 09 2d 20 41 20 |AT&T lex|....- A |
|00004120| 6c 61 72 67 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |large nu|mber of |
|00004130| 6d 69 73 63 65 6c 6c 61 | 6e 65 6f 75 73 20 62 75 |miscella|neous bu|
|00004140| 67 73 20 68 61 76 65 20 | 62 65 65 6e 20 66 6f 75 |gs have |been fou|
|00004150| 6e 64 20 61 6e 64 20 66 | 69 78 65 64 0a 09 20 20 |nd and f|ixed.. |
|00004160| 74 68 61 6e 6b 73 20 74 | 6f 20 47 65 72 68 61 72 |thanks t|o Gerhar|
|00004170| 64 20 57 69 6c 68 65 6c | 6d 73 2e 0a 0a 09 2d 20 |d Wilhel|ms....- |
|00004180| 54 68 65 20 73 6f 75 72 | 63 65 20 63 6f 64 65 20 |The sour|ce code |
|00004190| 68 61 73 20 62 65 65 6e | 20 68 65 61 76 69 6c 79 |has been| heavily|
|000041a0| 20 72 65 66 6f 72 6d 61 | 74 74 65 64 2c 20 6d 61 | reforma|tted, ma|
|000041b0| 6b 69 6e 67 20 70 61 74 | 63 68 65 73 0a 09 20 20 |king pat|ches.. |
|000041c0| 72 65 6c 61 74 69 76 65 | 20 74 6f 20 70 72 65 76 |relative| to prev|
|000041d0| 69 6f 75 73 20 66 6c 65 | 78 20 72 65 6c 65 61 73 |ious fle|x releas|
|000041e0| 65 73 20 6e 6f 20 6c 6f | 6e 67 65 72 20 61 63 63 |es no lo|nger acc|
|000041f0| 75 72 61 74 65 2e 0a 0a | 0a 43 68 61 6e 67 65 73 |urate...|.Changes|
|00004200| 20 62 65 74 77 65 65 6e | 20 32 2e 33 20 50 61 74 | between| 2.3 Pat|
|00004210| 63 68 20 23 38 20 28 32 | 31 46 65 62 39 33 29 20 |ch #8 (2|1Feb93) |
|00004220| 61 6e 64 20 32 2e 33 20 | 50 61 74 63 68 20 23 37 |and 2.3 |Patch #7|
|00004230| 3a 0a 0a 09 2d 20 46 69 | 78 65 64 20 62 75 67 73 |:...- Fi|xed bugs|
|00004240| 20 69 6e 20 64 79 6e 61 | 6d 69 63 20 6d 65 6d 6f | in dyna|mic memo|
|00004250| 72 79 20 61 6c 6c 6f 63 | 61 74 69 6f 6e 20 6c 65 |ry alloc|ation le|
|00004260| 61 64 69 6e 67 20 74 6f | 20 67 72 69 65 76 6f 75 |ading to| grievou|
|00004270| 73 0a 09 20 20 66 65 6e | 63 65 70 6f 73 74 20 70 |s.. fen|cepost p|
|00004280| 72 6f 62 6c 65 6d 73 20 | 77 68 65 6e 20 67 65 6e |roblems |when gen|
|00004290| 65 72 61 74 69 6e 67 20 | 6c 61 72 67 65 20 73 63 |erating |large sc|
|000042a0| 61 6e 6e 65 72 73 2e 0a | 09 2d 20 46 69 78 65 64 |anners..|.- Fixed|
|000042b0| 20 62 75 67 20 63 61 75 | 73 69 6e 67 20 69 6e 66 | bug cau|sing inf|
|000042c0| 69 6e 69 74 65 20 6c 6f | 6f 70 73 20 6f 6e 20 63 |inite lo|ops on c|
|000042d0| 68 61 72 61 63 74 65 72 | 20 63 6c 61 73 73 65 73 |haracter| classes|
|000042e0| 20 77 69 74 68 20 38 2d | 62 69 74 0a 09 20 20 63 | with 8-|bit.. c|
|000042f0| 68 61 72 61 63 74 65 72 | 73 20 69 6e 20 74 68 65 |haracter|s in the|
|00004300| 6d 2e 0a 09 2d 20 46 69 | 78 65 64 20 62 75 67 20 |m...- Fi|xed bug |
|00004310| 69 6e 20 6d 61 74 63 68 | 69 6e 67 20 72 65 70 65 |in match|ing repe|
|00004320| 74 69 74 69 6f 6e 73 20 | 77 69 74 68 20 61 20 6c |titions |with a l|
|00004330| 6f 77 65 72 20 62 6f 75 | 6e 64 20 6f 66 20 30 2e |ower bou|nd of 0.|
|00004340| 0a 09 2d 20 46 69 78 65 | 64 20 62 75 67 20 69 6e |..- Fixe|d bug in|
|00004350| 20 73 63 61 6e 6e 69 6e | 67 20 4e 55 4c 20 63 68 | scannin|g NUL ch|
|00004360| 61 72 61 63 74 65 72 73 | 20 75 73 69 6e 67 20 61 |aracters| using a|
|00004370| 6e 20 22 69 6e 74 65 72 | 61 63 74 69 76 65 22 20 |n "inter|active" |
|00004380| 73 63 61 6e 6e 65 72 2e | 0a 09 2d 20 46 69 78 65 |scanner.|..- Fixe|
|00004390| 64 20 62 75 67 20 69 6e | 20 75 73 69 6e 67 20 79 |d bug in| using y|
|000043a0| 79 6d 6f 72 65 28 29 20 | 61 74 20 74 68 65 20 65 |ymore() |at the e|
|000043b0| 6e 64 20 6f 66 20 61 20 | 66 69 6c 65 2e 0a 09 2d |nd of a |file...-|
|000043c0| 20 46 69 78 65 64 20 62 | 75 67 20 69 6e 20 6d 69 | Fixed b|ug in mi|
|000043d0| 73 72 65 63 6f 67 6e 69 | 7a 69 6e 67 20 72 75 6c |srecogni|zing rul|
|000043e0| 65 73 20 77 69 74 68 20 | 76 61 72 69 61 62 6c 65 |es with |variable|
|000043f0| 20 74 72 61 69 6c 69 6e | 67 20 63 6f 6e 74 65 78 | trailin|g contex|
|00004400| 74 2e 0a 09 2d 20 46 69 | 78 65 64 20 62 75 67 20 |t...- Fi|xed bug |
|00004410| 63 6f 6d 70 69 6c 69 6e | 67 20 66 6c 65 78 20 6f |compilin|g flex o|
|00004420| 6e 20 53 75 6e 73 20 75 | 73 69 6e 67 20 67 63 63 |n Suns u|sing gcc|
|00004430| 20 32 2e 0a 09 2d 20 46 | 69 78 65 64 20 62 75 67 | 2...- F|ixed bug|
|00004440| 20 69 6e 20 6e 6f 74 20 | 72 65 63 6f 67 6e 69 7a | in not |recogniz|
|00004450| 69 6e 67 20 74 68 61 74 | 20 69 6e 70 75 74 20 66 |ing that| input f|
|00004460| 69 6c 65 73 20 77 69 74 | 68 20 74 68 65 20 63 68 |iles wit|h the ch|
|00004470| 61 72 61 63 74 65 72 0a | 09 20 20 41 53 43 49 49 |aracter.|. ASCII|
|00004480| 20 31 32 38 20 69 6e 20 | 74 68 65 6d 20 72 65 71 | 128 in |them req|
|00004490| 75 69 72 65 20 74 68 65 | 20 2d 38 20 66 6c 61 67 |uire the| -8 flag|
|000044a0| 2e 0a 09 2d 20 46 69 78 | 65 64 20 62 75 67 20 74 |...- Fix|ed bug t|
|000044b0| 68 61 74 20 63 6f 75 6c | 64 20 63 61 75 73 65 20 |hat coul|d cause |
|000044c0| 61 6e 20 69 6e 66 69 6e | 69 74 65 20 6c 6f 6f 70 |an infin|ite loop|
|000044d0| 20 77 72 69 74 69 6e 67 | 20 6f 75 74 0a 09 20 20 | writing| out.. |
|000044e0| 65 72 72 6f 72 20 6d 65 | 73 73 61 67 65 73 2e 0a |error me|ssages..|
|000044f0| 09 2d 20 46 69 78 65 64 | 20 62 75 67 20 69 6e 20 |.- Fixed| bug in |
|00004500| 6e 6f 74 20 72 65 63 6f | 67 6e 69 7a 69 6e 67 20 |not reco|gnizing |
|00004510| 6f 6c 64 2d 73 74 79 6c | 65 20 6c 65 78 20 25 20 |old-styl|e lex % |
|00004520| 64 65 63 6c 61 72 61 74 | 69 6f 6e 73 20 69 66 0a |declarat|ions if.|
|00004530| 09 20 20 66 6f 6c 6c 6f | 77 65 64 20 62 79 20 61 |. follo|wed by a|
|00004540| 20 74 61 62 20 69 6e 73 | 74 65 61 64 20 6f 66 20 | tab ins|tead of |
|00004550| 61 20 73 70 61 63 65 2e | 0a 09 2d 20 46 69 78 65 |a space.|..- Fixe|
|00004560| 64 20 70 6f 74 65 6e 74 | 69 61 6c 20 63 72 61 73 |d potent|ial cras|
|00004570| 68 20 77 68 65 6e 20 66 | 6c 65 78 20 74 65 72 6d |h when f|lex term|
|00004580| 69 6e 61 74 65 64 20 65 | 61 72 6c 79 20 28 75 73 |inated e|arly (us|
|00004590| 75 61 6c 6c 79 20 64 75 | 65 0a 09 20 20 74 6f 20 |ually du|e.. to |
|000045a0| 61 20 62 61 64 20 66 6c | 61 67 29 20 61 6e 64 20 |a bad fl|ag) and |
|000045b0| 74 68 65 20 2d 76 20 66 | 6c 61 67 20 68 61 64 20 |the -v f|lag had |
|000045c0| 62 65 65 6e 20 67 69 76 | 65 6e 2e 0a 09 2d 20 41 |been giv|en...- A|
|000045d0| 64 64 65 64 20 73 6f 6d | 65 20 6d 69 73 73 69 6e |dded som|e missin|
|000045e0| 67 20 64 65 63 6c 61 72 | 61 74 69 6f 6e 73 20 6f |g declar|ations o|
|000045f0| 66 20 76 6f 69 64 20 66 | 75 6e 63 74 69 6f 6e 73 |f void f|unctions|
|00004600| 2e 0a 09 2d 20 43 68 61 | 6e 67 65 64 20 74 6f 20 |...- Cha|nged to |
|00004610| 6f 6e 6c 79 20 75 73 65 | 20 27 5c 61 27 20 66 6f |only use| '\a' fo|
|00004620| 72 20 5f 5f 53 54 44 43 | 5f 5f 20 63 6f 6d 70 69 |r __STDC|__ compi|
|00004630| 6c 65 72 73 2e 0a 09 2d | 20 55 70 64 61 74 65 64 |lers...-| Updated|
|00004640| 20 6d 61 69 6c 69 6e 67 | 20 61 64 64 72 65 73 73 | mailing| address|
|00004650| 65 73 2e 0a 0a 0a 43 68 | 61 6e 67 65 73 20 62 65 |es....Ch|anges be|
|00004660| 74 77 65 65 6e 20 32 2e | 33 20 50 61 74 63 68 20 |tween 2.|3 Patch |
|00004670| 23 37 20 28 32 38 4d 61 | 72 39 31 29 20 61 6e 64 |#7 (28Ma|r91) and|
|00004680| 20 32 2e 33 20 50 61 74 | 63 68 20 23 36 3a 0a 0a | 2.3 Pat|ch #6:..|
|00004690| 09 2d 20 46 69 78 65 64 | 20 6f 75 74 2d 6f 66 2d |.- Fixed| out-of-|
|000046a0| 62 6f 75 6e 64 73 20 61 | 72 72 61 79 20 61 63 63 |bounds a|rray acc|
|000046b0| 65 73 73 20 74 68 61 74 | 20 63 61 75 73 65 64 20 |ess that| caused |
|000046c0| 62 61 64 20 74 61 62 6c | 65 73 0a 09 20 20 74 6f |bad tabl|es.. to|
|000046d0| 20 62 65 20 70 72 6f 64 | 75 63 65 64 20 6f 6e 20 | be prod|uced on |
|000046e0| 6d 61 63 68 69 6e 65 73 | 20 77 68 65 72 65 20 74 |machines| where t|
|000046f0| 68 65 20 62 61 64 20 72 | 65 66 65 72 65 6e 63 65 |he bad r|eference|
|00004700| 20 68 61 70 70 65 6e 65 | 64 0a 09 20 20 74 6f 20 | happene|d.. to |
|00004710| 79 69 65 6c 64 20 61 20 | 31 2e 20 20 54 68 69 73 |yield a |1. This|
|00004720| 20 63 61 75 73 65 64 20 | 70 72 6f 62 6c 65 6d 73 | caused |problems|
|00004730| 20 69 6e 73 74 61 6c 6c | 69 6e 67 20 6f 72 20 72 | install|ing or r|
|00004740| 75 6e 6e 69 6e 67 0a 09 | 20 20 66 6c 65 78 20 6f |unning..| flex o|
|00004750| 6e 20 73 6f 6d 65 20 53 | 75 6e 73 2c 20 69 6e 20 |n some S|uns, in |
|00004760| 70 61 72 74 69 63 75 6c | 61 72 2e 0a 0a 0a 43 68 |particul|ar....Ch|
|00004770| 61 6e 67 65 73 20 62 65 | 74 77 65 65 6e 20 32 2e |anges be|tween 2.|
|00004780| 33 20 50 61 74 63 68 20 | 23 36 20 28 32 39 41 75 |3 Patch |#6 (29Au|
|00004790| 67 39 30 29 20 61 6e 64 | 20 32 2e 33 20 50 61 74 |g90) and| 2.3 Pat|
|000047a0| 63 68 20 23 35 3a 0a 0a | 09 2d 20 46 69 78 65 64 |ch #5:..|.- Fixed|
|000047b0| 20 61 20 73 65 72 69 6f | 75 73 20 62 75 67 20 69 | a serio|us bug i|
|000047c0| 6e 20 79 79 6d 6f 72 65 | 28 29 20 77 68 69 63 68 |n yymore|() which|
|000047d0| 20 62 61 73 69 63 61 6c | 6c 79 20 6d 61 64 65 20 | basical|ly made |
|000047e0| 69 74 0a 09 20 20 63 6f | 6d 70 6c 65 74 65 6c 79 |it.. co|mpletely|
|000047f0| 20 62 72 6f 6b 65 6e 2e | 20 20 54 68 61 6e 6b 73 | broken.| Thanks|
|00004800| 20 67 6f 65 73 20 74 6f | 20 4a 65 61 6e 20 43 68 | goes to| Jean Ch|
|00004810| 72 69 73 74 6f 70 68 65 | 20 6f 66 0a 09 20 20 74 |ristophe| of.. t|
|00004820| 68 65 20 4e 65 74 68 61 | 63 6b 20 64 65 76 65 6c |he Netha|ck devel|
|00004830| 6f 70 6d 65 6e 74 20 74 | 65 61 6d 20 66 6f 72 20 |opment t|eam for |
|00004840| 66 69 6e 64 69 6e 67 20 | 74 68 65 20 70 72 6f 62 |finding |the prob|
|00004850| 6c 65 6d 0a 09 20 20 61 | 6e 64 20 70 61 73 73 69 |lem.. a|nd passi|
|00004860| 6e 67 20 61 6c 6f 6e 67 | 20 74 68 65 20 66 69 78 |ng along| the fix|
|00004870| 2e 0a 0a 0a 43 68 61 6e | 67 65 73 20 62 65 74 77 |....Chan|ges betw|
|00004880| 65 65 6e 20 32 2e 33 20 | 50 61 74 63 68 20 23 35 |een 2.3 |Patch #5|
|00004890| 20 28 31 36 41 75 67 39 | 30 29 20 61 6e 64 20 32 | (16Aug9|0) and 2|
|000048a0| 2e 33 20 50 61 74 63 68 | 20 23 34 3a 0a 0a 09 2d |.3 Patch| #4:...-|
|000048b0| 20 41 6e 20 75 70 2d 74 | 6f 2d 64 61 74 65 20 76 | An up-t|o-date v|
|000048c0| 65 72 73 69 6f 6e 20 6f | 66 20 69 6e 69 74 73 63 |ersion o|f initsc|
|000048d0| 61 6e 2e 63 20 73 6f 20 | 22 6d 61 6b 65 20 74 65 |an.c so |"make te|
|000048e0| 73 74 22 20 77 69 6c 6c | 0a 09 20 20 77 6f 72 6b |st" will|.. work|
|000048f0| 20 61 66 74 65 72 20 61 | 70 70 6c 79 69 6e 67 20 | after a|pplying |
|00004900| 74 68 65 20 70 72 65 76 | 69 6f 75 73 20 70 61 74 |the prev|ious pat|
|00004910| 63 68 65 73 0a 0a 0a 43 | 68 61 6e 67 65 73 20 62 |ches...C|hanges b|
|00004920| 65 74 77 65 65 6e 20 32 | 2e 33 20 50 61 74 63 68 |etween 2|.3 Patch|
|00004930| 20 23 34 20 28 31 34 41 | 75 67 39 30 29 20 61 6e | #4 (14A|ug90) an|
|00004940| 64 20 32 2e 33 20 50 61 | 74 63 68 20 23 33 3a 0a |d 2.3 Pa|tch #3:.|
|00004950| 0a 09 2d 20 46 69 78 65 | 64 20 62 75 67 20 69 6e |..- Fixe|d bug in|
|00004960| 20 68 65 78 61 64 65 63 | 69 6d 61 6c 20 65 73 63 | hexadec|imal esc|
|00004970| 61 70 65 73 20 77 68 69 | 63 68 20 61 6c 6c 6f 77 |apes whi|ch allow|
|00004980| 65 64 20 6f 6e 6c 79 20 | 64 69 67 69 74 73 2c 0a |ed only |digits,.|
|00004990| 09 20 20 6e 6f 74 20 6c | 65 74 74 65 72 73 2c 20 |. not l|etters, |
|000049a0| 69 6e 20 65 73 63 61 70 | 65 73 0a 09 2d 20 46 69 |in escap|es..- Fi|
|000049b0| 78 65 64 20 62 75 67 20 | 69 6e 20 70 72 65 76 69 |xed bug |in previ|
|000049c0| 6f 75 73 20 22 43 68 61 | 6e 67 65 73 22 20 66 69 |ous "Cha|nges" fi|
|000049d0| 6c 65 21 0a 0a 0a 43 68 | 61 6e 67 65 73 20 62 65 |le!...Ch|anges be|
|000049e0| 74 77 65 65 6e 20 32 2e | 33 20 50 61 74 63 68 20 |tween 2.|3 Patch |
|000049f0| 23 33 20 28 30 33 41 75 | 67 39 30 29 20 61 6e 64 |#3 (03Au|g90) and|
|00004a00| 20 32 2e 33 20 50 61 74 | 63 68 20 23 32 3a 0a 0a | 2.3 Pat|ch #2:..|
|00004a10| 09 2d 20 43 6f 72 72 65 | 63 74 69 6f 6e 20 74 6f |.- Corre|ction to|
|00004a20| 20 70 61 74 63 68 20 23 | 32 20 66 6f 72 20 67 63 | patch #|2 for gc|
|00004a30| 63 20 63 6f 6d 70 69 6c | 61 74 69 6f 6e 3b 20 74 |c compil|ation; t|
|00004a40| 68 61 6e 6b 73 20 67 6f | 65 73 20 74 6f 0a 09 20 |hanks go|es to.. |
|00004a50| 20 50 61 75 6c 20 45 67 | 67 65 72 74 20 66 6f 72 | Paul Eg|gert for|
|00004a60| 20 63 61 74 63 68 69 6e | 67 20 74 68 69 73 2e 0a | catchin|g this..|
|00004a70| 0a 0a 43 68 61 6e 67 65 | 73 20 62 65 74 77 65 65 |..Change|s betwee|
|00004a80| 6e 20 32 2e 33 20 50 61 | 74 63 68 20 23 32 20 28 |n 2.3 Pa|tch #2 (|
|00004a90| 30 32 41 75 67 39 30 29 | 20 61 6e 64 20 6f 72 69 |02Aug90)| and ori|
|00004aa0| 67 69 6e 61 6c 20 32 2e | 33 20 72 65 6c 65 61 73 |ginal 2.|3 releas|
|00004ab0| 65 3a 0a 0a 09 2d 20 46 | 69 78 65 64 20 28 68 6f |e:...- F|ixed (ho|
|00004ac0| 70 65 66 75 6c 6c 79 29 | 20 68 65 61 64 61 63 68 |pefully)| headach|
|00004ad0| 65 73 20 69 6e 76 6f 6c | 76 69 6e 67 20 64 65 63 |es invol|ving dec|
|00004ae0| 6c 61 72 69 6e 67 20 6d | 61 6c 6c 6f 63 28 29 0a |laring m|alloc().|
|00004af0| 09 20 20 61 6e 64 20 66 | 72 65 65 28 29 20 66 6f |. and f|ree() fo|
|00004b00| 72 20 67 63 63 2c 20 77 | 68 69 63 68 20 64 65 66 |r gcc, w|hich def|
|00004b10| 69 6e 65 73 20 5f 5f 53 | 54 44 43 5f 5f 20 62 75 |ines __S|TDC__ bu|
|00004b20| 74 20 28 6f 66 74 65 6e | 29 20 64 6f 65 73 6e 27 |t (often|) doesn'|
|00004b30| 74 0a 09 20 20 63 6f 6d | 65 20 77 69 74 68 20 74 |t.. com|e with t|
|00004b40| 68 65 20 73 74 61 6e 64 | 61 72 64 20 69 6e 63 6c |he stand|ard incl|
|00004b50| 75 64 65 20 66 69 6c 65 | 73 20 73 75 63 68 20 61 |ude file|s such a|
|00004b60| 73 20 3c 73 74 64 6c 69 | 62 2e 68 3e 2e 0a 09 20 |s <stdli|b.h>... |
|00004b70| 20 52 65 6f 72 64 65 72 | 65 64 20 23 69 66 64 65 | Reorder|ed #ifde|
|00004b80| 66 20 6d 61 7a 65 20 69 | 6e 20 74 68 65 20 73 63 |f maze i|n the sc|
|00004b90| 61 6e 6e 65 72 20 73 6b | 65 6c 65 74 6f 6e 20 69 |anner sk|eleton i|
|00004ba0| 6e 20 74 68 65 20 68 6f | 70 65 20 6f 66 0a 09 20 |n the ho|pe of.. |
|00004bb0| 20 67 65 74 74 69 6e 67 | 20 74 68 65 20 64 65 63 | getting| the dec|
|00004bc0| 6c 61 72 61 74 69 6f 6e | 73 20 72 69 67 68 74 20 |laration|s right |
|00004bd0| 66 6f 72 20 63 66 72 6f | 6e 74 20 61 6e 64 20 67 |for cfro|nt and g|
|00004be0| 2b 2b 2c 20 74 6f 6f 2e | 0a 0a 09 2d 20 4e 6f 74 |++, too.|...- Not|
|00004bf0| 65 20 74 68 61 74 20 74 | 68 69 73 20 70 61 74 63 |e that t|his patc|
|00004c00| 68 20 73 75 70 65 72 63 | 65 64 65 73 20 70 61 74 |h superc|edes pat|
|00004c10| 63 68 20 23 31 20 66 6f | 72 20 72 65 6c 65 61 73 |ch #1 fo|r releas|
|00004c20| 65 20 32 2e 33 2c 0a 09 | 20 20 77 68 69 63 68 20 |e 2.3,..| which |
|00004c30| 77 61 73 20 6e 65 76 65 | 72 20 61 6e 6e 6f 75 6e |was neve|r announ|
|00004c40| 63 65 64 20 62 75 74 20 | 77 61 73 20 61 76 61 69 |ced but |was avai|
|00004c50| 6c 61 62 6c 65 20 62 72 | 69 65 66 6c 79 20 66 6f |lable br|iefly fo|
|00004c60| 72 0a 09 20 20 61 6e 6f | 6e 79 6d 6f 75 73 20 66 |r.. ano|nymous f|
|00004c70| 74 70 2e 0a 0a 0a 43 68 | 61 6e 67 65 73 20 62 65 |tp....Ch|anges be|
|00004c80| 74 77 65 65 6e 20 32 2e | 33 20 28 66 75 6c 6c 29 |tween 2.|3 (full)|
|00004c90| 20 72 65 6c 65 61 73 65 | 20 6f 66 20 32 38 4a 75 | release| of 28Ju|
|00004ca0| 6e 39 30 20 61 6e 64 20 | 32 2e 32 20 28 61 6c 70 |n90 and |2.2 (alp|
|00004cb0| 68 61 29 20 72 65 6c 65 | 61 73 65 3a 0a 0a 20 20 |ha) rele|ase:.. |
|00004cc0| 20 20 55 73 65 72 2d 76 | 69 73 69 62 6c 65 3a 0a | User-v|isible:.|
|00004cd0| 0a 09 2d 20 41 20 6c 6f | 6e 65 20 3c 3c 45 4f 46 |..- A lo|ne <<EOF|
|00004ce0| 3e 3e 20 72 75 6c 65 20 | 28 74 68 61 74 20 69 73 |>> rule |(that is|
|00004cf0| 2c 20 6f 6e 65 20 77 68 | 69 63 68 20 69 73 20 6e |, one wh|ich is n|
|00004d00| 6f 74 20 71 75 61 6c 69 | 66 69 65 64 20 77 69 74 |ot quali|fied wit|
|00004d10| 68 0a 09 20 20 61 20 6c | 69 73 74 20 6f 66 20 73 |h.. a l|ist of s|
|00004d20| 74 61 72 74 20 63 6f 6e | 64 69 74 69 6f 6e 73 29 |tart con|ditions)|
|00004d30| 20 6e 6f 77 20 73 70 65 | 63 69 66 69 65 73 20 74 | now spe|cifies t|
|00004d40| 68 65 20 45 4f 46 20 61 | 63 74 69 6f 6e 20 66 6f |he EOF a|ction fo|
|00004d50| 72 0a 09 20 20 2a 61 6c | 6c 2a 20 73 74 61 72 74 |r.. *al|l* start|
|00004d60| 20 63 6f 6e 64 69 74 69 | 6f 6e 73 20 77 68 69 63 | conditi|ons whic|
|00004d70| 68 20 68 61 76 65 6e 27 | 74 20 61 6c 72 65 61 64 |h haven'|t alread|
|00004d80| 79 20 68 61 64 20 3c 3c | 45 4f 46 3e 3e 20 61 63 |y had <<|EOF>> ac|
|00004d90| 74 69 6f 6e 73 0a 09 20 | 20 67 69 76 65 6e 2e 20 |tions.. | given. |
|00004da0| 20 54 6f 20 73 70 65 63 | 69 66 79 20 61 6e 20 65 | To spec|ify an e|
|00004db0| 6e 64 2d 6f 66 2d 66 69 | 6c 65 20 61 63 74 69 6f |nd-of-fi|le actio|
|00004dc0| 6e 20 66 6f 72 20 6a 75 | 73 74 20 74 68 65 20 69 |n for ju|st the i|
|00004dd0| 6e 69 74 69 61 6c 0a 09 | 20 20 73 74 61 74 65 2c |nitial..| state,|
|00004de0| 20 75 73 65 20 3c 49 4e | 49 54 49 41 4c 3e 3c 3c | use <IN|ITIAL><<|
|00004df0| 45 4f 46 3e 3e 2e 0a 0a | 09 2d 20 2d 64 20 64 65 |EOF>>...|.- -d de|
|00004e00| 62 75 67 20 6f 75 74 70 | 75 74 20 69 73 20 6e 6f |bug outp|ut is no|
|00004e10| 77 20 63 6f 6e 74 69 67 | 65 6e 74 20 6f 6e 20 74 |w contig|ent on t|
|00004e20| 68 65 20 67 6c 6f 62 61 | 6c 20 79 79 5f 66 6c 65 |he globa|l yy_fle|
|00004e30| 78 5f 64 65 62 75 67 0a | 09 20 20 62 65 69 6e 67 |x_debug.|. being|
|00004e40| 20 73 65 74 20 74 6f 20 | 61 20 6e 6f 6e 2d 7a 65 | set to |a non-ze|
|00004e50| 72 6f 20 76 61 6c 75 65 | 2c 20 77 68 69 63 68 20 |ro value|, which |
|00004e60| 69 74 20 69 73 20 62 79 | 20 64 65 66 61 75 6c 74 |it is by| default|
|00004e70| 2e 0a 0a 09 2d 20 41 20 | 6e 65 77 20 6d 61 63 72 |....- A |new macr|
|00004e80| 6f 2c 20 59 59 5f 55 53 | 45 52 5f 49 4e 49 54 2c |o, YY_US|ER_INIT,|
|00004e90| 20 69 73 20 70 72 6f 76 | 69 64 65 64 20 66 6f 72 | is prov|ided for|
|00004ea0| 20 74 68 65 20 75 73 65 | 72 20 74 6f 20 73 70 65 | the use|r to spe|
|00004eb0| 63 69 66 79 0a 09 20 20 | 69 6e 69 74 69 61 6c 69 |cify.. |initiali|
|00004ec0| 7a 61 74 69 6f 6e 20 61 | 63 74 69 6f 6e 20 74 6f |zation a|ction to|
|00004ed0| 20 62 65 20 74 61 6b 65 | 6e 20 6f 6e 20 74 68 65 | be take|n on the|
|00004ee0| 20 66 69 72 73 74 20 63 | 61 6c 6c 20 74 6f 20 74 | first c|all to t|
|00004ef0| 68 65 0a 09 20 20 73 63 | 61 6e 6e 65 72 2e 20 20 |he.. sc|anner. |
|00004f00| 54 68 69 73 20 61 63 74 | 69 6f 6e 20 69 73 20 64 |This act|ion is d|
|00004f10| 6f 6e 65 20 62 65 66 6f | 72 65 20 74 68 65 20 73 |one befo|re the s|
|00004f20| 63 61 6e 6e 65 72 20 64 | 6f 65 73 20 69 74 73 0a |canner d|oes its.|
|00004f30| 09 20 20 6f 77 6e 20 69 | 6e 69 74 69 61 6c 69 7a |. own i|nitializ|
|00004f40| 61 74 69 6f 6e 2e 0a 0a | 09 2d 20 79 79 5f 6e 65 |ation...|.- yy_ne|
|00004f50| 77 5f 62 75 66 66 65 72 | 28 29 20 68 61 73 20 62 |w_buffer|() has b|
|00004f60| 65 65 6e 20 61 64 64 65 | 64 20 61 73 20 61 6e 20 |een adde|d as an |
|00004f70| 61 6c 69 61 73 20 66 6f | 72 20 79 79 5f 63 72 65 |alias fo|r yy_cre|
|00004f80| 61 74 65 5f 62 75 66 66 | 65 72 28 29 0a 0a 09 2d |ate_buff|er()...-|
|00004f90| 20 43 6f 6d 6d 65 6e 74 | 73 20 62 65 67 69 6e 6e | Comment|s beginn|
|00004fa0| 69 6e 67 20 77 69 74 68 | 20 27 23 27 20 61 6e 64 |ing with| '#' and|
|00004fb0| 20 65 78 74 65 6e 64 69 | 6e 67 20 74 6f 20 74 68 | extendi|ng to th|
|00004fc0| 65 20 65 6e 64 20 6f 66 | 20 74 68 65 20 6c 69 6e |e end of| the lin|
|00004fd0| 65 0a 09 20 20 6e 6f 77 | 20 77 6f 72 6b 2c 20 62 |e.. now| work, b|
|00004fe0| 75 74 20 68 61 76 65 20 | 62 65 65 6e 20 64 65 70 |ut have |been dep|
|00004ff0| 72 65 63 61 74 65 64 20 | 28 69 6e 20 61 6e 74 69 |recated |(in anti|
|00005000| 63 69 70 61 74 69 6f 6e | 20 6f 66 20 6d 61 6b 69 |cipation| of maki|
|00005010| 6e 67 0a 09 20 20 66 6c | 65 78 20 72 65 63 6f 67 |ng.. fl|ex recog|
|00005020| 6e 69 7a 65 20 23 6c 69 | 6e 65 20 64 69 72 65 63 |nize #li|ne direc|
|00005030| 74 69 76 65 73 29 2e 0a | 0a 09 2d 20 54 68 65 20 |tives)..|..- The |
|00005040| 66 75 6e 6b 79 20 72 65 | 73 74 72 69 63 74 69 6f |funky re|strictio|
|00005050| 6e 73 20 6f 6e 20 77 68 | 65 6e 20 73 65 6d 69 2d |ns on wh|en semi-|
|00005060| 63 6f 6c 6f 6e 73 20 63 | 6f 75 6c 64 20 66 6f 6c |colons c|ould fol|
|00005070| 6c 6f 77 20 74 68 65 0a | 09 20 20 59 59 5f 4e 45 |low the.|. YY_NE|
|00005080| 57 5f 46 49 4c 45 20 61 | 6e 64 20 79 79 6c 65 73 |W_FILE a|nd yyles|
|00005090| 73 20 6d 61 63 72 6f 73 | 20 68 61 76 65 20 62 65 |s macros| have be|
|000050a0| 65 6e 20 72 65 6d 6f 76 | 65 64 2e 20 20 54 68 65 |en remov|ed. The|
|000050b0| 79 20 6e 6f 77 0a 09 20 | 20 62 65 68 61 76 65 20 |y now.. | behave |
|000050c0| 69 64 65 6e 74 69 63 61 | 6c 6c 79 20 74 6f 20 66 |identica|lly to f|
|000050d0| 75 6e 63 74 69 6f 6e 73 | 2e 0a 0a 09 2d 20 41 20 |unctions|....- A |
|000050e0| 62 75 67 20 69 6e 20 74 | 68 65 20 73 61 6d 70 6c |bug in t|he sampl|
|000050f0| 65 20 72 65 64 65 66 69 | 6e 69 74 69 6f 6e 20 6f |e redefi|nition o|
|00005100| 66 20 59 59 5f 49 4e 50 | 55 54 20 69 6e 20 74 68 |f YY_INP|UT in th|
|00005110| 65 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 0a |e docume|ntation.|
|00005120| 09 20 20 68 61 73 20 62 | 65 65 6e 20 63 6f 72 72 |. has b|een corr|
|00005130| 65 63 74 65 64 2e 0a 0a | 09 2d 20 41 20 62 75 67 |ected...|.- A bug|
|00005140| 20 69 6e 20 74 68 65 20 | 73 61 6d 70 6c 65 20 73 | in the |sample s|
|00005150| 69 6d 70 6c 65 20 74 6f | 6b 65 6e 65 72 20 69 6e |imple to|kener in|
|00005160| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 | the doc|umentati|
|00005170| 6f 6e 20 68 61 73 0a 09 | 20 20 62 65 65 6e 20 63 |on has..| been c|
|00005180| 6f 72 72 65 63 74 65 64 | 2e 0a 0a 09 2d 20 54 68 |orrected|....- Th|
|00005190| 65 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 20 |e docume|ntation |
|000051a0| 6f 6e 20 74 68 65 20 69 | 6e 63 6f 6d 70 61 74 69 |on the i|ncompati|
|000051b0| 62 69 6c 69 74 69 65 73 | 20 62 65 74 77 65 65 6e |bilities| between|
|000051c0| 20 66 6c 65 78 20 61 6e | 64 0a 09 20 20 6c 65 78 | flex an|d.. lex|
|000051d0| 20 68 61 73 20 62 65 65 | 6e 20 72 65 6f 72 64 65 | has bee|n reorde|
|000051e0| 72 65 64 20 73 6f 20 74 | 68 61 74 20 74 68 65 20 |red so t|hat the |
|000051f0| 64 69 73 63 75 73 73 69 | 6f 6e 20 6f 66 20 79 79 |discussi|on of yy|
|00005200| 6c 69 6e 65 6e 6f 0a 09 | 20 20 61 6e 64 20 69 6e |lineno..| and in|
|00005210| 70 75 74 28 29 20 63 6f | 6d 65 20 66 69 72 73 74 |put() co|me first|
|00005220| 2c 20 61 73 20 69 74 27 | 73 20 61 6e 74 69 63 69 |, as it'|s antici|
|00005230| 70 61 74 65 64 20 74 68 | 61 74 20 74 68 65 73 65 |pated th|at these|
|00005240| 20 77 69 6c 6c 0a 09 20 | 20 62 65 20 74 68 65 20 | will.. | be the |
|00005250| 6d 6f 73 74 20 63 6f 6d | 6d 6f 6e 20 73 6f 75 72 |most com|mon sour|
|00005260| 63 65 20 6f 66 20 68 65 | 61 64 61 63 68 65 73 2e |ce of he|adaches.|
|00005270| 0a 0a 0a 20 20 20 20 54 | 68 69 6e 67 73 20 77 68 |... T|hings wh|
|00005280| 69 63 68 20 64 69 64 6e | 27 74 20 75 73 65 64 20 |ich didn|'t used |
|00005290| 74 6f 20 62 65 20 64 6f | 63 75 6d 65 6e 74 65 64 |to be do|cumented|
|000052a0| 20 62 75 74 20 6e 6f 77 | 20 61 72 65 3a 0a 0a 09 | but now| are:...|
|000052b0| 2d 20 66 6c 65 78 20 69 | 6e 74 65 72 70 72 65 74 |- flex i|nterpret|
|000052c0| 73 20 22 5e 66 6f 6f 7c | 62 61 72 22 20 64 69 66 |s "^foo||bar" dif|
|000052d0| 66 65 72 65 6e 74 6c 79 | 20 66 72 6f 6d 20 6c 65 |ferently| from le|
|000052e0| 78 2e 20 20 66 6c 65 78 | 20 69 6e 74 65 72 70 72 |x. flex| interpr|
|000052f0| 65 74 73 0a 09 20 20 69 | 74 20 61 73 20 22 6d 61 |ets.. i|t as "ma|
|00005300| 74 63 68 20 65 69 74 68 | 65 72 20 61 20 27 66 6f |tch eith|er a 'fo|
|00005310| 6f 27 20 6f 72 20 61 20 | 27 62 61 72 27 2c 20 70 |o' or a |'bar', p|
|00005320| 72 6f 76 69 64 69 6e 67 | 20 69 74 20 63 6f 6d 65 |roviding| it come|
|00005330| 73 20 61 74 20 74 68 65 | 0a 09 20 20 62 65 67 69 |s at the|.. begi|
|00005340| 6e 6e 69 6e 67 20 6f 66 | 20 61 20 6c 69 6e 65 22 |nning of| a line"|
|00005350| 2c 20 77 68 65 72 65 61 | 73 20 6c 65 78 20 69 6e |, wherea|s lex in|
|00005360| 74 65 72 70 72 65 74 73 | 20 69 74 20 61 73 20 22 |terprets| it as "|
|00005370| 6d 61 74 63 68 20 65 69 | 74 68 65 72 0a 09 20 20 |match ei|ther.. |
|00005380| 61 20 27 66 6f 6f 27 20 | 61 74 20 74 68 65 20 62 |a 'foo' |at the b|
|00005390| 65 67 69 6e 6e 69 6e 67 | 20 6f 66 20 61 20 6c 69 |eginning| of a li|
|000053a0| 6e 65 2c 20 6f 72 20 61 | 20 27 62 61 72 27 20 61 |ne, or a| 'bar' a|
|000053b0| 6e 79 77 68 65 72 65 22 | 2e 0a 0a 09 2d 20 66 6c |nywhere"|....- fl|
|000053c0| 65 78 20 69 6e 69 74 69 | 61 6c 69 7a 65 73 20 74 |ex initi|alizes t|
|000053d0| 68 65 20 67 6c 6f 62 61 | 6c 20 22 79 79 69 6e 22 |he globa|l "yyin"|
|000053e0| 20 6f 6e 20 74 68 65 20 | 66 69 72 73 74 20 63 61 | on the |first ca|
|000053f0| 6c 6c 20 74 6f 20 74 68 | 65 0a 09 20 20 73 63 61 |ll to th|e.. sca|
|00005400| 6e 6e 65 72 2c 20 77 68 | 69 6c 65 20 6c 65 78 20 |nner, wh|ile lex |
|00005410| 69 6e 69 74 69 61 6c 69 | 7a 65 73 20 69 74 20 61 |initiali|zes it a|
|00005420| 74 20 63 6f 6d 70 69 6c | 65 2d 74 69 6d 65 2e 0a |t compil|e-time..|
|00005430| 0a 09 2d 20 79 79 5f 73 | 77 69 74 63 68 5f 74 6f |..- yy_s|witch_to|
|00005440| 5f 62 75 66 66 65 72 28 | 29 20 63 61 6e 20 62 65 |_buffer(|) can be|
|00005450| 20 75 73 65 64 20 69 6e | 20 74 68 65 20 79 79 77 | used in| the yyw|
|00005460| 72 61 70 28 29 20 6d 61 | 63 72 6f 2f 72 6f 75 74 |rap() ma|cro/rout|
|00005470| 69 6e 65 2e 0a 0a 09 2d | 20 66 6c 65 78 20 73 63 |ine....-| flex sc|
|00005480| 61 6e 6e 65 72 73 20 64 | 6f 20 6e 6f 74 20 75 73 |anners d|o not us|
|00005490| 65 20 73 74 64 69 6f 20 | 66 6f 72 20 74 68 65 69 |e stdio |for thei|
|000054a0| 72 20 69 6e 70 75 74 2c | 20 61 6e 64 20 68 65 6e |r input,| and hen|
|000054b0| 63 65 20 77 68 65 6e 0a | 09 20 20 77 72 69 74 69 |ce when.|. writi|
|000054c0| 6e 67 20 61 6e 20 69 6e | 74 65 72 61 63 74 69 76 |ng an in|teractiv|
|000054d0| 65 20 73 63 61 6e 6e 65 | 72 20 6f 6e 65 20 6d 75 |e scanne|r one mu|
|000054e0| 73 74 20 65 78 70 6c 69 | 63 74 6c 79 20 63 61 6c |st expli|ctly cal|
|000054f0| 6c 20 66 66 6c 75 73 68 | 28 29 0a 09 20 20 61 66 |l fflush|().. af|
|00005500| 74 65 72 20 77 72 69 74 | 69 6e 67 20 6f 75 74 20 |ter writ|ing out |
|00005510| 61 20 70 72 6f 6d 70 74 | 2e 0a 0a 09 2d 20 66 6c |a prompt|....- fl|
|00005520| 65 78 20 73 63 61 6e 6e | 65 72 20 63 61 6e 20 62 |ex scann|er can b|
|00005530| 65 20 6d 61 64 65 20 72 | 65 65 6e 74 72 61 6e 74 |e made r|eentrant|
|00005540| 20 28 61 66 74 65 72 20 | 61 20 66 61 73 68 69 6f | (after |a fashio|
|00005550| 6e 29 20 62 79 20 75 73 | 69 6e 67 0a 09 20 20 22 |n) by us|ing.. "|
|00005560| 79 79 72 65 73 74 61 72 | 74 28 20 79 79 69 6e 20 |yyrestar|t( yyin |
|00005570| 29 3b 22 2e 20 20 54 68 | 69 73 20 69 73 20 75 73 |);". Th|is is us|
|00005580| 65 66 75 6c 20 66 6f 72 | 20 69 6e 74 65 72 61 63 |eful for| interac|
|00005590| 74 69 76 65 20 73 63 61 | 6e 6e 65 72 73 0a 09 20 |tive sca|nners.. |
|000055a0| 20 77 68 69 63 68 20 68 | 61 76 65 20 69 6e 74 65 | which h|ave inte|
|000055b0| 72 72 75 70 74 20 68 61 | 6e 64 6c 65 72 73 20 74 |rrupt ha|ndlers t|
|000055c0| 68 61 74 20 6c 6f 6e 67 | 2d 6a 75 6d 70 20 6f 75 |hat long|-jump ou|
|000055d0| 74 20 6f 66 20 74 68 65 | 20 73 63 61 6e 6e 65 72 |t of the| scanner|
|000055e0| 2e 0a 0a 09 2d 20 61 20 | 64 65 66 65 6e 73 65 20 |....- a |defense |
|000055f0| 6f 66 20 77 68 79 20 79 | 79 6c 69 6e 65 6e 6f 20 |of why y|ylineno |
|00005600| 69 73 20 6e 6f 74 20 73 | 75 70 70 6f 72 74 65 64 |is not s|upported|
|00005610| 20 69 73 20 69 6e 63 6c | 75 64 65 64 2c 20 61 6c | is incl|uded, al|
|00005620| 6f 6e 67 0a 09 20 20 77 | 69 74 68 20 61 20 73 75 |ong.. w|ith a su|
|00005630| 67 67 65 73 74 69 6f 6e | 20 6f 6e 20 68 6f 77 20 |ggestion| on how |
|00005640| 74 6f 20 63 6f 6e 76 65 | 72 74 20 73 63 61 6e 6e |to conve|rt scann|
|00005650| 65 72 73 20 77 68 69 63 | 68 20 72 65 6c 79 20 6f |ers whic|h rely o|
|00005660| 6e 20 69 74 2e 0a 0a 0a | 20 20 20 20 4f 74 68 65 |n it....| Othe|
|00005670| 72 20 63 68 61 6e 67 65 | 73 3a 0a 0a 09 2d 20 50 |r change|s:...- P|
|00005680| 72 6f 74 6f 74 79 70 65 | 73 20 61 6e 64 20 70 72 |rototype|s and pr|
|00005690| 6f 70 65 72 20 64 65 63 | 6c 61 72 61 74 69 6f 6e |oper dec|laration|
|000056a0| 73 20 6f 66 20 76 6f 69 | 64 20 72 6f 75 74 69 6e |s of voi|d routin|
|000056b0| 65 73 20 68 61 76 65 0a | 09 20 20 62 65 65 6e 20 |es have.|. been |
|000056c0| 61 64 64 65 64 20 74 6f | 20 74 68 65 20 66 6c 65 |added to| the fle|
|000056d0| 78 20 73 6f 75 72 63 65 | 20 63 6f 64 65 2c 20 63 |x source| code, c|
|000056e0| 6f 75 72 74 65 73 79 20 | 6f 66 20 4b 65 76 69 6e |ourtesy |of Kevin|
|000056f0| 20 42 2e 20 4b 65 6e 6e | 79 2e 0a 0a 09 2d 20 52 | B. Kenn|y....- R|
|00005700| 6f 75 74 69 6e 65 73 20 | 64 65 61 6c 69 6e 67 20 |outines |dealing |
|00005710| 77 69 74 68 20 6d 65 6d | 6f 72 79 20 61 6c 6c 6f |with mem|ory allo|
|00005720| 63 61 74 69 6f 6e 20 6e | 6f 77 20 75 73 65 20 76 |cation n|ow use v|
|00005730| 6f 69 64 2a 20 70 6f 69 | 6e 74 65 72 73 0a 09 20 |oid* poi|nters.. |
|00005740| 20 69 6e 73 74 65 61 64 | 20 6f 66 20 63 68 61 72 | instead| of char|
|00005750| 2a 20 2d 20 73 65 65 20 | 4d 61 6b 65 66 69 6c 65 |* - see |Makefile|
|00005760| 20 66 6f 72 20 70 6f 72 | 74 69 6e 67 20 69 6d 70 | for por|ting imp|
|00005770| 6c 69 63 61 74 69 6f 6e | 73 2e 0a 0a 09 2d 20 45 |lication|s....- E|
|00005780| 72 72 6f 72 2d 63 68 65 | 63 6b 69 6e 67 20 69 73 |rror-che|cking is|
|00005790| 20 6e 6f 77 20 64 6f 6e | 65 20 77 68 65 6e 20 66 | now don|e when f|
|000057a0| 6c 65 78 20 63 6c 6f 73 | 65 73 20 61 20 66 69 6c |lex clos|es a fil|
|000057b0| 65 2e 0a 0a 09 2d 20 56 | 61 72 69 6f 75 73 20 6c |e....- V|arious l|
|000057c0| 69 6e 74 20 74 77 65 61 | 6b 73 20 77 65 72 65 20 |int twea|ks were |
|000057d0| 61 64 64 65 64 20 74 6f | 20 72 65 64 75 63 65 20 |added to| reduce |
|000057e0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 67 72 |the numb|er of gr|
|000057f0| 69 70 65 73 2e 0a 0a 09 | 2d 20 4d 61 6b 65 66 69 |ipes....|- Makefi|
|00005800| 6c 65 20 68 61 73 20 62 | 65 65 6e 20 66 75 72 74 |le has b|een furt|
|00005810| 68 65 72 20 70 61 72 61 | 6d 65 74 65 72 69 7a 65 |her para|meterize|
|00005820| 64 20 74 6f 20 61 69 64 | 20 69 6e 20 70 6f 72 74 |d to aid| in port|
|00005830| 69 6e 67 2e 0a 0a 09 2d | 20 53 75 70 70 6f 72 74 |ing....-| Support|
|00005840| 20 66 6f 72 20 53 43 4f | 20 55 6e 69 78 20 61 64 | for SCO| Unix ad|
|00005850| 64 65 64 2e 0a 0a 09 2d | 20 46 6c 65 78 20 6e 6f |ded....-| Flex no|
|00005860| 77 20 73 70 6f 72 74 73 | 20 74 68 65 20 6c 61 74 |w sports| the lat|
|00005870| 65 73 74 20 26 20 67 72 | 65 61 74 65 73 74 20 55 |est & gr|eatest U|
|00005880| 43 20 63 6f 70 79 72 69 | 67 68 74 20 6e 6f 74 69 |C copyri|ght noti|
|00005890| 63 65 0a 09 20 20 28 77 | 68 69 63 68 20 69 73 20 |ce.. (w|hich is |
|000058a0| 6f 6e 6c 79 20 73 6c 69 | 67 68 74 6c 79 20 64 69 |only sli|ghtly di|
|000058b0| 66 66 65 72 65 6e 74 20 | 66 72 6f 6d 20 74 68 65 |fferent |from the|
|000058c0| 20 70 72 65 76 69 6f 75 | 73 20 6f 6e 65 29 2e 0a | previou|s one)..|
|000058d0| 0a 09 2d 20 41 20 6e 6f | 74 65 20 68 61 73 20 62 |..- A no|te has b|
|000058e0| 65 65 6e 20 61 64 64 65 | 64 20 74 6f 20 66 6c 65 |een adde|d to fle|
|000058f0| 78 64 6f 63 2e 31 20 6d | 65 6e 74 69 6f 6e 69 6e |xdoc.1 m|entionin|
|00005900| 67 20 77 6f 72 6b 20 69 | 6e 20 70 72 6f 67 72 65 |g work i|n progre|
|00005910| 73 73 0a 09 20 20 6f 6e | 20 6d 6f 64 69 66 79 69 |ss.. on| modifyi|
|00005920| 6e 67 20 66 6c 65 78 20 | 74 6f 20 67 65 6e 65 72 |ng flex |to gener|
|00005930| 61 74 65 20 73 74 72 61 | 69 67 68 74 20 43 20 63 |ate stra|ight C c|
|00005940| 6f 64 65 20 72 61 74 68 | 65 72 20 74 68 61 6e 20 |ode rath|er than |
|00005950| 61 0a 09 20 20 74 61 62 | 6c 65 2d 64 72 69 76 65 |a.. tab|le-drive|
|00005960| 6e 20 61 75 74 6f 6d 61 | 74 6f 6e 2c 20 77 69 74 |n automa|ton, wit|
|00005970| 68 20 61 6e 20 65 6d 61 | 69 6c 20 61 64 64 72 65 |h an ema|il addre|
|00005980| 73 73 20 6f 66 20 77 68 | 6f 6d 20 74 6f 20 63 6f |ss of wh|om to co|
|00005990| 6e 74 61 63 74 0a 09 20 | 20 69 66 20 79 6f 75 20 |ntact.. | if you |
|000059a0| 61 72 65 20 77 6f 72 6b | 69 6e 67 20 61 6c 6f 6e |are work|ing alon|
|000059b0| 67 20 73 69 6d 69 6c 61 | 72 20 6c 69 6e 65 73 2e |g simila|r lines.|
|000059c0| 0a 0a 0a 43 68 61 6e 67 | 65 73 20 62 65 74 77 65 |...Chang|es betwe|
|000059d0| 65 6e 20 32 2e 32 20 50 | 61 74 63 68 20 23 33 20 |en 2.2 P|atch #3 |
|000059e0| 28 33 30 4d 61 72 39 30 | 29 20 61 6e 64 20 32 2e |(30Mar90|) and 2.|
|000059f0| 32 20 50 61 74 63 68 20 | 23 32 3a 0a 0a 09 2d 20 |2 Patch |#2:...- |
|00005a00| 66 69 78 65 64 20 62 75 | 67 20 77 68 69 63 68 20 |fixed bu|g which |
|00005a10| 63 61 75 73 65 64 20 2d | 49 20 73 63 61 6e 6e 65 |caused -|I scanne|
|00005a20| 72 73 20 74 6f 20 62 6f | 6d 62 0a 0a 0a 43 68 61 |rs to bo|mb...Cha|
|00005a30| 6e 67 65 73 20 62 65 74 | 77 65 65 6e 20 32 2e 32 |nges bet|ween 2.2|
|00005a40| 20 50 61 74 63 68 20 23 | 32 20 28 32 37 4d 61 72 | Patch #|2 (27Mar|
|00005a50| 39 30 29 20 61 6e 64 20 | 32 2e 32 20 50 61 74 63 |90) and |2.2 Patc|
|00005a60| 68 20 23 31 3a 0a 0a 09 | 2d 20 66 69 78 65 64 20 |h #1:...|- fixed |
|00005a70| 62 75 67 20 77 72 69 74 | 69 6e 67 20 70 61 73 74 |bug writ|ing past|
|00005a80| 20 65 6e 64 20 6f 66 20 | 69 6e 70 75 74 20 62 75 | end of |input bu|
|00005a90| 66 66 65 72 20 69 6e 20 | 79 79 75 6e 70 75 74 28 |ffer in |yyunput(|
|00005aa0| 29 0a 09 2d 20 66 69 78 | 65 64 20 62 75 67 20 64 |)..- fix|ed bug d|
|00005ab0| 65 74 65 63 74 69 6e 67 | 20 4e 55 4c 27 73 20 61 |etecting| NUL's a|
|00005ac0| 74 20 74 68 65 20 65 6e | 64 20 6f 66 20 61 20 62 |t the en|d of a b|
|00005ad0| 75 66 66 65 72 0a 0a 0a | 43 68 61 6e 67 65 73 20 |uffer...|Changes |
|00005ae0| 62 65 74 77 65 65 6e 20 | 32 2e 32 20 50 61 74 63 |between |2.2 Patc|
|00005af0| 68 20 23 31 20 28 32 33 | 4d 61 72 39 30 29 20 61 |h #1 (23|Mar90) a|
|00005b00| 6e 64 20 32 2e 32 20 28 | 61 6c 70 68 61 29 20 72 |nd 2.2 (|alpha) r|
|00005b10| 65 6c 65 61 73 65 3a 0a | 0a 09 2d 20 4d 61 6b 65 |elease:.|..- Make|
|00005b20| 66 69 6c 65 20 66 69 78 | 65 73 3a 20 64 65 66 69 |file fix|es: defi|
|00005b30| 6e 69 74 69 6f 6e 20 6f | 66 20 4d 41 4b 45 20 76 |nition o|f MAKE v|
|00005b40| 61 72 69 61 62 6c 65 20 | 66 6f 72 20 73 79 73 74 |ariable |for syst|
|00005b50| 65 6d 73 0a 09 20 20 77 | 68 69 63 68 20 64 6f 6e |ems.. w|hich don|
|00005b60| 27 74 20 68 61 76 65 20 | 69 74 3b 20 69 6e 73 74 |'t have |it; inst|
|00005b70| 61 6c 6c 61 74 69 6f 6e | 20 6f 66 20 66 6c 65 78 |allation| of flex|
|00005b80| 64 6f 63 2e 31 20 61 6c | 6f 6e 67 20 77 69 74 68 |doc.1 al|ong with|
|00005b90| 0a 09 20 20 66 6c 65 78 | 2e 31 3b 20 66 69 78 65 |.. flex|.1; fixe|
|00005ba0| 64 20 74 77 6f 20 62 75 | 67 73 20 77 68 69 63 68 |d two bu|gs which|
|00005bb0| 20 63 6f 75 6c 64 20 63 | 61 75 73 65 20 22 62 69 | could c|ause "bi|
|00005bc0| 67 74 65 73 74 22 20 74 | 6f 20 66 61 69 6c 2e 0a |gtest" t|o fail..|
|00005bd0| 0a 09 2d 20 66 6c 65 78 | 2e 73 6b 65 6c 20 66 69 |..- flex|.skel fi|
|00005be0| 78 20 66 6f 72 20 63 6f | 6d 70 69 6c 69 6e 67 20 |x for co|mpiling |
|00005bf0| 77 69 74 68 20 67 2b 2b | 2e 0a 0a 09 2d 20 52 45 |with g++|....- RE|
|00005c00| 41 44 4d 45 20 61 6e 64 | 20 66 6c 65 78 64 6f 63 |ADME and| flexdoc|
|00005c10| 2e 31 20 6e 6f 20 6c 6f | 6e 67 65 72 20 6c 69 73 |.1 no lo|nger lis|
|00005c20| 74 20 61 6e 20 6f 75 74 | 2d 6f 66 2d 64 61 74 65 |t an out|-of-date|
|00005c30| 20 42 49 54 4e 45 54 20 | 61 64 64 72 65 73 73 0a | BITNET |address.|
|00005c40| 09 20 20 66 6f 72 20 63 | 6f 6e 74 61 63 74 69 6e |. for c|ontactin|
|00005c50| 67 20 6d 65 2e 0a 0a 09 | 2d 20 6d 69 6e 6f 72 20 |g me....|- minor |
|00005c60| 74 79 70 6f 73 20 61 6e | 64 20 66 6f 72 6d 61 74 |typos an|d format|
|00005c70| 74 69 6e 67 20 63 68 61 | 6e 67 65 73 20 74 6f 20 |ting cha|nges to |
|00005c80| 66 6c 65 78 2e 31 20 61 | 6e 64 20 66 6c 65 78 64 |flex.1 a|nd flexd|
|00005c90| 6f 63 2e 31 2e 0a 0a 0a | 43 68 61 6e 67 65 73 20 |oc.1....|Changes |
|00005ca0| 62 65 74 77 65 65 6e 20 | 32 2e 32 20 28 61 6c 70 |between |2.2 (alp|
|00005cb0| 68 61 29 20 72 65 6c 65 | 61 73 65 20 6f 66 20 4d |ha) rele|ase of M|
|00005cc0| 61 72 63 68 20 27 39 30 | 20 61 6e 64 20 70 72 65 |arch '90| and pre|
|00005cd0| 76 69 6f 75 73 20 72 65 | 6c 65 61 73 65 3a 0a 0a |vious re|lease:..|
|00005ce0| 20 20 20 20 55 73 65 72 | 2d 76 69 73 69 62 6c 65 | User|-visible|
|00005cf0| 3a 0a 0a 09 2d 20 46 75 | 6c 6c 20 75 73 65 72 20 |:...- Fu|ll user |
|00005d00| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 20 6e 6f |document|ation no|
|00005d10| 77 20 61 76 61 69 6c 61 | 62 6c 65 2e 0a 0a 09 2d |w availa|ble....-|
|00005d20| 20 53 75 70 70 6f 72 74 | 20 66 6f 72 20 38 2d 62 | Support| for 8-b|
|00005d30| 69 74 20 73 63 61 6e 6e | 65 72 73 2e 0a 0a 09 2d |it scann|ers....-|
|00005d40| 20 53 63 61 6e 6e 65 72 | 73 20 6e 6f 77 20 61 63 | Scanner|s now ac|
|00005d50| 63 65 70 74 20 4e 55 4c | 27 73 2e 0a 0a 09 2d 20 |cept NUL|'s....- |
|00005d60| 41 20 66 61 63 69 6c 69 | 74 79 20 68 61 73 20 62 |A facili|ty has b|
|00005d70| 65 65 6e 20 61 64 64 65 | 64 20 66 6f 72 20 64 65 |een adde|d for de|
|00005d80| 61 6c 69 6e 67 20 77 69 | 74 68 20 6d 75 6c 74 69 |aling wi|th multi|
|00005d90| 70 6c 65 0a 09 20 20 69 | 6e 70 75 74 20 62 75 66 |ple.. i|nput buf|
|00005da0| 66 65 72 73 2e 0a 0a 09 | 2d 20 54 77 6f 20 6d 61 |fers....|- Two ma|
|00005db0| 6e 75 61 6c 20 65 6e 74 | 72 69 65 73 20 6e 6f 77 |nual ent|ries now|
|00005dc0| 2e 20 20 4f 6e 65 20 77 | 68 69 63 68 20 66 75 6c |. One w|hich ful|
|00005dd0| 6c 79 20 64 65 73 63 72 | 69 62 65 73 20 66 6c 65 |ly descr|ibes fle|
|00005de0| 78 0a 09 20 20 28 72 61 | 74 68 65 72 20 74 68 61 |x.. (ra|ther tha|
|00005df0| 6e 20 6a 75 73 74 20 69 | 74 73 20 64 69 66 66 65 |n just i|ts diffe|
|00005e00| 72 65 6e 63 65 73 20 66 | 72 6f 6d 20 6c 65 78 29 |rences f|rom lex)|
|00005e10| 2c 20 61 6e 64 20 74 68 | 65 0a 09 20 20 6f 74 68 |, and th|e.. oth|
|00005e20| 65 72 20 66 6f 72 20 71 | 75 69 63 6b 28 65 72 29 |er for q|uick(er)|
|00005e30| 20 72 65 66 65 72 65 6e | 63 65 2e 0a 0a 09 2d 20 | referen|ce....- |
|00005e40| 41 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 68 61 6e |A number| of chan|
|00005e50| 67 65 73 20 74 6f 20 62 | 72 69 6e 67 20 66 6c 65 |ges to b|ring fle|
|00005e60| 78 20 63 6c 6f 73 65 72 | 20 69 6e 74 6f 20 63 6f |x closer| into co|
|00005e70| 6d 70 6c 69 61 6e 63 65 | 0a 09 20 20 77 69 74 68 |mpliance|.. with|
|00005e80| 20 74 68 65 20 6c 61 74 | 65 73 74 20 50 4f 53 49 | the lat|est POSI|
|00005e90| 58 20 6c 65 78 20 64 72 | 61 66 74 3a 0a 0a 09 09 |X lex dr|aft:....|
|00005ea0| 25 74 20 73 75 70 70 6f | 72 74 0a 09 09 66 6c 65 |%t suppo|rt...fle|
|00005eb0| 78 20 6e 6f 77 20 61 63 | 63 65 70 74 73 20 6d 75 |x now ac|cepts mu|
|00005ec0| 6c 74 69 70 6c 65 20 69 | 6e 70 75 74 20 66 69 6c |ltiple i|nput fil|
|00005ed0| 65 73 20 61 6e 64 20 63 | 6f 6e 63 61 74 65 6e 61 |es and c|oncatena|
|00005ee0| 74 65 73 0a 09 09 20 20 | 20 20 74 68 65 6d 20 74 |tes... | them t|
|00005ef0| 6f 67 65 74 68 65 72 20 | 74 6f 20 66 6f 72 6d 20 |ogether |to form |
|00005f00| 69 74 73 20 69 6e 70 75 | 74 0a 09 09 70 72 65 76 |its inpu|t...prev|
|00005f10| 69 6f 75 73 20 2d 63 20 | 28 63 6f 6d 70 72 65 73 |ious -c |(compres|
|00005f20| 73 29 20 66 6c 61 67 20 | 72 65 6e 61 6d 65 64 20 |s) flag |renamed |
|00005f30| 2d 43 0a 09 09 64 6f 2d | 6e 6f 74 68 69 6e 67 20 |-C...do-|nothing |
|00005f40| 2d 63 20 61 6e 64 20 2d | 6e 20 66 6c 61 67 73 20 |-c and -|n flags |
|00005f50| 61 64 64 65 64 0a 09 09 | 41 6e 79 20 69 6e 64 65 |added...|Any inde|
|00005f60| 6e 74 65 64 20 63 6f 64 | 65 20 6f 72 20 63 6f 64 |nted cod|e or cod|
|00005f70| 65 20 77 69 74 68 69 6e | 20 25 7b 7d 27 73 20 69 |e within| %{}'s i|
|00005f80| 6e 20 73 65 63 74 69 6f | 6e 20 32 20 69 73 0a 09 |n sectio|n 2 is..|
|00005f90| 09 20 20 20 20 6e 6f 77 | 20 63 6f 70 69 65 64 20 |. now| copied |
|00005fa0| 74 6f 20 74 68 65 20 6f | 75 74 70 75 74 0a 0a 09 |to the o|utput...|
|00005fb0| 2d 20 79 79 6c 65 6e 67 | 20 69 73 20 6e 6f 77 20 |- yyleng| is now |
|00005fc0| 61 20 62 6f 6e 61 20 66 | 69 64 65 20 67 6c 6f 62 |a bona f|ide glob|
|00005fd0| 61 6c 20 69 6e 74 65 67 | 65 72 2e 0a 0a 09 2d 20 |al integ|er....- |
|00005fe0| 2d 64 20 64 65 62 75 67 | 20 69 6e 66 6f 72 6d 61 |-d debug| informa|
|00005ff0| 74 69 6f 6e 20 6e 6f 77 | 20 67 69 76 65 73 20 74 |tion now| gives t|
|00006000| 68 65 20 6c 69 6e 65 20 | 6e 75 6d 62 65 72 20 6f |he line |number o|
|00006010| 66 20 74 68 65 0a 09 20 | 20 6d 61 74 63 68 65 64 |f the.. | matched|
|00006020| 20 72 75 6c 65 20 69 6e | 73 74 65 61 64 20 6f 66 | rule in|stead of|
|00006030| 20 77 68 69 63 68 20 6e | 75 6d 62 65 72 20 72 75 | which n|umber ru|
|00006040| 6c 65 20 69 74 20 77 61 | 73 20 66 72 6f 6d 0a 09 |le it wa|s from..|
|00006050| 20 20 74 68 65 20 62 65 | 67 69 6e 6e 69 6e 67 20 | the be|ginning |
|00006060| 6f 66 20 74 68 65 20 66 | 69 6c 65 2e 0a 0a 09 2d |of the f|ile....-|
|00006070| 20 2d 76 20 6f 75 74 70 | 75 74 20 6e 6f 77 20 69 | -v outp|ut now i|
|00006080| 6e 63 6c 75 64 65 73 20 | 61 20 73 75 6d 6d 61 72 |ncludes |a summar|
|00006090| 79 20 6f 66 20 74 68 65 | 20 66 6c 61 67 73 20 75 |y of the| flags u|
|000060a0| 73 65 64 20 74 6f 20 67 | 65 6e 65 72 61 74 65 0a |sed to g|enerate.|
|000060b0| 09 20 20 74 68 65 20 73 | 63 61 6e 6e 65 72 2e 0a |. the s|canner..|
|000060c0| 0a 09 2d 20 75 6e 70 75 | 74 28 29 20 61 6e 64 20 |..- unpu|t() and |
|000060d0| 79 79 72 65 73 74 61 72 | 74 28 29 20 61 72 65 20 |yyrestar|t() are |
|000060e0| 6e 6f 77 20 67 6c 6f 62 | 61 6c 6c 79 20 63 61 6c |now glob|ally cal|
|000060f0| 6c 61 62 6c 65 2e 0a 0a | 09 2d 20 79 79 72 65 73 |lable...|.- yyres|
|00006100| 74 61 72 74 28 29 20 6e | 6f 20 6c 6f 6e 67 65 72 |tart() n|o longer|
|00006110| 20 63 6c 6f 73 65 73 20 | 74 68 65 20 70 72 65 76 | closes |the prev|
|00006120| 69 6f 75 73 20 76 61 6c | 75 65 20 6f 66 20 79 79 |ious val|ue of yy|
|00006130| 69 6e 2e 0a 0a 09 2d 20 | 43 2b 2b 20 73 75 70 70 |in....- |C++ supp|
|00006140| 6f 72 74 3b 20 67 65 6e | 65 72 61 74 65 64 20 73 |ort; gen|erated s|
|00006150| 63 61 6e 6e 65 72 73 20 | 63 61 6e 20 62 65 20 63 |canners |can be c|
|00006160| 6f 6d 70 69 6c 65 64 20 | 77 69 74 68 20 43 2b 2b |ompiled |with C++|
|00006170| 20 63 6f 6d 70 69 6c 65 | 72 2e 0a 0a 09 2d 20 50 | compile|r....- P|
|00006180| 72 69 6d 69 74 69 76 65 | 20 2d 6c 66 6c 20 6c 69 |rimitive| -lfl li|
|00006190| 62 72 61 72 79 20 61 64 | 64 65 64 2c 20 63 6f 6e |brary ad|ded, con|
|000061a0| 74 61 69 6e 69 6e 67 20 | 64 65 66 61 75 6c 74 20 |taining |default |
|000061b0| 6d 61 69 6e 28 29 0a 09 | 20 20 77 68 69 63 68 20 |main()..| which |
|000061c0| 63 61 6c 6c 73 20 79 79 | 6c 65 78 28 29 2e 20 20 |calls yy|lex(). |
|000061d0| 41 20 6e 75 6d 62 65 72 | 20 6f 66 20 72 6f 75 74 |A number| of rout|
|000061e0| 69 6e 65 73 20 63 75 72 | 72 65 6e 74 6c 79 20 6c |ines cur|rently l|
|000061f0| 69 76 69 6e 67 0a 09 20 | 20 69 6e 20 74 68 65 20 |iving.. | in the |
|00006200| 73 63 61 6e 6e 65 72 20 | 73 6b 65 6c 65 74 6f 6e |scanner |skeleton|
|00006210| 20 77 69 6c 6c 20 70 72 | 6f 62 61 62 6c 79 20 6d | will pr|obably m|
|00006220| 69 67 72 61 74 65 20 74 | 6f 20 68 65 72 65 0a 09 |igrate t|o here..|
|00006230| 20 20 69 6e 20 74 68 65 | 20 66 75 74 75 72 65 20 | in the| future |
|00006240| 28 69 6e 20 70 61 72 74 | 69 63 75 6c 61 72 2c 20 |(in part|icular, |
|00006250| 79 79 77 72 61 70 28 29 | 20 77 69 6c 6c 20 70 72 |yywrap()| will pr|
|00006260| 6f 62 61 62 6c 79 20 63 | 65 61 73 65 0a 09 20 20 |obably c|ease.. |
|00006270| 74 6f 20 62 65 20 61 20 | 6d 61 63 72 6f 20 61 6e |to be a |macro an|
|00006280| 64 20 69 6e 73 74 65 61 | 64 20 62 65 20 61 20 66 |d instea|d be a f|
|00006290| 75 6e 63 74 69 6f 6e 20 | 69 6e 20 74 68 65 20 2d |unction |in the -|
|000062a0| 6c 66 6c 20 6c 69 62 72 | 61 72 79 29 2e 0a 0a 09 |lfl libr|ary)....|
|000062b0| 2d 20 48 65 78 61 64 65 | 63 69 6d 61 6c 20 28 5c |- Hexade|cimal (\|
|000062c0| 78 29 20 65 73 63 61 70 | 65 20 73 65 71 75 65 6e |x) escap|e sequen|
|000062d0| 63 65 73 20 61 64 64 65 | 64 2e 0a 0a 09 2d 20 53 |ces adde|d....- S|
|000062e0| 75 70 70 6f 72 74 20 66 | 6f 72 20 4d 53 2d 44 4f |upport f|or MS-DO|
|000062f0| 53 2c 20 56 4d 53 2c 20 | 61 6e 64 20 54 75 72 62 |S, VMS, |and Turb|
|00006300| 6f 2d 43 20 69 6e 74 65 | 67 72 61 74 65 64 2e 0a |o-C inte|grated..|
|00006310| 0a 09 2d 20 54 68 65 20 | 25 75 73 65 64 2f 25 75 |..- The |%used/%u|
|00006320| 6e 75 73 65 64 20 6f 70 | 65 72 61 74 6f 72 73 20 |nused op|erators |
|00006330| 68 61 76 65 20 62 65 65 | 6e 20 64 65 70 72 65 63 |have bee|n deprec|
|00006340| 61 74 65 64 2e 20 20 54 | 68 65 79 0a 09 20 20 6d |ated. T|hey.. m|
|00006350| 61 79 20 67 6f 20 61 77 | 61 79 20 73 6f 6f 6e 2e |ay go aw|ay soon.|
|00006360| 0a 0a 0a 20 20 20 20 4f | 74 68 65 72 20 63 68 61 |... O|ther cha|
|00006370| 6e 67 65 73 3a 0a 0a 09 | 2d 20 4d 61 6b 65 66 69 |nges:...|- Makefi|
|00006380| 6c 65 20 65 6e 68 61 6e | 63 65 64 20 66 6f 72 20 |le enhan|ced for |
|00006390| 65 61 73 69 65 72 20 74 | 65 73 74 69 6e 67 20 61 |easier t|esting a|
|000063a0| 6e 64 20 69 6e 73 74 61 | 6c 6c 61 74 69 6f 6e 2e |nd insta|llation.|
|000063b0| 0a 09 2d 20 54 68 65 20 | 70 61 72 73 65 72 20 68 |..- The |parser h|
|000063c0| 61 73 20 62 65 65 6e 20 | 74 77 65 61 6b 65 64 20 |as been |tweaked |
|000063d0| 74 6f 20 64 65 74 65 63 | 74 20 73 6f 6d 65 20 65 |to detec|t some e|
|000063e0| 72 72 6f 6e 65 6f 75 73 | 0a 09 20 20 63 6f 6e 73 |rroneous|.. cons|
|000063f0| 74 72 75 63 74 69 6f 6e | 73 20 77 68 69 63 68 20 |truction|s which |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.