home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Tape Archive
(archive/tar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Tape Archive (archive/tar)
| magic
| Supported |
100%
| file
| POSIX tar archive (GNU)
| default
| |
99%
| file
| POSIX tar archive (GNU), directory p2c/, mode 40755 , uid 11663 , gid 62 , size 0 , seconds 5707062000
| default
| |
98%
| file
| data
| default
| |
41%
| TrID
| Sybase iAnywhere database files
| default (weak)
| |
36%
| TrID
| TAR - Tape ARchive (GNU)
| default
| |
21%
| TrID
| TAR - Tape ARchive (directory)
| default
| |
100%
| siegfried
| x-fmt/265 Tape Archive Format
| default
| |
100%
| lsar
| Tar
| default
| |
100%
| gt2
| TAR Archiv gefunden (Auflistung ist deaktiviert)
| default
| |
100%
| disktype
| GNU tar archive
| default
| |
100%
| detectItEasy
| Archive: tar
| default
| |
100%
| binwalkID
| POSIX tar archive (GNU)
| default
| |
100%
| xdgMime
| application/x-tar
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 70 32 63 2f 00 00 00 00 | 00 00 00 00 00 00 00 00 |p2c/....|........|
|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 34 30 37 | 35 35 20 00 20 31 31 36 |.... 407|55 . 116|
|00000070| 36 33 20 00 20 20 20 20 | 36 32 20 00 20 20 20 20 |63 . |62 . |
|00000080| 20 20 20 20 20 20 30 20 | 20 35 37 30 37 30 36 32 | 0 | 5707062|
|00000090| 30 30 30 20 20 20 36 30 | 36 31 00 20 35 00 00 00 |000 60|61. 5...|
|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 75 73 74 61 72 20 20 | 00 00 00 00 00 00 00 00 |.ustar |........|
|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| 70 32 63 2f 73 72 63 2f | 00 00 00 00 00 00 00 00 |p2c/src/|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|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 34 30 37 | 35 35 20 00 20 31 31 36 |.... 407|55 . 116|
|00000270| 36 33 20 00 20 20 20 37 | 36 34 20 00 20 20 20 20 |63 . 7|64 . |
|00000280| 20 20 20 20 20 20 30 20 | 20 35 37 30 37 30 36 33 | 0 | 5707063|
|00000290| 31 37 37 20 20 20 36 37 | 32 31 00 20 35 00 00 00 |177 67|21. 5...|
|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 75 73 74 61 72 20 20 | 00 00 00 00 00 00 00 00 |.ustar |........|
|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| 70 32 63 2f 73 72 63 2f | 52 45 41 44 4d 45 00 00 |p2c/src/|README..|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 31 31 36 |....1006|44 . 116|
|00000470| 36 33 20 00 20 20 20 37 | 36 34 20 00 20 20 20 20 |63 . 7|64 . |
|00000480| 20 20 20 35 37 32 30 20 | 20 35 30 30 35 33 36 35 | 5720 | 5005365|
|00000490| 33 35 30 20 20 20 37 36 | 36 37 00 20 30 00 00 00 |350 76|67. 0...|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 75 73 74 61 72 20 20 | 00 00 00 00 00 00 00 00 |.ustar |........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 0a 54 68 69 73 20 64 69 | 72 65 63 74 6f 72 79 20 |.This di|rectory |
|00000610| 63 6f 6e 74 61 69 6e 73 | 20 22 70 32 63 22 2c 20 |contains| "p2c", |
|00000620| 61 20 50 61 73 63 61 6c | 20 74 6f 20 43 20 74 72 |a Pascal| to C tr|
|00000630| 61 6e 73 6c 61 74 6f 72 | 2e 0a 0a 22 70 32 63 22 |anslator|..."p2c"|
|00000640| 20 20 43 6f 70 79 72 69 | 67 68 74 20 31 39 38 39 | Copyri|ght 1989|
|00000650| 2c 20 31 39 39 30 2c 20 | 31 39 39 31 20 20 46 72 |, 1990, |1991 Fr|
|00000660| 65 65 20 53 6f 66 74 77 | 61 72 65 20 46 6f 75 6e |ee Softw|are Foun|
|00000670| 64 61 74 69 6f 6e 2c 20 | 49 6e 63 2e 0a 0a 57 72 |dation, |Inc...Wr|
|00000680| 69 74 74 65 6e 20 61 6e | 64 20 6d 61 69 6e 74 61 |itten an|d mainta|
|00000690| 69 6e 65 64 20 62 79 3a | 20 20 20 44 61 76 65 20 |ined by:| Dave |
|000006a0| 47 69 6c 6c 65 73 70 69 | 65 0a 09 09 09 20 20 20 |Gillespi|e.... |
|000006b0| 20 20 32 35 36 2d 38 30 | 20 43 61 6c 74 65 63 68 | 256-80| Caltech|
|000006c0| 0a 09 09 09 20 20 20 20 | 20 50 61 73 61 64 65 6e |.... | Pasaden|
|000006d0| 61 20 43 41 20 39 31 31 | 32 35 0a 09 09 09 20 20 |a CA 911|25.... |
|000006e0| 20 20 20 64 61 76 65 67 | 40 63 73 76 61 78 2e 63 | daveg|@csvax.c|
|000006f0| 73 2e 63 61 6c 74 65 63 | 68 2e 65 64 75 2c 20 63 |s.caltec|h.edu, c|
|00000700| 69 74 2d 76 61 78 21 64 | 61 76 65 67 0a 0a 0a 54 |it-vax!d|aveg...T|
|00000710| 68 69 73 20 70 72 6f 67 | 72 61 6d 20 69 73 20 64 |his prog|ram is d|
|00000720| 69 73 74 72 69 62 75 74 | 65 64 20 75 6e 64 65 72 |istribut|ed under|
|00000730| 20 74 68 65 20 74 65 72 | 6d 73 20 6f 66 20 74 68 | the ter|ms of th|
|00000740| 65 20 47 4e 55 20 4c 69 | 63 65 6e 73 65 20 41 67 |e GNU Li|cense Ag|
|00000750| 72 65 65 6d 65 6e 74 2e | 0a 53 65 65 20 74 68 65 |reement.|.See the|
|00000760| 20 66 69 6c 65 20 73 72 | 63 2f 43 4f 50 59 49 4e | file sr|c/COPYIN|
|00000770| 47 20 66 6f 72 20 64 65 | 74 61 69 6c 73 2e 0a 0a |G for de|tails...|
|00000780| 54 68 65 20 47 4e 55 20 | 4c 69 63 65 6e 73 65 20 |The GNU |License |
|00000790| 41 67 72 65 65 6d 65 6e | 74 20 72 65 73 74 72 69 |Agreemen|t restri|
|000007a0| 63 74 69 6f 6e 73 20 64 | 6f 20 5f 6e 6f 74 5f 20 |ctions d|o _not_ |
|000007b0| 61 70 70 6c 79 20 74 6f | 20 63 6f 64 65 20 67 65 |apply to| code ge|
|000007c0| 6e 65 72 61 74 65 64 0a | 62 79 20 70 32 63 2c 20 |nerated.|by p2c, |
|000007d0| 6e 6f 72 20 74 6f 20 74 | 68 65 20 70 32 63 20 72 |nor to t|he p2c r|
|000007e0| 75 6e 2d 74 69 6d 65 20 | 66 69 6c 65 73 20 22 70 |un-time |files "p|
|000007f0| 32 63 6c 69 62 2e 63 22 | 20 61 6e 64 20 22 70 32 |2clib.c"| and "p2|
|00000800| 63 2e 68 22 2e 0a 0a 0a | 0a 54 68 65 20 66 69 6c |c.h"....|.The fil|
|00000810| 65 20 22 74 72 61 6e 73 | 2e 63 22 20 69 6e 63 6c |e "trans|.c" incl|
|00000820| 75 64 65 73 20 61 6e 20 | 6f 76 65 72 76 69 65 77 |udes an |overview|
|00000830| 20 6f 66 20 74 68 65 20 | 73 6f 75 72 63 65 20 66 | of the |source f|
|00000840| 69 6c 65 73 20 6f 66 20 | 70 32 63 2e 0a 41 6c 6c |iles of |p2c..All|
|00000850| 20 70 32 63 20 73 6f 75 | 72 63 65 20 66 69 6c 65 | p2c sou|rce file|
|00000860| 73 20 69 6e 63 6c 75 64 | 65 20 74 68 65 20 68 65 |s includ|e the he|
|00000870| 61 64 65 72 20 22 74 72 | 61 6e 73 2e 68 22 2e 0a |ader "tr|ans.h"..|
|00000880| 0a 54 68 65 20 66 69 6c | 65 20 22 64 69 72 2e 63 |.The fil|e "dir.c|
|00000890| 22 20 69 73 20 69 6e 74 | 65 6e 64 65 64 20 74 6f |" is int|ended to|
|000008a0| 20 62 65 20 6d 6f 64 69 | 66 69 65 64 20 62 79 20 | be modi|fied by |
|000008b0| 74 68 65 20 75 73 65 72 | 20 74 6f 20 69 6e 73 74 |the user| to inst|
|000008c0| 61 6c 6c 0a 63 6f 64 65 | 20 66 6f 72 20 63 75 73 |all.code| for cus|
|000008d0| 74 6f 6d 20 74 72 61 6e | 73 6c 61 74 69 6f 6e 73 |tom tran|slations|
|000008e0| 20 6f 66 20 63 65 72 74 | 61 69 6e 20 70 72 6f 63 | of cert|ain proc|
|000008f0| 65 64 75 72 65 73 2e 20 | 20 54 6f 20 61 64 64 20 |edures. | To add |
|00000900| 79 6f 75 72 20 6f 77 6e | 0a 63 75 73 74 6f 6d 20 |your own|.custom |
|00000910| 63 6f 64 65 20 74 6f 20 | 70 32 63 2c 20 6d 6f 64 |code to |p2c, mod|
|00000920| 69 66 79 20 43 55 53 54 | 53 52 43 53 20 61 6e 64 |ify CUST|SRCS and|
|00000930| 20 43 55 53 54 44 45 46 | 53 20 69 6e 20 74 68 65 | CUSTDEF|S in the|
|00000940| 20 4d 61 6b 65 66 69 6c | 65 2c 0a 74 68 65 6e 20 | Makefil|e,.then |
|00000950| 72 65 63 6f 6d 70 69 6c | 65 20 64 69 72 2e 63 2e |recompil|e dir.c.|
|00000960| 0a 0a 54 68 65 20 66 69 | 6c 65 20 22 73 79 73 74 |..The fi|le "syst|
|00000970| 65 6d 2e 69 6d 70 22 20 | 28 63 6f 70 69 65 64 20 |em.imp" |(copied |
|00000980| 74 6f 20 25 48 2f 73 79 | 73 74 65 6d 2e 69 6d 70 |to %H/sy|stem.imp|
|00000990| 29 20 63 6f 6e 74 61 69 | 6e 73 20 64 65 63 6c 61 |) contai|ns decla|
|000009a0| 72 61 74 69 6f 6e 73 0a | 66 6f 72 20 22 70 72 65 |rations.|for "pre|
|000009b0| 64 65 66 69 6e 65 64 22 | 20 66 75 6e 63 74 69 6f |defined"| functio|
|000009c0| 6e 73 20 6c 69 6b 65 20 | 22 73 71 72 74 22 2e 20 |ns like |"sqrt". |
|000009d0| 20 54 68 65 73 65 20 67 | 65 6e 65 72 61 6c 6c 79 | These g|enerally|
|000009e0| 20 68 61 76 65 20 63 75 | 73 74 6f 6d 0a 74 72 61 | have cu|stom.tra|
|000009f0| 6e 73 6c 61 74 69 6f 6e | 20 63 6f 64 65 20 69 6e |nslation| code in|
|00000a00| 20 66 75 6e 63 73 2e 63 | 2e 20 20 46 75 6e 63 74 | funcs.c|. Funct|
|00000a10| 69 6f 6e 73 20 77 69 74 | 68 20 69 72 72 65 67 75 |ions wit|h irregu|
|00000a20| 6c 61 72 20 73 79 6e 74 | 61 78 65 73 20 68 61 76 |lar synt|axes hav|
|00000a30| 65 0a 74 68 65 69 72 20 | 73 79 6d 62 6f 6c 20 74 |e.their |symbol t|
|00000a40| 61 62 6c 65 20 65 6e 74 | 72 69 65 73 20 62 75 69 |able ent|ries bui|
|00000a50| 6c 74 20 64 69 72 65 63 | 74 6c 79 20 69 6e 20 66 |lt direc|tly in f|
|00000a60| 75 6e 63 73 2e 63 3b 20 | 74 68 65 79 20 64 6f 20 |uncs.c; |they do |
|00000a70| 6e 6f 74 0a 61 70 70 65 | 61 72 20 68 65 72 65 2e |not.appe|ar here.|
|00000a80| 20 20 54 68 65 20 64 65 | 66 61 75 6c 74 20 73 79 | The de|fault sy|
|00000a90| 73 2e 70 32 63 72 63 20 | 63 61 75 73 65 73 20 70 |s.p2crc |causes p|
|00000aa0| 32 63 20 74 6f 20 72 65 | 61 64 20 73 79 73 74 65 |2c to re|ad syste|
|00000ab0| 6d 2e 69 6d 70 20 61 74 | 0a 74 68 65 20 62 65 67 |m.imp at|.the beg|
|00000ac0| 69 6e 6e 69 6e 67 20 6f | 66 20 65 76 65 72 79 20 |inning o|f every |
|00000ad0| 6a 6f 62 2e 0a 0a 54 68 | 65 20 66 69 6c 65 20 22 |job...Th|e file "|
|00000ae0| 73 79 73 74 65 6d 2e 6d | 32 22 20 63 6f 6e 74 61 |system.m|2" conta|
|00000af0| 69 6e 73 20 64 65 63 6c | 61 72 61 74 69 6f 6e 73 |ins decl|arations|
|00000b00| 20 66 6f 72 20 70 72 65 | 64 65 66 69 6e 65 64 20 | for pre|defined |
|00000b10| 4d 6f 64 75 6c 61 2d 32 | 0a 66 75 6e 63 74 69 6f |Modula-2|.functio|
|00000b20| 6e 73 2e 20 20 49 74 20 | 73 68 6f 75 6c 64 20 62 |ns. It |should b|
|00000b30| 65 20 73 75 62 73 74 69 | 74 75 74 65 64 20 66 6f |e substi|tuted fo|
|00000b40| 72 20 22 73 79 73 74 65 | 6d 2e 69 6d 70 22 20 77 |r "syste|m.imp" w|
|00000b50| 68 65 6e 20 74 72 61 6e | 73 6c 61 74 69 6e 67 0a |hen tran|slating.|
|00000b60| 4d 6f 64 75 6c 61 2d 32 | 20 70 72 6f 67 72 61 6d |Modula-2| program|
|00000b70| 73 2e 0a 0a 54 68 65 20 | 66 69 6c 65 20 22 74 75 |s...The |file "tu|
|00000b80| 72 62 6f 2e 69 6d 70 22 | 20 63 6f 6e 74 61 69 6e |rbo.imp"| contain|
|00000b90| 73 20 64 65 63 6c 61 72 | 61 74 69 6f 6e 73 20 66 |s declar|ations f|
|00000ba0| 6f 72 20 61 6c 6c 20 74 | 68 65 20 54 75 72 62 6f |or all t|he Turbo|
|00000bb0| 20 50 61 73 63 61 6c 0a | 73 74 61 6e 64 61 72 64 | Pascal.|standard|
|00000bc0| 20 75 6e 69 74 73 20 6c | 69 6b 65 20 64 6f 73 20 | units l|ike dos |
|00000bd0| 61 6e 64 20 63 72 74 2e | 20 20 28 54 68 65 73 65 |and crt.| (These|
|00000be0| 20 61 72 65 20 76 65 72 | 79 20 69 6e 63 6f 6d 70 | are ver|y incomp|
|00000bf0| 6c 65 74 65 20 61 74 0a | 70 72 65 73 65 6e 74 2e |lete at.|present.|
|00000c00| 29 20 20 54 68 65 20 64 | 65 66 61 75 6c 74 20 73 |) The d|efault s|
|00000c10| 79 73 2e 70 32 63 72 63 | 20 63 61 75 73 65 73 20 |ys.p2crc| causes |
|00000c20| 70 32 63 20 74 6f 20 72 | 65 61 64 20 74 75 72 62 |p2c to r|ead turb|
|00000c30| 6f 2e 69 6d 70 20 61 73 | 0a 73 6f 6f 6e 20 61 73 |o.imp as|.soon as|
|00000c40| 20 61 6e 79 20 54 75 72 | 62 6f 20 73 74 61 6e 64 | any Tur|bo stand|
|00000c50| 61 72 64 20 75 6e 69 74 | 20 69 73 20 75 73 65 64 |ard unit| is used|
|00000c60| 2e 0a 0a 54 68 65 20 66 | 69 6c 65 20 22 73 74 72 |...The f|ile "str|
|00000c70| 69 6e 67 2e 70 61 73 22 | 20 69 6d 70 6c 65 6d 65 |ing.pas"| impleme|
|00000c80| 6e 74 73 20 74 68 65 20 | 4f 72 65 67 6f 6e 20 53 |nts the |Oregon S|
|00000c90| 6f 66 74 77 61 72 65 20 | 64 79 6e 61 6d 69 63 20 |oftware |dynamic |
|00000ca0| 73 74 72 69 6e 67 73 0a | 70 61 63 6b 61 67 65 2e |strings.|package.|
|00000cb0| 20 20 54 68 65 73 65 20 | 61 72 65 20 74 72 61 6e | These |are tran|
|00000cc0| 73 6c 61 74 65 64 20 70 | 72 65 74 74 79 20 63 6f |slated p|retty co|
|00000cd0| 6d 70 6c 65 74 65 6c 79 | 20 69 6e 74 6f 20 6e 61 |mpletely| into na|
|00000ce0| 74 69 76 65 20 43 20 73 | 74 72 69 6e 67 73 0a 75 |tive C s|trings.u|
|00000cf0| 73 69 6e 67 20 6f 6e 6c | 79 20 74 68 65 20 46 75 |sing onl|y the Fu|
|00000d00| 6e 63 4d 61 63 72 6f 20 | 6d 65 63 68 61 6e 69 73 |ncMacro |mechanis|
|00000d10| 6d 20 6f 66 20 70 32 63 | 2d 2d 2d 6e 6f 20 63 75 |m of p2c|---no cu|
|00000d20| 73 74 6f 6d 20 43 20 63 | 6f 64 65 20 77 61 73 0a |stom C c|ode was.|
|00000d30| 77 72 69 74 74 65 6e 20 | 74 6f 20 73 75 70 70 6f |written |to suppo|
|00000d40| 72 74 20 74 68 65 73 65 | 20 66 75 6e 63 74 69 6f |rt these| functio|
|00000d50| 6e 73 2e 0a 0a 54 68 65 | 20 66 69 6c 65 20 22 4e |ns...The| file "N|
|00000d60| 4f 54 45 53 22 20 63 6f | 6e 74 61 69 6e 73 20 74 |OTES" co|ntains t|
|00000d70| 68 65 20 61 75 74 68 6f | 72 27 73 20 63 75 72 72 |he autho|r's curr|
|00000d80| 65 6e 74 20 62 75 67 73 | 2d 61 6e 64 2d 70 6c 61 |ent bugs|-and-pla|
|00000d90| 6e 73 20 6c 69 73 74 2e | 0a 54 68 65 20 66 69 6c |ns list.|.The fil|
|00000da0| 65 20 22 48 49 53 54 4f | 52 59 22 20 63 6f 6e 74 |e "HISTO|RY" cont|
|00000db0| 61 69 6e 73 20 74 68 65 | 20 72 65 76 69 73 69 6f |ains the| revisio|
|00000dc0| 6e 20 68 69 73 74 6f 72 | 79 20 6f 66 20 74 68 65 |n histor|y of the|
|00000dd0| 20 70 72 6f 67 72 61 6d | 2e 0a 0a 54 68 65 20 22 | program|...The "|
|00000de0| 6d 61 6b 65 70 72 6f 74 | 6f 22 20 70 72 6f 67 72 |makeprot|o" progr|
|00000df0| 61 6d 20 69 73 20 61 6e | 20 69 6e 64 65 70 65 6e |am is an| indepen|
|00000e00| 64 65 6e 74 20 75 74 69 | 6c 69 74 79 20 66 6f 72 |dent uti|lity for|
|00000e10| 20 73 63 61 6e 6e 69 6e | 67 20 61 20 6c 61 72 67 | scannin|g a larg|
|00000e20| 65 0a 43 20 70 72 6f 67 | 72 61 6d 20 77 69 74 68 |e.C prog|ram with|
|00000e30| 20 6f 6c 64 2d 73 74 79 | 6c 65 20 64 65 63 6c 61 | old-sty|le decla|
|00000e40| 72 61 74 69 6f 6e 73 20 | 61 6e 64 20 62 75 69 6c |rations |and buil|
|00000e50| 64 69 6e 67 20 66 75 6e | 63 74 69 6f 6e 20 70 72 |ding fun|ction pr|
|00000e60| 6f 74 6f 74 79 70 65 73 | 0a 66 6f 72 20 61 6c 6c |ototypes|.for all|
|00000e70| 20 69 74 73 20 66 75 6e | 63 74 69 6f 6e 73 2e 20 | its fun|ctions. |
|00000e80| 20 54 68 65 20 22 74 72 | 61 6e 73 2e 68 22 20 66 | The "tr|ans.h" f|
|00000e90| 69 6c 65 20 23 69 6e 63 | 6c 75 64 65 73 20 74 68 |ile #inc|ludes th|
|00000ea0| 65 20 70 72 6f 74 6f 74 | 79 70 65 0a 66 69 6c 65 |e protot|ype.file|
|00000eb0| 73 20 66 6f 72 20 61 6c | 6c 20 6f 66 20 70 32 63 |s for al|l of p2c|
|00000ec0| 2e 0a 0a 0a 4e 4f 20 57 | 41 52 52 41 4e 54 59 3a |....NO W|ARRANTY:|
|00000ed0| 0a 20 20 20 54 68 65 20 | 70 72 6f 67 72 61 6d 20 |. The |program |
|00000ee0| 69 6e 20 74 68 69 73 20 | 64 69 72 65 63 74 6f 72 |in this |director|
|00000ef0| 79 20 77 61 73 20 64 65 | 76 65 6c 6f 70 65 64 20 |y was de|veloped |
|00000f00| 66 6f 72 20 69 6e 74 65 | 72 6e 61 6c 20 75 73 65 |for inte|rnal use|
|00000f10| 20 61 74 0a 20 20 20 43 | 61 6c 74 65 63 68 20 61 | at. C|altech a|
|00000f20| 6e 64 20 74 68 75 73 20 | 61 62 73 6f 6c 75 74 65 |nd thus |absolute|
|00000f30| 6c 79 20 6e 6f 20 67 75 | 61 72 61 6e 74 65 65 20 |ly no gu|arantee |
|00000f40| 69 73 20 6d 61 64 65 20 | 74 68 61 74 20 74 68 65 |is made |that the|
|00000f50| 20 70 72 6f 67 72 61 6d | 0a 20 20 20 77 69 6c 6c | program|. will|
|00000f60| 20 63 6f 6d 70 69 6c 65 | 20 6f 72 20 72 75 6e 20 | compile| or run |
|00000f70| 6f 6e 20 6f 74 68 65 72 | 20 73 79 73 74 65 6d 73 |on other| systems|
|00000f80| 20 6f 72 20 74 68 61 74 | 20 69 74 20 77 69 6c 6c | or that| it will|
|00000f90| 20 70 72 6f 64 75 63 65 | 20 63 6f 72 72 65 63 74 | produce| correct|
|00000fa0| 0a 20 20 20 63 6f 64 65 | 2e 20 20 50 32 63 20 69 |. code|. P2c i|
|00000fb0| 73 20 5f 6e 6f 74 5f 20 | 61 20 63 6f 6d 70 69 6c |s _not_ |a compil|
|00000fc0| 65 72 2c 20 69 74 20 69 | 73 20 61 20 74 72 61 6e |er, it i|s a tran|
|00000fd0| 73 6c 61 74 6f 72 3b 20 | 69 74 20 73 74 72 69 76 |slator; |it striv|
|00000fe0| 65 73 20 74 6f 0a 20 20 | 20 70 72 6f 64 75 63 65 |es to. | produce|
|00000ff0| 20 63 6f 72 72 65 63 74 | 20 63 6f 64 65 20 62 75 | correct| code bu|
|00001000| 74 20 72 65 73 65 72 76 | 65 73 20 74 68 65 20 72 |t reserv|es the r|
|00001010| 69 67 68 74 20 74 6f 20 | 73 61 63 72 69 66 69 63 |ight to |sacrific|
|00001020| 65 20 63 6f 72 72 65 63 | 74 6e 65 73 73 0a 20 20 |e correc|tness. |
|00001030| 20 69 6e 20 65 78 74 72 | 65 6d 65 20 63 61 73 65 | in extr|eme case|
|00001040| 73 20 66 6f 72 20 72 65 | 61 64 61 62 69 6c 69 74 |s for re|adabilit|
|00001050| 79 20 69 6e 20 74 68 65 | 20 67 65 6e 65 72 61 6c |y in the| general|
|00001060| 20 63 61 73 65 2e 20 20 | 50 32 63 20 69 73 20 64 | case. |P2c is d|
|00001070| 65 73 69 67 6e 65 64 0a | 20 20 20 74 6f 20 62 65 |esigned.| to be|
|00001080| 20 65 78 74 65 6e 64 65 | 64 20 28 73 65 65 20 66 | extende|d (see f|
|00001090| 75 6e 63 73 2e 63 2c 20 | 68 70 6d 6f 64 73 2e 63 |uncs.c, |hpmods.c|
|000010a0| 20 61 6e 64 20 63 69 74 | 6d 6f 64 73 2e 63 20 66 | and cit|mods.c f|
|000010b0| 6f 72 20 65 78 61 6d 70 | 6c 65 73 29 2c 20 62 75 |or examp|les), bu|
|000010c0| 74 0a 20 20 20 73 6f 6d | 65 20 6f 66 20 74 68 65 |t. som|e of the|
|000010d0| 20 6d 61 69 6e 20 63 6f | 64 65 20 69 73 20 70 72 | main co|de is pr|
|000010e0| 65 74 74 79 20 6d 65 73 | 73 79 20 73 69 6e 63 65 |etty mes|sy since|
|000010f0| 20 74 68 65 20 74 72 61 | 6e 73 6c 61 74 6f 72 20 | the tra|nslator |
|00001100| 68 61 73 20 67 72 6f 77 | 6e 0a 20 20 20 63 6f 6e |has grow|n. con|
|00001110| 73 69 64 65 72 61 62 6c | 79 20 62 65 79 6f 6e 64 |siderabl|y beyond|
|00001120| 20 69 74 73 20 6f 72 69 | 67 69 6e 61 6c 20 70 6c | its ori|ginal pl|
|00001130| 61 6e 6e 65 64 20 73 63 | 61 6c 65 2e 20 20 42 75 |anned sc|ale. Bu|
|00001140| 67 20 72 65 70 6f 72 74 | 73 20 61 72 65 0a 20 20 |g report|s are. |
|00001150| 20 77 65 6c 63 6f 6d 65 | 20 61 74 20 64 61 76 65 | welcome| at dave|
|00001160| 67 40 63 73 76 61 78 2e | 63 61 6c 74 65 63 68 2e |g@csvax.|caltech.|
|00001170| 65 64 75 2c 20 62 75 74 | 20 49 20 6d 61 79 20 6e |edu, but| I may n|
|00001180| 6f 74 20 68 61 76 65 20 | 74 69 6d 65 20 74 6f 20 |ot have |time to |
|00001190| 72 65 73 70 6f 6e 64 0a | 20 20 20 74 6f 20 74 68 |respond.| to th|
|000011a0| 65 6d 20 69 6d 6d 65 64 | 69 61 74 65 6c 79 2e 20 |em immed|iately. |
|000011b0| 20 53 75 67 67 65 73 74 | 69 6f 6e 73 20 61 72 65 | Suggest|ions are|
|000011c0| 20 77 65 6c 63 6f 6d 65 | 2c 20 74 6f 6f 21 0a 0a | welcome|, too!..|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001200| 70 32 63 2f 73 72 63 2f | 48 49 53 54 4f 52 59 00 |p2c/src/|HISTORY.|
|00001210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001260| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 31 31 36 |....1006|44 . 116|
|00001270| 36 33 20 00 20 20 20 37 | 36 34 20 00 20 20 20 20 |63 . 7|64 . |
|00001280| 20 20 36 33 34 34 34 20 | 20 35 30 30 35 33 36 35 | 63444 | 5005365|
|00001290| 33 35 30 20 20 31 30 31 | 32 32 00 20 30 00 00 00 |350 101|22. 0...|
|000012a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001300| 00 75 73 74 61 72 20 20 | 00 00 00 00 00 00 00 00 |.ustar |........|
|00001310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 0a 0a 53 75 6d 6d 61 72 | 79 20 6f 66 20 63 68 61 |..Summar|y of cha|
|00001410| 6e 67 65 73 20 74 6f 20 | 22 70 32 63 22 0a 2d 2d |nges to |"p2c".--|
|00001420| 2d 2d 2d 2d 2d 20 2d 2d | 20 2d 2d 2d 2d 2d 2d 2d |----- --| -------|
|00001430| 20 2d 2d 20 20 2d 2d 2d | 0a 0a 0a 56 65 72 73 69 | -- ---|...Versi|
|00001440| 6f 6e 20 31 2e 32 30 3a | 0a 0a 20 2a 20 43 68 61 |on 1.20:|.. * Cha|
|00001450| 6e 67 65 64 20 56 41 58 | 20 22 74 79 70 65 20 74 |nged VAX| "type t|
|00001460| 20 3d 20 5b 62 79 74 65 | 5d 20 30 2e 2e 32 35 35 | = [byte|] 0..255|
|00001470| 22 20 6e 6f 74 20 74 6f | 20 73 61 79 20 69 74 20 |" not to| say it |
|00001480| 63 61 6e 27 74 20 69 6e | 74 65 72 70 72 65 74 20 |can't in|terpret |
|00001490| 73 69 7a 65 2e 0a 0a 20 | 2a 20 43 68 61 6e 67 65 |size... |* Change|
|000014a0| 64 20 74 6f 20 75 73 65 | 20 61 20 74 65 6d 70 20 |d to use| a temp |
|000014b0| 76 61 72 20 77 68 65 6e | 20 70 61 73 73 69 6e 67 |var when| passing|
|000014c0| 20 61 20 63 6f 6e 73 74 | 61 6e 74 20 74 6f 20 61 | a const|ant to a|
|000014d0| 20 56 41 52 20 70 61 72 | 61 6d 65 74 65 72 2e 0a | VAR par|ameter..|
|000014e0| 0a 20 2a 20 43 68 61 6e | 67 65 64 20 74 6f 20 61 |. * Chan|ged to a|
|000014f0| 76 6f 69 64 20 69 6e 69 | 74 69 61 6c 69 7a 69 6e |void ini|tializin|
|00001500| 67 20 63 68 61 72 20 61 | 72 72 61 79 73 20 77 69 |g char a|rrays wi|
|00001510| 74 68 20 73 74 72 69 6e | 67 20 6c 69 74 65 72 61 |th strin|g litera|
|00001520| 6c 73 20 69 6e 20 70 72 | 65 2d 41 4e 53 49 2e 0a |ls in pr|e-ANSI..|
|00001530| 0a 20 2a 20 43 68 61 6e | 67 65 64 20 74 6f 20 6d |. * Chan|ged to m|
|00001540| 61 6b 65 20 61 72 69 74 | 68 6d 65 74 69 63 20 69 |ake arit|hmetic i|
|00001550| 6e 76 6f 6c 76 69 6e 67 | 20 63 68 61 72 61 63 74 |nvolving| charact|
|00001560| 65 72 20 6c 69 74 65 72 | 61 6c 73 20 6d 6f 72 65 |er liter|als more|
|00001570| 20 72 65 61 64 61 62 6c | 65 2e 0a 0a 20 2a 20 43 | readabl|e... * C|
|00001580| 68 61 6e 67 65 64 20 74 | 6f 20 61 63 63 65 70 74 |hanged t|o accept|
|00001590| 20 65 6d 70 74 79 20 70 | 61 72 65 6e 74 68 65 73 | empty p|arenthes|
|000015a0| 65 73 20 69 6e 20 66 75 | 6e 63 74 69 6f 6e 20 64 |es in fu|nction d|
|000015b0| 65 63 6c 61 72 61 74 69 | 6f 6e 73 20 28 66 6f 72 |eclarati|ons (for|
|000015c0| 20 4d 6f 64 75 6c 61 20 | 32 29 2e 0a 0a 20 2a 20 | Modula |2)... * |
|000015d0| 4d 61 64 65 20 6d 6f 72 | 65 20 63 68 61 6e 67 65 |Made mor|e change|
|000015e0| 73 20 66 6f 72 20 56 41 | 58 20 61 6e 64 20 4d 53 |s for VA|X and MS|
|000015f0| 44 4f 53 20 63 6f 6d 70 | 61 74 69 62 69 6c 69 74 |DOS comp|atibilit|
|00001600| 79 20 28 74 68 61 6e 6b | 73 20 74 6f 20 57 69 6c |y (thank|s to Wil|
|00001610| 6c 69 61 6d 20 42 61 64 | 65 72 29 2e 0a 0a 20 2a |liam Bad|er)... *|
|00001620| 20 41 64 64 65 64 20 73 | 75 70 70 6f 72 74 20 66 | Added s|upport f|
|00001630| 6f 72 20 50 41 43 4b 20 | 61 6e 64 20 55 4e 50 41 |or PACK |and UNPA|
|00001640| 43 4b 20 70 72 6f 63 65 | 64 75 72 65 73 20 28 66 |CK proce|dures (f|
|00001650| 69 6e 61 6c 6c 79 21 29 | 2e 0a 0a 20 2a 20 45 4d |inally!)|... * EM|
|00001660| 42 45 44 20 6c 69 6e 65 | 73 20 62 65 67 69 6e 6e |BED line|s beginn|
|00001670| 69 6e 67 20 77 69 74 68 | 20 60 23 27 20 61 72 65 |ing with| `#' are|
|00001680| 20 6e 6f 20 6c 6f 6e 67 | 65 72 20 69 6e 64 65 6e | no long|er inden|
|00001690| 74 65 64 2e 0a 0a 20 2a | 20 45 61 74 43 6f 6d 6d |ted... *| EatComm|
|000016a0| 65 6e 74 73 20 6e 6f 20 | 6c 6f 6e 67 65 72 20 65 |ents no |longer e|
|000016b0| 61 74 73 20 45 4d 42 45 | 44 20 63 6f 6d 6d 65 6e |ats EMBE|D commen|
|000016c0| 74 73 2e 0a 0a 20 2a 20 | 52 65 77 6f 72 64 65 64 |ts... * |Reworded|
|000016d0| 20 22 46 69 6c 65 20 70 | 61 72 61 6d 74 65 72 20 | "File p|aramter |
|000016e0| 6e 65 65 64 73 20 61 73 | 73 6f 63 69 61 74 65 64 |needs as|sociated|
|000016f0| 20 62 75 66 66 65 72 73 | 22 20 74 6f 20 73 75 67 | buffers|" to sug|
|00001700| 67 65 73 74 20 53 74 72 | 75 63 74 46 69 6c 65 73 |gest Str|uctFiles|
|00001710| 2e 0a 0a 20 2a 20 41 64 | 64 65 64 20 61 62 69 6c |... * Ad|ded abil|
|00001720| 69 74 79 20 74 6f 20 65 | 6c 69 6d 69 6e 61 74 65 |ity to e|liminate|
|00001730| 20 22 69 66 20 66 61 6c | 73 65 22 20 61 6e 64 20 | "if fal|se" and |
|00001740| 22 69 66 20 74 72 75 65 | 22 20 69 66 20 45 6c 69 |"if true|" if Eli|
|00001750| 6d 44 65 61 64 43 6f 64 | 65 20 3d 20 32 2e 0a 0a |mDeadCod|e = 2...|
|00001760| 20 2a 20 42 75 67 20 66 | 69 78 20 69 6e 20 66 75 | * Bug f|ix in fu|
|00001770| 6e 63 73 2e 63 3a 68 61 | 6e 64 6c 65 72 65 61 64 |ncs.c:ha|ndleread|
|00001780| 2f 77 72 69 74 65 5f 74 | 65 78 74 3a 20 54 72 65 |/write_t|ext: Tre|
|00001790| 61 74 65 64 20 63 61 73 | 65 20 77 68 65 72 65 20 |ated cas|e where |
|000017a0| 66 65 78 20 69 73 20 61 | 20 50 41 43 2e 0a 20 20 |fex is a| PAC.. |
|000017b0| 20 53 79 6d 70 74 6f 6d | 3a 20 56 41 58 20 50 61 | Symptom|: VAX Pa|
|000017c0| 73 63 61 6c 20 72 65 61 | 64 76 2f 77 72 69 74 65 |scal rea|dv/write|
|000017d0| 76 20 66 61 69 6c 65 64 | 20 77 68 65 6e 20 22 73 |v failed| when "s|
|000017e0| 74 72 69 6e 67 22 20 77 | 61 73 20 61 6e 20 61 72 |tring" w|as an ar|
|000017f0| 72 61 79 20 6f 66 20 63 | 68 61 72 73 2e 0a 0a 20 |ray of c|hars... |
|00001800| 2a 20 42 75 67 20 66 69 | 78 20 69 6e 20 65 78 70 |* Bug fi|x in exp|
|00001810| 72 2e 63 3a 6d 61 6b 65 | 65 78 70 72 5f 63 68 61 |r.c:make|expr_cha|
|00001820| 72 63 61 73 74 3a 20 57 | 61 74 63 68 20 66 6f 72 |rcast: W|atch for|
|00001830| 20 6d 70 2d 3e 76 61 6c | 2e 74 79 70 65 20 3d 3d | mp->val|.type ==|
|00001840| 20 4e 55 4c 4c 20 63 61 | 73 65 2e 0a 20 20 20 53 | NULL ca|se.. S|
|00001850| 79 6d 70 74 6f 6d 3a 20 | 52 65 66 65 72 65 6e 63 |ymptom: |Referenc|
|00001860| 65 20 74 6f 20 4e 55 4c | 4c 20 65 72 72 6f 72 20 |e to NUL|L error |
|00001870| 77 68 65 6e 20 72 65 66 | 65 72 72 69 6e 67 20 74 |when ref|erring t|
|00001880| 6f 20 73 6f 6d 65 20 43 | 4f 4e 53 54 20 6e 61 6d |o some C|ONST nam|
|00001890| 65 73 2e 0a 20 20 20 28 | 41 6c 73 6f 20 66 69 78 |es.. (|Also fix|
|000018a0| 65 64 20 74 68 69 73 20 | 62 75 67 20 69 6e 20 76 |ed this |bug in v|
|000018b0| 61 72 69 6f 75 73 20 6f | 74 68 65 72 20 70 6c 61 |arious o|ther pla|
|000018c0| 63 65 73 2e 29 0a 0a 20 | 2a 20 42 75 67 20 66 69 |ces.).. |* Bug fi|
|000018d0| 78 20 69 6e 20 65 78 70 | 72 2e 63 3a 65 76 61 6c |x in exp|r.c:eval|
|000018e0| 5f 65 78 70 72 5f 65 69 | 74 68 65 72 3a 20 43 68 |_expr_ei|ther: Ch|
|000018f0| 65 63 6b 20 66 6f 72 20 | 54 4b 5f 49 4e 54 45 47 |eck for |TK_INTEG|
|00001900| 45 52 2c 20 6e 6f 74 20 | 74 70 5f 69 6e 74 65 67 |ER, not |tp_integ|
|00001910| 65 72 2e 0a 20 20 20 53 | 79 6d 70 74 6f 6d 3a 20 |er.. S|ymptom: |
|00001920| 43 6f 6e 73 74 61 6e 74 | 20 65 78 70 72 73 20 69 |Constant| exprs i|
|00001930| 6e 76 6f 6c 76 69 6e 67 | 20 2b 2c 20 2a 2c 20 65 |nvolving| +, *, e|
|00001940| 74 63 2e 20 63 6f 75 6c | 64 20 6e 6f 74 20 61 6c |tc. coul|d not al|
|00001950| 77 61 79 73 20 62 65 20 | 65 76 61 6c 75 61 74 65 |ways be |evaluate|
|00001960| 64 2e 0a 0a 20 2a 20 42 | 75 67 20 66 69 78 20 69 |d... * B|ug fix i|
|00001970| 6e 20 70 65 78 70 72 2e | 63 3a 70 5f 66 61 63 74 |n pexpr.|c:p_fact|
|00001980| 6f 72 3a 4d 4b 5f 53 50 | 45 43 49 41 4c 20 63 61 |or:MK_SP|ECIAL ca|
|00001990| 73 65 3a 20 41 64 64 65 | 64 20 22 74 61 72 67 65 |se: Adde|d "targe|
|000019a0| 74 20 26 26 22 20 63 68 | 65 63 6b 2e 0a 20 20 20 |t &&" ch|eck.. |
|000019b0| 53 79 6d 70 74 6f 6d 3a | 20 52 65 66 65 72 65 6e |Symptom:| Referen|
|000019c0| 63 65 20 74 6f 20 4e 55 | 4c 4c 20 69 6e 20 56 41 |ce to NU|LL in VA|
|000019d0| 58 20 50 61 73 63 61 6c | 20 22 6f 70 65 6e 28 2e |X Pascal| "open(.|
|000019e0| 2e 2e 2c 20 2e 2e 2e 2c | 20 6e 65 77 29 22 2e 0a |.., ...,| new)"..|
|000019f0| 0a 20 2a 20 42 75 67 20 | 66 69 78 20 69 6e 20 70 |. * Bug |fix in p|
|00001a00| 32 63 6c 69 62 2e 63 3a | 6d 79 5f 6d 65 6d 63 70 |2clib.c:|my_memcp|
|00001a10| 79 20 65 74 63 2e 3a 20 | 55 73 65 20 6e 2d 2d 20 |y etc.: |Use n-- |
|00001a20| 3e 20 30 20 69 6e 73 74 | 65 61 64 20 6f 66 20 2d |> 0 inst|ead of -|
|00001a30| 2d 6e 20 3e 3d 20 30 2e | 0a 20 20 20 53 79 6d 70 |-n >= 0.|. Symp|
|00001a40| 74 6f 6d 3a 20 44 69 64 | 6e 27 74 20 77 6f 72 6b |tom: Did|n't work|
|00001a50| 20 77 68 65 6e 20 73 69 | 7a 65 5f 74 20 69 73 20 | when si|ze_t is |
|00001a60| 61 6e 20 75 6e 73 69 67 | 6e 65 64 20 69 6e 74 65 |an unsig|ned inte|
|00001a70| 67 65 72 20 74 79 70 65 | 2e 0a 0a 20 2a 20 42 75 |ger type|... * Bu|
|00001a80| 67 20 66 69 78 20 69 6e | 20 70 32 63 6c 69 62 2e |g fix in| p2clib.|
|00001a90| 63 3a 69 70 6f 77 3a 20 | 43 68 61 6e 67 65 64 20 |c:ipow: |Changed |
|00001aa0| 31 3c 3c 20 74 6f 20 31 | 4c 3c 3c 20 28 61 6c 73 |1<< to 1|L<< (als|
|00001ab0| 6f 20 69 6e 20 73 65 74 | 20 66 75 6e 63 74 69 6f |o in set| functio|
|00001ac0| 6e 73 29 2e 0a 20 20 20 | 53 79 6d 70 74 6f 6d 3a |ns).. |Symptom:|
|00001ad0| 20 44 69 64 6e 27 74 20 | 77 6f 72 6b 20 6f 6e 20 | Didn't |work on |
|00001ae0| 31 36 2d 62 69 74 20 74 | 61 72 67 65 74 20 6d 61 |16-bit t|arget ma|
|00001af0| 63 68 69 6e 65 73 2e 0a | 0a 20 2a 20 42 75 67 20 |chines..|. * Bug |
|00001b00| 66 69 78 20 69 6e 20 66 | 75 6e 63 73 2e 63 3a 68 |fix in f|uncs.c:h|
|00001b10| 61 6e 64 6c 65 72 65 61 | 64 5f 74 65 78 74 3a 20 |andlerea|d_text: |
|00001b20| 57 72 69 74 65 20 25 67 | 20 66 6f 72 20 66 6c 6f |Write %g| for flo|
|00001b30| 61 74 2c 20 25 6c 67 20 | 66 6f 72 20 64 6f 75 62 |at, %lg |for doub|
|00001b40| 6c 65 2e 0a 20 20 20 53 | 79 6d 70 74 6f 6d 3a 20 |le.. S|ymptom: |
|00001b50| 42 61 64 20 63 6f 64 65 | 20 66 6f 72 20 72 65 61 |Bad code| for rea|
|00001b60| 64 69 6e 67 20 61 20 22 | 73 69 6e 67 6c 65 22 20 |ding a "|single" |
|00001b70| 6f 72 20 22 73 68 6f 72 | 74 72 65 61 6c 22 20 76 |or "shor|treal" v|
|00001b80| 61 72 69 61 62 6c 65 2e | 0a 0a 20 2a 20 41 64 64 |ariable.|.. * Add|
|00001b90| 65 64 20 74 6f 20 73 79 | 73 2e 70 32 63 72 63 2f |ed to sy|s.p2crc/|
|00001ba0| 74 72 61 6e 73 2e 68 20 | 74 68 65 20 66 6f 6c 6c |trans.h |the foll|
|00001bb0| 6f 77 69 6e 67 20 63 6f | 6e 66 69 67 75 72 61 74 |owing co|nfigurat|
|00001bc0| 69 6f 6e 20 70 61 72 61 | 6d 65 74 65 72 3a 0a 0a |ion para|meter:..|
|00001bd0| 20 20 20 20 49 6e 69 74 | 50 41 43 53 74 72 69 6e | Init|PACStrin|
|00001be0| 67 73 20 20 20 20 20 20 | 53 74 72 69 6e 67 20 6c |gs |String l|
|00001bf0| 69 74 65 72 61 6c 20 69 | 6e 20 69 6e 69 74 69 61 |iteral i|n initia|
|00001c00| 6c 69 7a 65 72 20 63 61 | 6e 20 62 65 20 73 69 7a |lizer ca|n be siz|
|00001c10| 65 20 6f 66 20 61 72 72 | 61 79 2e 0a 0c 0a 56 65 |e of arr|ay....Ve|
|00001c20| 72 73 69 6f 6e 20 31 2e | 31 39 3a 0a 0a 20 2a 20 |rsion 1.|19:.. * |
|00001c30| 50 32 63 27 73 20 63 6f | 70 79 72 69 67 68 74 20 |P2c's co|pyright |
|00001c40| 68 61 73 20 62 65 65 6e | 20 61 73 73 69 67 6e 65 |has been| assigne|
|00001c50| 64 20 74 6f 20 74 68 65 | 20 46 72 65 65 20 53 6f |d to the| Free So|
|00001c60| 66 74 77 61 72 65 20 46 | 6f 75 6e 64 61 74 69 6f |ftware F|oundatio|
|00001c70| 6e 2e 0a 0a 20 2a 20 49 | 6d 70 72 6f 76 65 64 20 |n... * I|mproved |
|00001c80| 70 32 63 20 74 6f 20 70 | 72 65 73 65 72 76 65 20 |p2c to p|reserve |
|00001c90| 50 61 73 63 61 6c 20 74 | 79 70 65 20 6e 61 6d 65 |Pascal t|ype name|
|00001ca0| 73 20 69 6e 20 6d 6f 73 | 74 20 63 61 73 65 73 2e |s in mos|t cases.|
|00001cb0| 0a 0a 20 2a 20 49 6e 74 | 72 6f 64 75 63 65 64 20 |.. * Int|roduced |
|00001cc0| 22 50 72 65 73 65 72 76 | 65 54 79 70 65 73 22 20 |"Preserv|eTypes" |
|00001cd0| 28 50 72 65 73 65 72 76 | 65 54 79 70 65 73 3d 30 |(Preserv|eTypes=0|
|00001ce0| 20 6d 61 6b 65 73 20 70 | 32 63 20 77 6f 72 6b 20 | makes p|2c work |
|00001cf0| 6c 69 6b 65 20 76 31 2e | 31 38 29 2e 0a 0a 20 2a |like v1.|18)... *|
|00001d00| 20 41 6c 73 6f 20 61 64 | 64 65 64 20 22 50 72 65 | Also ad|ded "Pre|
|00001d10| 73 65 72 76 65 50 6f 69 | 6e 74 65 72 73 22 20 28 |servePoi|nters" (|
|00001d20| 64 65 66 61 75 6c 74 20 | 6f 66 66 29 20 61 6e 64 |default |off) and|
|00001d30| 20 22 50 72 65 73 65 72 | 76 65 53 74 72 69 6e 67 | "Preser|veString|
|00001d40| 73 22 20 28 6f 6e 29 2e | 0a 0a 20 2a 20 43 68 61 |s" (on).|.. * Cha|
|00001d50| 6e 67 65 64 20 70 32 63 | 2e 68 20 74 6f 20 72 65 |nged p2c|.h to re|
|00001d60| 63 6f 67 6e 69 7a 65 20 | 66 75 6e 6e 79 20 41 4e |cognize |funny AN|
|00001d70| 53 49 2d 6c 69 6b 65 20 | 68 65 61 64 65 72 20 66 |SI-like |header f|
|00001d80| 69 6c 65 73 20 69 6e 20 | 48 50 2d 55 58 20 37 2e |iles in |HP-UX 7.|
|00001d90| 30 2e 0a 0a 20 2a 20 43 | 68 61 6e 67 65 64 20 74 |0... * C|hanged t|
|00001da0| 6f 20 68 61 6e 64 6c 65 | 20 74 61 6b 69 6e 67 20 |o handle| taking |
|00001db0| 74 68 65 20 61 64 64 72 | 65 73 73 20 6f 66 20 61 |the addr|ess of a|
|00001dc0| 6e 20 61 72 67 75 6d 65 | 6e 74 20 6f 66 20 61 20 |n argume|nt of a |
|00001dd0| 70 72 6f 6d 6f 74 61 62 | 6c 65 20 74 79 70 65 2e |promotab|le type.|
|00001de0| 0a 0a 20 2a 20 43 68 61 | 6e 67 65 64 20 70 61 72 |.. * Cha|nged par|
|00001df0| 73 65 72 20 74 6f 20 61 | 63 63 65 70 74 20 22 61 |ser to a|ccept "a|
|00001e00| 20 2a 20 2d 62 22 20 77 | 69 74 68 6f 75 74 20 73 | * -b" w|ithout s|
|00001e10| 79 6e 74 61 78 20 65 72 | 72 6f 72 73 2e 0a 0a 20 |yntax er|rors... |
|00001e20| 2a 20 46 69 78 65 64 20 | 61 20 66 65 77 20 75 6e |* Fixed |a few un|
|00001e30| 72 65 61 63 68 61 62 6c | 65 20 73 74 61 74 65 6d |reachabl|e statem|
|00001e40| 65 6e 74 20 77 61 72 6e | 69 6e 67 73 20 69 6e 20 |ent warn|ings in |
|00001e50| 74 68 65 20 70 32 63 20 | 73 6f 75 72 63 65 73 2e |the p2c |sources.|
|00001e60| 0a 0a 20 2a 20 43 68 61 | 6e 67 65 64 20 65 78 69 |.. * Cha|nged exi|
|00001e70| 74 28 30 29 20 74 6f 20 | 65 78 69 74 28 45 58 49 |t(0) to |exit(EXI|
|00001e80| 54 5f 53 55 43 43 45 53 | 53 29 20 69 6e 20 6d 61 |T_SUCCES|S) in ma|
|00001e90| 69 6e 20 70 72 6f 67 72 | 61 6d 2e 0a 0a 20 2a 20 |in progr|am... * |
|00001ea0| 41 64 64 65 64 20 73 75 | 70 70 6f 72 74 20 66 6f |Added su|pport fo|
|00001eb0| 72 20 56 41 58 20 43 20 | 61 6e 64 20 4d 53 44 4f |r VAX C |and MSDO|
|00001ec0| 53 20 74 6f 20 70 32 63 | 2e 68 2e 0a 0a 20 2a 20 |S to p2c|.h... * |
|00001ed0| 42 75 67 20 66 69 78 20 | 69 6e 20 70 61 72 73 65 |Bug fix |in parse|
|00001ee0| 2e 63 3a 66 69 78 62 6c | 6f 63 6b 3a 20 43 61 6c |.c:fixbl|ock: Cal|
|00001ef0| 6c 20 66 69 6c 65 62 61 | 73 65 74 79 70 65 20 69 |l fileba|setype i|
|00001f00| 6e 20 73 69 6d 69 6c 61 | 72 74 79 70 65 73 20 61 |n simila|rtypes a|
|00001f10| 72 67 2e 0a 20 20 20 53 | 79 6d 70 74 6f 6d 3a 20 |rg.. S|ymptom: |
|00001f20| 50 61 73 63 61 6c 20 47 | 45 54 20 70 72 6f 63 65 |Pascal G|ET proce|
|00001f30| 64 75 72 65 20 73 6f 6d | 65 74 69 6d 65 73 20 63 |dure som|etimes c|
|00001f40| 72 61 73 68 65 64 20 70 | 32 63 20 77 68 65 6e 20 |rashed p|2c when |
|00001f50| 53 74 72 75 63 74 46 69 | 6c 65 73 3d 31 2e 0a 0a |StructFi|les=1...|
|00001f60| 20 2a 20 42 75 67 20 66 | 69 78 20 69 6e 20 70 65 | * Bug f|ix in pe|
|00001f70| 78 70 72 2e 63 3a 70 5f | 66 75 6e 63 61 72 67 6c |xpr.c:p_|funcargl|
|00001f80| 69 73 74 3a 20 48 61 6e | 64 6c 65 20 73 74 64 69 |ist: Han|dle stdi|
|00001f90| 6e 2f 73 74 64 6f 75 74 | 20 77 68 65 6e 20 53 74 |n/stdout| when St|
|00001fa0| 72 75 63 74 46 69 6c 65 | 73 3d 31 2e 0a 20 20 20 |ructFile|s=1.. |
|00001fb0| 53 79 6d 70 74 6f 6d 3a | 20 6d 79 70 72 6f 63 28 |Symptom:| myproc(|
|00001fc0| 6f 75 74 70 75 74 29 20 | 67 65 6e 65 72 61 74 65 |output) |generate|
|00001fd0| 64 20 22 74 79 70 65 20 | 6d 69 73 6d 61 74 63 68 |d "type |mismatch|
|00001fe0| 22 20 77 61 72 6e 69 6e | 67 20 61 6e 64 20 62 61 |" warnin|g and ba|
|00001ff0| 64 20 63 6f 64 65 2e 0a | 0a 20 2a 20 42 75 67 20 |d code..|. * Bug |
|00002000| 66 69 78 20 69 6e 20 65 | 78 70 72 2e 63 3a 6d 61 |fix in e|xpr.c:ma|
|00002010| 6b 65 65 78 70 72 5f 72 | 65 6c 3a 20 55 73 65 20 |keexpr_r|el: Use |
|00002020| 49 53 43 4f 4e 53 54 20 | 74 6f 20 67 75 61 72 64 |ISCONST |to guard|
|00002030| 20 63 68 65 63 6b 63 6f | 6e 73 74 20 63 61 6c 6c | checkco|nst call|
|00002040| 2e 0a 20 20 20 53 79 6d | 70 74 6f 6d 3a 20 22 4a |.. Sym|ptom: "J|
|00002050| 20 3c 3d 20 41 2d 49 2d | 31 2b 43 22 20 77 68 65 | <= A-I-|1+C" whe|
|00002060| 72 65 20 22 63 6f 6e 73 | 74 20 43 3d 31 22 20 70 |re "cons|t C=1" p|
|00002070| 75 74 20 70 32 63 20 69 | 6e 74 6f 20 61 6e 20 69 |ut p2c i|nto an i|
|00002080| 6e 66 69 6e 69 74 65 20 | 6c 6f 6f 70 2e 0a 0a 20 |nfinite |loop... |
|00002090| 2a 20 42 75 67 20 66 69 | 78 20 69 6e 20 64 65 63 |* Bug fi|x in dec|
|000020a0| 6c 2e 63 3a 73 65 74 75 | 70 6d 65 61 6e 69 6e 67 |l.c:setu|pmeaning|
|000020b0| 3a 20 43 6f 6e 73 69 64 | 65 72 20 65 6e 75 6d 20 |: Consid|er enum |
|000020c0| 63 6f 6e 73 74 73 20 74 | 6f 20 62 65 20 67 6c 6f |consts t|o be glo|
|000020d0| 62 61 6c 20 6e 61 6d 65 | 73 2e 0a 20 20 20 53 79 |bal name|s.. Sy|
|000020e0| 6d 70 74 6f 6d 3a 20 4c | 6f 63 61 6c 20 65 6e 75 |mptom: L|ocal enu|
|000020f0| 6d 20 63 6f 6e 73 74 73 | 20 63 61 6e 20 63 6f 6e |m consts| can con|
|00002100| 66 6c 69 63 74 20 77 69 | 74 68 20 73 69 6d 69 6c |flict wi|th simil|
|00002110| 61 72 20 67 6c 6f 62 61 | 6c 20 6e 61 6d 65 73 2e |ar globa|l names.|
|00002120| 0a 0a 20 2a 20 42 75 67 | 20 66 69 78 20 69 6e 20 |.. * Bug| fix in |
|00002130| 6c 65 78 2e 63 3a 70 75 | 73 68 5f 69 6e 70 75 74 |lex.c:pu|sh_input|
|00002140| 2f 70 6f 70 5f 69 6e 70 | 75 74 3a 20 53 61 76 65 |/pop_inp|ut: Save|
|00002150| 2f 72 65 73 74 6f 72 65 | 20 63 75 72 74 6f 6b 62 |/restore| curtokb|
|00002160| 75 66 2f 63 75 72 74 6f | 6b 63 61 73 65 2e 0a 20 |uf/curto|kcase.. |
|00002170| 20 20 53 79 6d 70 74 6f | 6d 3a 20 56 61 6c 75 65 | Sympto|m: Value|
|00002180| 20 6c 6f 73 74 20 77 68 | 65 6e 20 6d 61 69 6e 20 | lost wh|en main |
|00002190| 63 61 6c 6c 73 20 64 65 | 66 6d 61 63 72 6f 20 61 |calls de|fmacro a|
|000021a0| 66 74 65 72 20 73 65 74 | 75 70 5f 6c 65 78 2c 20 |fter set|up_lex, |
|000021b0| 62 65 66 6f 72 65 20 70 | 61 72 73 65 72 2e 0a 0a |before p|arser...|
|000021c0| 20 2a 20 42 75 67 20 66 | 69 78 20 69 6e 20 70 61 | * Bug f|ix in pa|
|000021d0| 72 73 65 2e 63 3a 6f 75 | 74 5f 66 75 6e 63 74 69 |rse.c:ou|t_functi|
|000021e0| 6f 6e 3a 20 44 6f 6e 27 | 74 20 72 65 63 75 72 73 |on: Don'|t recurs|
|000021f0| 69 76 65 6c 79 20 6f 75 | 74 70 75 74 20 22 65 78 |ively ou|tput "ex|
|00002200| 70 6f 72 74 65 64 22 20 | 66 75 6e 63 73 2e 0a 20 |ported" |funcs.. |
|00002210| 20 20 53 79 6d 70 74 6f | 6d 3a 20 54 68 69 73 20 | Sympto|m: This |
|00002220| 6f 63 63 75 72 73 20 77 | 68 65 6e 20 61 6e 20 22 |occurs w|hen an "|
|00002230| 65 78 74 65 72 6e 61 6c | 22 20 64 65 63 6c 20 6f |external|" decl o|
|00002240| 63 63 75 72 73 20 6c 6f | 63 61 6c 20 74 6f 20 61 |ccurs lo|cal to a|
|00002250| 20 66 75 6e 63 74 69 6f | 6e 2e 0a 0a 20 2a 20 42 | functio|n... * B|
|00002260| 75 67 20 66 69 78 20 69 | 6e 20 70 32 63 2e 68 3a |ug fix i|n p2c.h:|
|00002270| 41 47 45 54 46 42 55 46 | 3a 20 52 65 6d 6f 76 65 |AGETFBUF|: Remove|
|00002280| 64 20 65 78 74 72 61 20 | 22 26 22 2e 0a 20 20 20 |d extra |"&".. |
|00002290| 53 79 6d 70 74 6f 6d 3a | 20 54 61 6b 69 6e 67 20 |Symptom:| Taking |
|000022a0| 61 64 64 72 65 73 73 20 | 6f 66 20 61 6e 20 61 72 |address |of an ar|
|000022b0| 72 61 79 20 67 65 6e 65 | 72 61 74 65 64 20 61 20 |ray gene|rated a |
|000022c0| 77 61 72 6e 69 6e 67 20 | 6f 6e 20 73 6f 6d 65 20 |warning |on some |
|000022d0| 63 6f 6d 70 69 6c 65 72 | 73 2e 0a 0a 20 2a 20 42 |compiler|s... * B|
|000022e0| 75 67 20 66 69 78 20 69 | 6e 20 70 32 63 2e 68 3a |ug fix i|n p2c.h:|
|000022f0| 4c 4f 4e 47 5f 4d 41 58 | 2c 20 65 74 63 2e 3a 20 |LONG_MAX|, etc.: |
|00002300| 46 69 78 65 64 20 74 6f | 20 63 61 73 74 20 62 61 |Fixed to| cast ba|
|00002310| 63 6b 20 74 6f 20 73 69 | 67 6e 65 64 20 74 79 70 |ck to si|gned typ|
|00002320| 65 73 2e 0a 20 20 20 53 | 79 6d 70 74 6f 6d 3a 20 |es.. S|ymptom: |
|00002330| 4c 4f 4e 47 5f 4d 41 58 | 20 68 61 64 20 74 79 70 |LONG_MAX| had typ|
|00002340| 65 20 75 6e 73 69 67 6e | 65 64 20 6c 6f 6e 67 3b |e unsign|ed long;|
|00002350| 20 22 28 64 6f 75 62 6c | 65 29 28 2d 4c 4f 4e 47 | "(doubl|e)(-LONG|
|00002360| 5f 4d 41 58 29 22 20 66 | 61 69 6c 65 64 2e 0a 0a |_MAX)" f|ailed...|
|00002370| 20 2a 20 42 75 67 20 66 | 69 78 20 69 6e 20 70 32 | * Bug f|ix in p2|
|00002380| 63 6c 69 62 2e 63 3a 50 | 5f 74 72 69 6d 6e 61 6d |clib.c:P|_trimnam|
|00002390| 65 3a 20 41 64 64 65 64 | 20 74 72 61 69 6c 69 6e |e: Added| trailin|
|000023a0| 67 20 6e 75 6c 6c 20 74 | 6f 20 6f 75 74 70 75 74 |g null t|o output|
|000023b0| 20 73 74 72 69 6e 67 2e | 0a 20 20 20 53 79 6d 70 | string.|. Symp|
|000023c0| 74 6f 6d 3a 20 46 75 6e | 63 74 69 6f 6e 20 77 6f |tom: Fun|ction wo|
|000023d0| 75 6c 64 6e 27 74 20 61 | 6c 77 61 79 73 20 77 6f |uldn't a|lways wo|
|000023e0| 72 6b 20 61 66 74 65 72 | 20 66 69 72 73 74 20 63 |rk after| first c|
|000023f0| 61 6c 6c 2e 0a 0a 20 2a | 20 41 64 64 65 64 20 74 |all... *| Added t|
|00002400| 6f 20 73 79 73 2e 70 32 | 63 72 63 2f 74 72 61 6e |o sys.p2|crc/tran|
|00002410| 73 2e 68 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |s.h the |followin|
|00002420| 67 20 63 6f 6e 66 69 67 | 75 72 61 74 69 6f 6e 20 |g config|uration |
|00002430| 70 61 72 61 6d 65 74 65 | 72 3a 0a 0a 20 20 20 20 |paramete|r:.. |
|00002440| 46 69 78 50 72 6f 6d 6f | 74 65 64 41 72 67 73 20 |FixPromo|tedArgs |
|00002450| 20 20 20 46 69 78 20 22 | 26 22 20 6f 66 20 61 72 | Fix "|&" of ar|
|00002460| 67 75 6d 65 6e 74 73 20 | 77 68 69 63 68 20 6d 61 |guments |which ma|
|00002470| 79 20 62 65 20 70 72 6f | 6d 6f 74 65 64 2e 0a 20 |y be pro|moted.. |
|00002480| 20 20 20 50 72 65 73 65 | 72 76 65 54 79 70 65 73 | Prese|rveTypes|
|00002490| 20 20 20 20 20 20 55 73 | 65 20 74 79 70 65 64 65 | Us|e typede|
|000024a0| 66 20 74 6f 20 70 72 65 | 73 65 72 76 65 20 6d 6f |f to pre|serve mo|
|000024b0| 73 74 20 50 61 73 63 61 | 6c 20 74 79 70 65 20 6e |st Pasca|l type n|
|000024c0| 61 6d 65 73 2e 0a 20 20 | 20 20 50 72 65 73 65 72 |ames.. | Preser|
|000024d0| 76 65 50 6f 69 6e 74 65 | 72 73 20 20 20 55 73 65 |vePointe|rs Use|
|000024e0| 20 74 79 70 65 64 65 66 | 20 73 70 65 63 69 66 69 | typedef| specifi|
|000024f0| 63 61 6c 6c 79 20 66 6f | 72 20 70 6f 69 6e 74 65 |cally fo|r pointe|
|00002500| 72 20 74 79 70 65 73 2e | 0a 20 20 20 20 50 72 65 |r types.|. Pre|
|00002510| 73 65 72 76 65 53 74 72 | 69 6e 67 73 20 20 20 20 |serveStr|ings |
|00002520| 55 73 65 20 74 79 70 65 | 64 65 66 20 73 70 65 63 |Use type|def spec|
|00002530| 69 66 69 63 61 6c 6c 79 | 20 66 6f 72 20 73 74 72 |ifically| for str|
|00002540| 69 6e 67 20 74 79 70 65 | 73 2e 0a 20 20 20 20 53 |ing type|s.. S|
|00002550| 70 61 63 65 43 6f 6d 6d | 61 73 09 20 20 20 20 20 |paceComm|as. |
|00002560| 20 20 55 73 65 20 73 70 | 61 63 65 73 20 61 66 74 | Use sp|aces aft|
|00002570| 65 72 20 63 6f 6d 6d 61 | 73 20 28 64 65 66 61 75 |er comma|s (defau|
|00002580| 6c 74 20 6f 6e 29 2e 0a | 20 20 20 20 53 70 61 63 |lt on)..| Spac|
|00002590| 65 46 75 6e 63 73 09 20 | 20 20 20 20 20 20 55 73 |eFuncs. | Us|
|000025a0| 65 20 73 70 61 63 65 73 | 20 61 66 74 65 72 20 66 |e spaces| after f|
|000025b0| 75 6e 63 74 69 6f 6e 20 | 6e 61 6d 65 73 20 28 64 |unction |names (d|
|000025c0| 65 66 61 75 6c 74 20 6f | 66 66 29 2e 0a 20 20 20 |efault o|ff).. |
|000025d0| 20 4e 6f 42 61 6e 6e 65 | 72 09 20 20 20 20 20 20 | NoBanne|r. |
|000025e0| 20 53 75 70 70 72 65 73 | 73 20 22 46 72 6f 6d 20 | Suppres|s "From |
|000025f0| 69 6e 70 75 74 20 66 69 | 6c 65 2e 2e 2e 22 20 63 |input fi|le..." c|
|00002600| 6f 6d 6d 65 6e 74 20 61 | 74 20 74 6f 70 20 6f 66 |omment a|t top of|
|00002610| 20 66 69 6c 65 2e 0a 0c | 0a 56 65 72 73 69 6f 6e | file...|.Version|
|00002620| 20 31 2e 31 38 3a 0a 0a | 20 2a 20 49 6d 70 72 6f | 1.18:..| * Impro|
|00002630| 76 65 64 20 69 6e 64 65 | 6e 74 61 74 69 6f 6e 20 |ved inde|ntation |
|00002640| 73 74 72 61 74 65 67 79 | 20 66 6f 72 20 45 4d 42 |strategy| for EMB|
|00002650| 45 44 20 63 6f 6d 6d 65 | 6e 74 73 2e 0a 0a 20 2a |ED comme|nts... *|
|00002660| 20 41 6c 6c 6f 77 65 64 | 20 6f 6e 65 2d 6c 69 6e | Allowed| one-lin|
|00002670| 65 20 45 4d 42 45 44 20 | 63 6f 6d 6d 65 6e 74 73 |e EMBED |comments|
|00002680| 3a 20 7b 45 4d 42 45 44 | 20 66 6f 6f 28 29 3b 7d |: {EMBED| foo();}|
|00002690| 0a 0a 20 2a 20 4d 61 64 | 65 20 7b 53 4b 49 50 7d |.. * Mad|e {SKIP}|
|000026a0| 20 2e 2e 2e 20 7b 4e 4f | 53 4b 49 50 7d 20 63 6f | ... {NO|SKIP} co|
|000026b0| 6d 6d 65 6e 74 73 20 6e | 65 73 74 61 62 6c 65 2e |mments n|estable.|
|000026c0| 20 20 28 7b 4e 4f 53 4b | 49 50 20 2e 2e 2e 20 7d | ({NOSK|IP ... }|
|000026d0| 20 69 73 6e 27 74 20 6e | 65 73 74 61 62 6c 65 2e | isn't n|estable.|
|000026e0| 29 0a 0a 20 2a 20 43 68 | 61 6e 67 65 64 20 74 6f |).. * Ch|anged to|
|000026f0| 20 65 6d 69 74 20 63 6f | 6d 6d 65 6e 74 73 20 69 | emit co|mments i|
|00002700| 6e 20 65 78 70 6f 72 74 | 20 73 65 63 74 69 6f 6e |n export| section|
|00002710| 73 20 6f 66 20 6d 6f 64 | 75 6c 65 73 20 69 6e 20 |s of mod|ules in |
|00002720| 63 6f 72 72 65 63 74 20 | 6f 72 64 65 72 2e 0a 0a |correct |order...|
|00002730| 20 2a 20 52 65 77 72 6f | 74 65 20 64 65 63 6c 2e | * Rewro|te decl.|
|00002740| 63 3a 70 5f 61 72 72 61 | 79 64 65 63 6c 20 73 6c |c:p_arra|ydecl sl|
|00002750| 69 67 68 74 6c 79 20 74 | 6f 20 61 76 6f 69 64 20 |ightly t|o avoid |
|00002760| 61 20 67 63 63 20 62 75 | 67 2e 0a 0a 20 2a 20 42 |a gcc bu|g... * B|
|00002770| 75 67 20 66 69 78 20 69 | 6e 20 65 78 70 72 2e 63 |ug fix i|n expr.c|
|00002780| 3a 6d 61 6b 65 65 78 70 | 72 5f 73 69 7a 65 6f 66 |:makeexp|r_sizeof|
|00002790| 3a 20 43 6f 6d 70 75 74 | 65 20 73 69 7a 65 20 62 |: Comput|e size b|
|000027a0| 79 20 68 61 6e 64 20 69 | 66 20 53 6b 69 70 49 6e |y hand i|f SkipIn|
|000027b0| 64 69 63 65 73 20 75 73 | 65 64 2e 0a 20 20 20 53 |dices us|ed.. S|
|000027c0| 79 6d 70 74 6f 6d 3a 20 | 53 69 7a 65 20 77 61 73 |ymptom: |Size was|
|000027d0| 20 22 73 69 7a 65 6f 66 | 28 61 72 72 29 22 20 65 | "sizeof|(arr)" e|
|000027e0| 76 65 6e 20 69 66 20 69 | 74 20 73 68 6f 75 6c 64 |ven if i|t should|
|000027f0| 20 68 61 76 65 20 6f 6d | 69 74 74 65 64 20 73 6b | have om|itted sk|
|00002800| 69 70 70 65 64 20 70 61 | 72 74 2e 0a 0a 20 2a 20 |ipped pa|rt... * |
|00002810| 42 75 67 20 66 69 78 20 | 69 6e 20 74 72 61 6e 73 |Bug fix |in trans|
|00002820| 2e 68 3a 20 41 64 64 65 | 64 20 23 75 6e 64 65 66 |.h: Adde|d #undef|
|00002830| 20 5f 74 6f 75 70 70 65 | 72 2f 5f 74 6f 6c 6f 77 | _touppe|r/_tolow|
|00002840| 65 72 20 61 74 20 65 6e | 64 2e 0a 20 20 20 53 79 |er at en|d.. Sy|
|00002850| 6d 70 74 6f 6d 3a 20 46 | 61 69 6c 65 64 20 74 6f |mptom: F|ailed to|
|00002860| 20 63 6f 6d 70 69 6c 65 | 20 6f 6e 20 41 70 6f 6c | compile| on Apol|
|00002870| 6c 6f 73 2e 0a 0a 20 2a | 20 42 75 67 20 66 69 78 |los... *| Bug fix|
|00002880| 20 69 6e 20 70 61 72 73 | 65 2e 63 3a 66 69 78 62 | in pars|e.c:fixb|
|00002890| 6c 6f 63 6b 3a 20 41 64 | 64 65 64 20 22 73 70 2d |lock: Ad|ded "sp-|
|000028a0| 3e 73 74 6d 31 20 26 26 | 22 20 63 68 65 63 6b 20 |>stm1 &&|" check |
|000028b0| 66 6f 72 20 57 48 49 4c | 45 20 73 74 61 74 65 6d |for WHIL|E statem|
|000028c0| 65 6e 74 73 2e 0a 20 20 | 20 53 79 6d 70 74 6f 6d |ents.. | Symptom|
|000028d0| 3a 20 22 77 68 69 6c 65 | 20 63 6f 6e 64 20 64 6f |: "while| cond do|
|000028e0| 20 3b 22 20 63 61 75 73 | 65 64 20 61 20 72 65 66 | ;" caus|ed a ref|
|000028f0| 65 72 65 6e 63 65 2d 74 | 6f 2d 4e 55 4c 4c 20 65 |erence-t|o-NULL e|
|00002900| 72 72 6f 72 2e 0a 0a 20 | 2a 20 42 75 67 20 66 69 |rror... |* Bug fi|
|00002910| 78 20 69 6e 20 64 65 63 | 6c 2e 63 3a 6d 61 6b 65 |x in dec|l.c:make|
|00002920| 66 61 6b 65 73 74 72 75 | 63 74 3a 20 53 75 70 70 |fakestru|ct: Supp|
|00002930| 72 65 73 73 65 64 20 66 | 61 6b 65 73 74 72 75 63 |ressed f|akestruc|
|00002940| 74 20 77 68 65 6e 20 69 | 6d 70 6f 72 74 69 6e 67 |t when i|mporting|
|00002950| 2e 0a 20 20 20 53 79 6d | 70 74 6f 6d 3a 20 49 6d |.. Sym|ptom: Im|
|00002960| 70 6f 72 74 69 6e 67 20 | 61 20 6d 6f 64 75 6c 65 |porting |a module|
|00002970| 20 67 65 6e 65 72 61 74 | 65 73 20 74 77 6f 20 64 | generat|es two d|
|00002980| 65 63 6c 61 72 61 74 69 | 6f 6e 73 20 66 6f 72 20 |eclarati|ons for |
|00002990| 5f 52 45 43 5f 41 2e 0a | 0a 20 2a 20 42 75 67 20 |_REC_A..|. * Bug |
|000029a0| 66 69 78 20 69 6e 20 4d | 61 6b 65 66 69 6c 65 3a |fix in M|akefile:|
|000029b0| 20 41 64 64 65 64 20 72 | 75 6c 65 73 20 74 6f 20 | Added r|ules to |
|000029c0| 6d 61 6b 65 20 68 6f 6d | 65 20 64 69 72 73 20 69 |make hom|e dirs i|
|000029d0| 66 20 6e 6f 74 20 66 6f | 75 6e 64 2e 0a 0c 0a 56 |f not fo|und....V|
|000029e0| 65 72 73 69 6f 6e 20 31 | 2e 31 37 3a 0a 0a 20 2a |ersion 1|.17:.. *|
|000029f0| 20 49 6e 74 72 6f 64 75 | 63 65 64 20 22 53 74 72 | Introdu|ced "Str|
|00002a00| 75 63 74 46 69 6c 65 22 | 20 73 74 75 66 66 20 74 |uctFile"| stuff t|
|00002a10| 6f 20 68 65 6c 70 20 77 | 69 74 68 20 6d 6f 72 65 |o help w|ith more|
|00002a20| 20 69 6e 74 65 6e 73 69 | 76 65 20 66 69 6c 65 20 | intensi|ve file |
|00002a30| 6f 70 65 72 61 74 69 6f | 6e 73 2e 0a 0a 20 2a 20 |operatio|ns... * |
|00002a40| 53 69 6d 70 6c 69 66 69 | 65 64 20 22 4e 20 2b 20 |Simplifi|ed "N + |
|00002a50| 30 2e 30 22 20 74 6f 20 | 22 28 64 6f 75 62 6c 65 |0.0" to |"(double|
|00002a60| 29 4e 22 20 69 6e 73 74 | 65 61 64 20 6f 66 20 22 |)N" inst|ead of "|
|00002a70| 4e 22 20 77 68 65 6e 20 | 61 70 70 72 6f 70 72 69 |N" when |appropri|
|00002a80| 61 74 65 2e 0a 0a 20 2a | 20 46 69 78 65 64 20 74 |ate... *| Fixed t|
|00002a90| 79 70 6f 20 69 6e 20 73 | 79 73 2e 70 32 63 72 63 |ypo in s|ys.p2crc|
|00002aa0| 3a 20 22 4c 6f 67 42 72 | 65 61 6b 50 65 6e 61 6c |: "LogBr|eakPenal|
|00002ab0| 74 79 22 20 3d 3e 20 22 | 52 65 6c 42 72 65 61 6b |ty" => "|RelBreak|
|00002ac0| 50 65 6e 61 6c 74 79 22 | 2e 0a 0a 20 2a 20 43 68 |Penalty"|... * Ch|
|00002ad0| 61 6e 67 65 64 20 74 6f | 20 61 76 6f 69 64 20 67 |anged to| avoid g|
|00002ae0| 65 6e 65 72 61 74 69 6e | 67 20 62 69 74 20 66 69 |eneratin|g bit fi|
|00002af0| 65 6c 64 73 20 61 73 20 | 6d 65 6d 62 65 72 73 20 |elds as |members |
|00002b00| 6f 66 20 61 20 75 6e 69 | 6f 6e 2e 0a 0a 20 2a 20 |of a uni|on... * |
|00002b10| 4e 6f 77 20 22 73 74 72 | 69 6e 67 61 72 72 61 79 |Now "str|ingarray|
|00002b20| 5b 69 5d 20 3a 3d 20 65 | 78 70 72 22 20 77 69 6c |[i] := e|xpr" wil|
|00002b30| 6c 20 73 70 72 69 6e 74 | 66 20 65 78 70 72 20 69 |l sprint|f expr i|
|00002b40| 6e 74 6f 20 6c 68 73 20 | 77 69 74 68 20 6e 6f 20 |nto lhs |with no |
|00002b50| 74 65 6d 70 20 76 61 72 | 2e 0a 0a 20 2a 20 48 61 |temp var|... * Ha|
|00002b60| 6e 64 6c 65 64 20 61 73 | 73 69 67 6e 6d 65 6e 74 |ndled as|signment|
|00002b70| 20 6f 66 20 73 6d 61 6c | 6c 20 70 61 63 6b 65 64 | of smal|l packed|
|00002b80| 20 61 72 72 61 79 73 20 | 6f 66 20 63 68 61 72 73 | arrays |of chars|
|00002b90| 20 69 6e 74 6f 20 62 69 | 67 20 6f 6e 65 73 2e 0a | into bi|g ones..|
|00002ba0| 0a 20 2a 20 41 64 64 65 | 64 20 74 6f 20 73 79 73 |. * Adde|d to sys|
|00002bb0| 2e 70 32 63 72 63 2f 74 | 72 61 6e 73 2e 68 20 74 |.p2crc/t|rans.h t|
|00002bc0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 63 6f 6e |he follo|wing con|
|00002bd0| 66 69 67 75 72 61 74 69 | 6f 6e 20 70 61 72 61 6d |figurati|on param|
|00002be0| 65 74 65 72 73 3a 0a 0a | 20 20 20 20 43 68 61 72 |eters:..| Char|
|00002bf0| 43 6f 6e 73 74 73 20 20 | 20 20 20 20 41 73 73 75 |Consts | Assu|
|00002c00| 6d 65 20 22 63 6f 6e 73 | 74 20 63 3d 27 78 27 22 |me "cons|t c='x'"|
|00002c10| 20 69 73 20 61 20 63 68 | 61 72 2c 20 6e 6f 74 20 | is a ch|ar, not |
|00002c20| 73 74 72 69 6e 67 20 63 | 6f 6e 73 74 61 6e 74 2e |string c|onstant.|
|00002c30| 0a 20 20 20 20 53 65 6c | 66 49 6e 63 6c 75 64 65 |. Sel|fInclude|
|00002c40| 4e 61 6d 65 20 46 6f 72 | 6d 61 74 20 74 6f 20 75 |Name For|mat to u|
|00002c50| 73 65 20 77 68 65 6e 20 | 61 20 6d 6f 64 75 6c 65 |se when |a module|
|00002c60| 20 69 6e 63 6c 75 64 65 | 73 20 69 74 73 20 6f 77 | include|s its ow|
|00002c70| 6e 20 2e 68 20 66 69 6c | 65 2e 0a 20 20 20 20 53 |n .h fil|e.. S|
|00002c80| 74 72 75 63 74 46 69 6c | 65 73 20 20 20 20 20 54 |tructFil|es T|
|00002c90| 72 61 6e 73 6c 61 74 65 | 20 66 69 6c 65 73 20 61 |ranslate| files a|
|00002ca0| 73 20 73 70 65 63 69 61 | 6c 20 73 74 72 75 63 74 |s specia|l struct|
|00002cb0| 73 20 72 61 74 68 65 72 | 20 74 68 61 6e 20 46 49 |s rather| than FI|
|00002cc0| 4c 45 20 2a 27 73 2e 0a | 20 20 20 20 53 74 72 75 |LE *'s..| Stru|
|00002cd0| 63 74 46 69 6c 65 20 20 | 20 20 20 20 41 20 66 69 |ctFile | A fi|
|00002ce0| 6c 65 20 76 61 72 69 61 | 62 6c 65 20 74 6f 20 62 |le varia|ble to b|
|00002cf0| 65 20 74 72 65 61 74 65 | 64 20 61 73 20 69 66 20 |e treate|d as if |
|00002d00| 53 74 72 75 63 74 46 69 | 6c 65 73 3d 31 2e 0a 0c |StructFi|les=1...|
|00002d10| 0a 56 65 72 73 69 6f 6e | 20 31 2e 31 36 3a 0a 0a |.Version| 1.16:..|
|00002d20| 20 2a 20 52 65 64 75 63 | 65 64 20 77 61 73 74 65 | * Reduc|ed waste|
|00002d30| 66 75 6c 20 70 72 6f 6c | 69 66 65 72 61 74 69 6f |ful prol|iferatio|
|00002d40| 6e 20 6f 66 20 69 64 65 | 6e 74 69 63 61 6c 2d 6c |n of ide|ntical-l|
|00002d50| 6f 6f 6b 69 6e 67 20 74 | 65 6d 70 6f 72 61 72 79 |ooking t|emporary|
|00002d60| 20 76 61 72 69 61 62 6c | 65 73 2e 0a 0a 20 2a 20 | variabl|es... * |
|00002d70| 49 6d 70 72 6f 76 65 64 | 20 68 65 75 72 69 73 74 |Improved| heurist|
|00002d80| 69 63 20 66 6f 72 20 64 | 65 74 65 72 6d 69 6e 69 |ic for d|etermini|
|00002d90| 6e 67 20 61 6c 6c 6f 63 | 61 74 69 6f 6e 20 73 69 |ng alloc|ation si|
|00002da0| 7a 65 20 66 6f 72 20 73 | 65 74 20 63 6f 6e 73 74 |ze for s|et const|
|00002db0| 72 75 63 74 6f 72 73 2e | 0a 0a 20 2a 20 43 6f 72 |ructors.|.. * Cor|
|00002dc0| 72 65 63 74 65 64 20 68 | 61 6e 64 6c 69 6e 67 20 |rected h|andling |
|00002dd0| 66 6f 72 20 45 4f 46 20 | 61 70 70 6c 69 65 64 20 |for EOF |applied |
|00002de0| 74 6f 20 62 75 66 66 65 | 72 65 64 20 62 69 6e 61 |to buffe|red bina|
|00002df0| 72 79 20 66 69 6c 65 73 | 2e 0a 0a 20 2a 20 42 75 |ry files|... * Bu|
|00002e00| 67 20 66 69 78 20 69 6e | 20 64 65 63 6c 2e 63 3a |g fix in| decl.c:|
|00002e10| 20 48 61 6e 64 6c 65 64 | 20 61 20 72 61 72 65 20 | Handled| a rare |
|00002e20| 63 61 73 65 20 69 6e 76 | 6f 6c 76 69 6e 67 20 66 |case inv|olving f|
|00002e30| 6f 72 77 61 72 64 2d 64 | 65 63 6c 61 72 65 64 20 |orward-d|eclared |
|00002e40| 70 6f 69 6e 74 65 72 73 | 2e 0a 0a 20 2a 20 42 75 |pointers|... * Bu|
|00002e50| 67 20 66 69 78 20 69 6e | 20 70 32 63 6c 69 62 2e |g fix in| p2clib.|
|00002e60| 63 3a 50 5f 72 65 6d 73 | 65 74 3a 20 46 6f 72 67 |c:P_rems|et: Forg|
|00002e70| 6f 74 20 74 6f 20 66 69 | 78 20 73 5b 30 5d 20 69 |ot to fi|x s[0] i|
|00002e80| 66 20 68 69 67 68 65 73 | 74 20 62 69 74 20 77 61 |f highes|t bit wa|
|00002e90| 73 20 63 6c 65 61 72 65 | 64 2e 0a 0a 20 2a 20 42 |s cleare|d... * B|
|00002ea0| 75 67 20 66 69 78 20 69 | 6e 20 70 32 63 6c 69 62 |ug fix i|n p2clib|
|00002eb0| 2e 63 3a 50 5f 73 65 74 | 78 6f 72 3a 20 46 6f 72 |.c:P_set|xor: For|
|00002ec0| 67 6f 74 20 74 6f 20 66 | 69 78 20 73 5b 30 5d 20 |got to f|ix s[0] |
|00002ed0| 69 66 20 68 69 67 68 65 | 73 74 20 62 69 74 73 20 |if highe|st bits |
|00002ee0| 63 61 6e 63 65 6c 6c 65 | 64 2e 0a 0a 20 2a 20 41 |cancelle|d... * A|
|00002ef0| 64 64 65 64 20 74 6f 20 | 73 79 73 2e 70 32 63 72 |dded to |sys.p2cr|
|00002f00| 63 2f 74 72 61 6e 73 2e | 68 20 74 68 65 20 66 6f |c/trans.|h the fo|
|00002f10| 6c 6c 6f 77 69 6e 67 20 | 63 6f 6e 66 69 67 75 72 |llowing |configur|
|00002f20| 61 74 69 6f 6e 20 70 61 | 72 61 6d 65 74 65 72 73 |ation pa|rameters|
|00002f30| 3a 0a 0a 20 20 20 20 45 | 6f 66 42 75 66 4e 61 6d |:.. E|ofBufNam|
|00002f40| 65 20 20 20 20 20 20 4d | 61 63 72 6f 20 74 6f 20 |e M|acro to |
|00002f50| 75 73 65 20 66 6f 72 20 | 45 4f 46 20 6f 66 20 61 |use for |EOF of a|
|00002f60| 20 62 75 66 66 66 65 72 | 65 64 20 66 69 6c 65 2e | bufffer|ed file.|
|00002f70| 0a 20 20 20 20 46 69 6c | 65 50 6f 73 42 75 66 4e |. Fil|ePosBufN|
|00002f80| 61 6d 65 20 20 4d 61 63 | 72 6f 20 74 6f 20 75 73 |ame Mac|ro to us|
|00002f90| 65 20 66 6f 72 20 46 49 | 4c 45 50 4f 53 20 6f 72 |e for FI|LEPOS or|
|00002fa0| 20 50 4f 53 49 54 49 4f | 4e 20 6f 66 20 61 20 62 | POSITIO|N of a b|
|00002fb0| 75 66 66 65 72 65 64 20 | 66 69 6c 65 2e 0a 0c 0a |uffered |file....|
|00002fc0| 56 65 72 73 69 6f 6e 20 | 31 2e 31 35 3a 0a 0a 20 |Version |1.15:.. |
|00002fd0| 2a 20 54 61 75 67 68 74 | 20 74 68 65 20 6c 69 6e |* Taught| the lin|
|00002fe0| 65 20 62 72 65 61 6b 65 | 72 20 74 6f 20 68 61 6e |e breake|r to han|
|00002ff0| 64 6c 65 20 6c 6f 67 69 | 63 61 6c 2f 72 65 6c 61 |dle logi|cal/rela|
|00003000| 74 69 6f 6e 61 6c 20 6f | 70 65 72 61 74 6f 72 73 |tional o|perators|
|00003010| 20 73 70 65 63 69 61 6c | 6c 79 2e 0a 0a 20 2a 20 | special|ly... * |
|00003020| 49 6d 70 72 6f 76 65 64 | 20 63 6f 64 65 20 67 65 |Improved| code ge|
|00003030| 6e 65 72 61 74 69 6f 6e | 20 66 6f 72 20 6c 61 72 |neration| for lar|
|00003040| 67 65 20 73 65 74 20 63 | 6f 6e 73 74 72 75 63 74 |ge set c|onstruct|
|00003050| 6f 72 73 2e 0a 0a 20 2a | 20 43 68 61 6e 67 65 64 |ors... *| Changed|
|00003060| 20 6d 61 6b 65 65 78 70 | 72 5f 61 73 73 69 67 6e | makeexp|r_assign|
|00003070| 20 74 6f 20 68 61 6e 64 | 6c 65 20 45 4b 5f 4c 49 | to hand|le EK_LI|
|00003080| 54 43 41 53 54 27 73 20 | 6f 6e 20 74 68 65 20 6c |TCAST's |on the l|
|00003090| 65 66 74 68 61 6e 64 20 | 73 69 64 65 2e 0a 0a 20 |efthand |side... |
|000030a0| 2a 20 43 68 61 6e 67 65 | 64 20 6d 61 6b 65 65 78 |* Change|d makeex|
|000030b0| 70 72 5f 61 64 64 72 20 | 74 6f 20 68 61 6e 64 6c |pr_addr |to handl|
|000030c0| 65 20 63 61 73 74 73 2e | 0a 0a 20 2a 20 43 68 61 |e casts.|.. * Cha|
|000030d0| 6e 67 65 64 20 46 69 65 | 6c 64 4d 61 63 72 6f 73 |nged Fie|ldMacros|
|000030e0| 20 73 6f 20 74 68 61 74 | 20 74 68 65 20 73 75 62 | so that| the sub|
|000030f0| 73 74 69 74 75 74 65 64 | 20 62 61 73 65 20 65 78 |stituted| base ex|
|00003100| 70 72 20 72 65 74 61 69 | 6e 73 20 69 74 73 20 74 |pr retai|ns its t|
|00003110| 79 70 65 2e 0a 0a 20 2a | 20 42 75 67 20 66 69 78 |ype... *| Bug fix|
|00003120| 20 69 6e 20 70 32 63 2e | 68 3a 20 52 65 77 72 6f | in p2c.|h: Rewro|
|00003130| 74 65 20 50 5f 67 65 74 | 62 69 74 73 5f 55 53 20 |te P_get|bits_US |
|00003140| 61 6e 64 20 6f 74 68 65 | 72 20 73 6d 61 6c 6c 2d |and othe|r small-|
|00003150| 70 61 63 6b 65 64 2d 61 | 72 72 61 79 20 6d 61 63 |packed-a|rray mac|
|00003160| 72 6f 73 2e 0a 20 20 20 | 53 79 6d 70 74 6f 6d 3a |ros.. |Symptom:|
|00003170| 20 4f 6e 20 6d 61 6e 79 | 20 61 72 63 68 69 74 65 | On many| archite|
|00003180| 63 74 75 72 65 73 2c 20 | 74 68 65 73 65 20 6d 61 |ctures, |these ma|
|00003190| 63 72 6f 73 20 64 69 64 | 6e 27 74 20 77 6f 72 6b |cros did|n't work|
|000031a0| 20 61 74 20 61 6c 6c 21 | 0a 20 20 20 4e 4f 54 45 | at all!|. NOTE|
|000031b0| 3a 20 54 68 65 73 65 20 | 6e 6f 77 20 70 61 63 6b |: These |now pack|
|000031c0| 20 73 6d 61 6c 6c 20 61 | 72 72 61 79 73 20 69 6e | small a|rrays in|
|000031d0| 20 74 68 65 20 6f 70 70 | 6f 73 69 74 65 20 64 69 | the opp|osite di|
|000031e0| 72 65 63 74 69 6f 6e 20 | 28 4c 53 42 20 66 69 72 |rection |(LSB fir|
|000031f0| 73 74 29 2e 0a 0a 20 2a | 20 42 75 67 20 66 69 78 |st)... *| Bug fix|
|00003200| 20 69 6e 20 66 75 6e 63 | 73 2e 63 3a 68 61 6e 64 | in func|s.c:hand|
|00003210| 6c 65 72 65 61 64 5f 74 | 65 78 74 3a 20 63 68 61 |leread_t|ext: cha|
|00003220| 6e 67 65 64 20 73 74 72 | 72 65 61 64 20 6f 66 20 |nged str|read of |
|00003230| 73 74 72 69 6e 67 20 74 | 6f 20 75 73 65 20 25 32 |string t|o use %2|
|00003240| 35 35 73 2e 0a 20 20 20 | 53 79 6d 70 74 6f 6d 3a |55s.. |Symptom:|
|00003250| 20 50 72 65 76 69 6f 75 | 73 20 74 72 61 6e 73 6c | Previou|s transl|
|00003260| 61 74 69 6f 6e 20 6f 66 | 20 25 32 35 35 63 20 64 |ation of| %255c d|
|00003270| 69 64 20 6e 6f 74 20 61 | 70 70 65 6e 64 20 61 20 |id not a|ppend a |
|00003280| 6e 75 6c 6c 20 63 68 61 | 72 61 63 74 65 72 2e 0a |null cha|racter..|
|00003290| 0a 20 2a 20 42 75 67 20 | 66 69 78 20 69 6e 20 70 |. * Bug |fix in p|
|000032a0| 32 63 6c 69 62 2e 63 3a | 73 74 72 72 74 72 69 6d |2clib.c:|strrtrim|
|000032b0| 3a 20 41 64 64 65 64 20 | 74 65 73 74 20 66 6f 72 |: Added |test for|
|000032c0| 20 65 6d 70 74 79 20 73 | 74 72 69 6e 67 20 69 6e | empty s|tring in|
|000032d0| 70 75 74 2e 0a 20 20 20 | 53 79 6d 70 74 6f 6d 3a |put.. |Symptom:|
|000032e0| 20 49 6e 63 6f 72 72 65 | 63 74 20 62 65 68 61 76 | Incorre|ct behav|
|000032f0| 69 6f 72 20 6f 6e 20 73 | 74 72 72 74 72 69 6d 28 |ior on s|trrtrim(|
|00003300| 22 22 29 2e 0a 0a 20 2a | 20 42 75 67 20 66 69 78 |"")... *| Bug fix|
|00003310| 20 69 6e 20 70 32 63 6c | 69 62 2e 63 3a 50 5f 61 | in p2cl|ib.c:P_a|
|00003320| 64 64 73 65 74 72 3a 20 | 43 68 61 6e 67 65 64 20 |ddsetr: |Changed |
|00003330| 74 6f 20 73 69 67 6e 65 | 64 20 63 6f 6d 70 61 72 |to signe|d compar|
|00003340| 69 73 6f 6e 20 6f 66 20 | 76 31 20 61 6e 64 20 76 |ison of |v1 and v|
|00003350| 32 2e 0a 20 20 20 53 79 | 6d 70 74 6f 6d 3a 20 41 |2.. Sy|mptom: A|
|00003360| 64 64 69 6e 67 20 5b 30 | 2e 2e 2d 31 5d 20 74 6f |dding [0|..-1] to|
|00003370| 20 61 20 73 65 74 20 66 | 61 69 6c 65 64 2e 0a 0a | a set f|ailed...|
|00003380| 20 2a 20 42 75 67 20 66 | 69 78 20 69 6e 20 70 32 | * Bug f|ix in p2|
|00003390| 63 6c 69 62 2e 63 3a 50 | 5f 65 78 70 73 65 74 3a |clib.c:P|_expset:|
|000033a0| 20 44 6f 6e 27 74 20 77 | 72 69 74 65 20 74 6f 20 | Don't w|rite to |
|000033b0| 64 5b 31 5d 20 69 66 20 | 73 65 74 20 69 73 20 65 |d[1] if |set is e|
|000033c0| 6d 70 74 79 2e 0a 20 20 | 20 53 79 6d 70 74 6f 6d |mpty.. | Symptom|
|000033d0| 3a 20 53 65 74 73 20 61 | 6c 6c 6f 63 61 74 65 64 |: Sets a|llocated|
|000033e0| 20 74 6f 20 73 74 6f 72 | 65 20 30 20 65 6c 65 6d | to stor|e 0 elem|
|000033f0| 65 6e 74 73 20 64 69 64 | 6e 27 74 20 77 6f 72 6b |ents did|n't work|
|00003400| 20 70 72 6f 70 65 72 6c | 79 2e 0a 0a 20 2a 20 41 | properl|y... * A|
|00003410| 64 64 65 64 20 74 6f 20 | 73 79 73 2e 70 32 63 72 |dded to |sys.p2cr|
|00003420| 63 2f 74 72 61 6e 73 2e | 68 20 74 68 65 20 66 6f |c/trans.|h the fo|
|00003430| 6c 6c 6f 77 69 6e 67 20 | 63 6f 6e 66 69 67 75 72 |llowing |configur|
|00003440| 61 74 69 6f 6e 20 70 61 | 72 61 6d 65 74 65 72 73 |ation pa|rameters|
|00003450| 3a 0a 0a 20 20 20 20 4c | 6f 67 42 72 65 61 6b 50 |:.. L|ogBreakP|
|00003460| 65 6e 61 6c 74 79 20 20 | 20 20 20 20 20 20 20 4c |enalty | L|
|00003470| 69 6b 65 20 4f 70 42 72 | 65 61 6b 50 65 6e 61 6c |ike OpBr|eakPenal|
|00003480| 74 79 2c 20 62 75 74 20 | 66 6f 72 20 26 26 20 61 |ty, but |for && a|
|00003490| 6e 64 20 7c 7c 2e 0a 20 | 20 20 20 4c 6f 67 42 72 |nd ||.. | LogBr|
|000034a0| 65 61 6b 45 78 74 72 61 | 50 65 6e 61 6c 74 79 20 |eakExtra|Penalty |
|000034b0| 20 20 20 4c 69 6b 65 20 | 4f 70 42 72 65 61 6b 45 | Like |OpBreakE|
|000034c0| 78 74 72 61 50 65 6e 61 | 6c 74 79 2c 20 62 75 74 |xtraPena|lty, but|
|000034d0| 20 66 6f 72 20 26 26 20 | 61 6e 64 20 7c 7c 2e 0a | for && |and ||..|
|000034e0| 20 20 20 20 52 65 6c 42 | 72 65 61 6b 50 65 6e 61 | RelB|reakPena|
|000034f0| 6c 74 79 20 20 20 20 20 | 20 20 20 20 4c 69 6b 65 |lty | Like|
|00003500| 20 4f 70 42 72 65 61 6b | 50 65 6e 61 6c 74 79 2c | OpBreak|Penalty,|
|00003510| 20 62 75 74 20 66 6f 72 | 20 3c 2c 20 3d 3d 2c 20 | but for| <, ==, |
|00003520| 65 74 63 2e 0a 20 20 20 | 20 52 65 6c 42 72 65 61 |etc.. | RelBrea|
|00003530| 6b 45 78 74 72 61 50 65 | 6e 61 6c 74 79 20 20 20 |kExtraPe|nalty |
|00003540| 20 4c 69 6b 65 20 4f 70 | 42 72 65 61 6b 45 78 74 | Like Op|BreakExt|
|00003550| 72 61 50 65 6e 61 6c 74 | 79 2c 20 62 75 74 20 66 |raPenalt|y, but f|
|00003560| 6f 72 20 3c 2c 20 3d 3d | 2c 20 65 74 63 2e 0a 0c |or <, ==|, etc...|
|00003570| 0a 56 65 72 73 69 6f 6e | 20 31 2e 31 34 3a 0a 0a |.Version| 1.14:..|
|00003580| 20 2a 20 41 64 64 65 64 | 20 70 61 72 74 69 61 6c | * Added| partial|
|00003590| 20 73 75 70 70 6f 72 74 | 20 66 6f 72 20 4f 72 65 | support| for Ore|
|000035a0| 67 6f 6e 20 53 6f 66 74 | 77 61 72 65 20 50 61 73 |gon Soft|ware Pas|
|000035b0| 63 61 6c 27 73 20 64 65 | 6c 65 74 65 28 66 29 20 |cal's de|lete(f) |
|000035c0| 70 72 6f 63 65 64 75 72 | 65 2e 0a 0a 20 2a 20 43 |procedur|e... * C|
|000035d0| 68 61 6e 67 65 64 20 66 | 69 6c 65 5f 69 6f 66 75 |hanged f|ile_iofu|
|000035e0| 6e 63 20 74 6f 20 62 65 | 20 61 20 6c 69 74 74 6c |nc to be| a littl|
|000035f0| 65 20 6d 6f 72 65 20 72 | 6f 62 75 73 74 20 69 6e |e more r|obust in|
|00003600| 20 63 61 73 65 20 6f 66 | 20 65 72 72 6f 72 73 2e | case of| errors.|
|00003610| 0a 0a 20 2a 20 42 75 67 | 20 66 69 78 20 69 6e 20 |.. * Bug| fix in |
|00003620| 70 32 63 6c 69 62 2e 63 | 3a 73 74 72 72 74 72 69 |p2clib.c|:strrtri|
|00003630| 6d 3a 20 43 68 61 6e 67 | 65 64 20 74 6f 20 22 77 |m: Chang|ed to "w|
|00003640| 68 69 6c 65 20 28 2a 2b | 2b 73 32 29 20 3b 22 0a |hile (*+|+s2) ;".|
|00003650| 20 20 20 53 79 6d 70 74 | 6f 6d 3a 20 54 68 69 73 | Sympt|om: This|
|00003660| 20 66 75 6e 63 74 69 6f | 6e 20 64 69 64 6e 27 74 | functio|n didn't|
|00003670| 20 64 6f 20 61 6e 79 74 | 68 69 6e 67 21 0a 0a 20 | do anyt|hing!.. |
|00003680| 2a 20 42 75 67 20 66 69 | 78 20 69 6e 20 64 65 63 |* Bug fi|x in dec|
|00003690| 6c 2e 63 3a 70 5f 74 79 | 70 65 3a 20 44 65 63 6c |l.c:p_ty|pe: Decl|
|000036a0| 61 72 65 64 20 65 6e 75 | 6d 73 20 77 68 69 63 68 |ared enu|ms which|
|000036b0| 20 77 65 72 65 20 62 61 | 73 65 20 74 79 70 65 73 | were ba|se types|
|000036c0| 20 6f 66 20 73 65 74 73 | 2e 0a 20 20 20 53 79 6d | of sets|.. Sym|
|000036d0| 70 74 6f 6d 3a 20 49 6e | 20 22 74 79 70 65 20 73 |ptom: In| "type s|
|000036e0| 20 3d 20 73 65 74 20 6f | 66 20 28 61 2c 62 29 22 | = set o|f (a,b)"|
|000036f0| 2c 20 74 68 65 20 65 6e | 75 6d 20 77 61 73 20 6e |, the en|um was n|
|00003700| 65 76 65 72 20 64 65 63 | 6c 61 72 65 64 2e 0a 0a |ever dec|lared...|
|00003710| 20 2a 20 42 75 67 20 66 | 69 78 20 69 6e 20 64 65 | * Bug f|ix in de|
|00003720| 63 6c 2e 63 3a 69 73 73 | 61 66 65 6e 61 6d 65 3a |cl.c:iss|afename:|
|00003730| 20 41 76 6f 69 64 65 64 | 20 23 64 65 66 69 6e 69 | Avoided| #defini|
|00003740| 6e 67 20 65 78 69 73 74 | 69 6e 67 20 66 69 65 6c |ng exist|ing fiel|
|00003750| 64 20 6e 61 6d 65 73 2e | 0a 20 20 20 53 79 6d 70 |d names.|. Symp|
|00003760| 74 6f 6d 3a 20 22 74 79 | 70 65 20 72 3d 72 65 63 |tom: "ty|pe r=rec|
|00003770| 6f 72 64 20 61 3a 69 6e | 74 65 67 65 72 3b 20 65 |ord a:in|teger; e|
|00003780| 6e 64 3b 20 63 6f 6e 73 | 74 20 61 3d 31 30 3b 22 |nd; cons|t a=10;"|
|00003790| 20 70 72 6f 64 75 63 65 | 64 20 62 61 64 20 63 6f | produce|d bad co|
|000037a0| 64 65 2e 0a 0a 20 2a 20 | 42 75 67 20 66 69 78 20 |de... * |Bug fix |
|000037b0| 69 6e 20 65 78 70 72 2e | 63 3a 6d 61 6b 65 65 78 |in expr.|c:makeex|
|000037c0| 70 72 5f 63 68 61 72 63 | 61 73 74 3a 20 43 68 61 |pr_charc|ast: Cha|
|000037d0| 6e 67 65 64 20 74 6f 20 | 72 65 63 6f 67 6e 69 7a |nged to |recogniz|
|000037e0| 65 20 43 4f 4e 53 54 20 | 6e 61 6d 65 73 2e 0a 20 |e CONST |names.. |
|000037f0| 20 20 53 79 6d 70 74 6f | 6d 3a 20 22 63 6f 6e 73 | Sympto|m: "cons|
|00003800| 74 20 78 3d 27 78 27 3b | 20 76 61 72 20 73 20 3a |t x='x';| var s :|
|00003810| 20 73 65 74 20 6f 66 20 | 63 68 61 72 3b 20 73 20 | set of |char; s |
|00003820| 3a 3d 20 5b 78 5d 3b 22 | 20 67 65 6e 65 72 61 74 |:= [x];"| generat|
|00003830| 65 64 20 62 61 64 20 63 | 6f 64 65 2e 0a 0c 0a 56 |ed bad c|ode....V|
|00003840| 65 72 73 69 6f 6e 20 31 | 2e 31 33 3a 0a 0a 20 2a |ersion 1|.13:.. *|
|00003850| 20 43 68 61 6e 67 65 64 | 20 74 6f 20 69 6e 74 65 | Changed| to inte|
|00003860| 72 70 72 65 74 20 63 70 | 70 2d 73 74 79 6c 65 20 |rpret cp|p-style |
|00003870| 22 23 69 6e 63 6c 75 64 | 65 22 20 61 73 20 61 6e |"#includ|e" as an|
|00003880| 6f 74 68 65 72 20 69 6e | 63 6c 75 64 65 2d 66 69 |other in|clude-fi|
|00003890| 6c 65 20 73 79 6e 74 61 | 78 2e 0a 0a 20 2a 20 49 |le synta|x... * I|
|000038a0| 6d 70 72 6f 76 65 64 20 | 68 61 6e 64 6c 69 6e 67 |mproved |handling|
|000038b0| 20 6f 66 20 57 52 49 54 | 45 20 66 69 65 6c 64 20 | of WRIT|E field |
|000038c0| 77 69 64 74 68 73 20 66 | 6f 72 20 70 61 63 6b 65 |widths f|or packe|
|000038d0| 64 20 61 72 72 61 79 73 | 20 6f 66 20 63 68 61 72 |d arrays| of char|
|000038e0| 2e 0a 0a 20 2a 20 49 6d | 70 72 6f 76 65 64 20 68 |... * Im|proved h|
|000038f0| 61 6e 64 6c 69 6e 67 20 | 6f 66 20 62 75 69 6c 74 |andling |of built|
|00003900| 2d 69 6e 20 69 64 65 6e | 74 69 66 69 65 72 73 20 |-in iden|tifiers |
|00003910| 69 6e 20 50 61 73 63 61 | 6c 43 61 73 65 53 65 6e |in Pasca|lCaseSen|
|00003920| 73 20 6d 6f 64 65 2e 0a | 0a 20 2a 20 42 75 67 20 |s mode..|. * Bug |
|00003930| 66 69 78 20 69 6e 20 70 | 61 72 73 65 2e 63 3a 70 |fix in p|arse.c:p|
|00003940| 5f 66 75 6e 63 74 69 6f | 6e 3a 20 75 73 65 64 20 |_functio|n: used |
|00003950| 73 74 72 63 69 63 6d 70 | 20 74 6f 20 63 68 65 63 |strcicmp| to chec|
|00003960| 6b 20 66 6f 72 20 22 46 | 4f 52 57 41 52 44 22 20 |k for "F|ORWARD" |
|00003970| 6b 65 79 77 6f 72 64 2e | 0a 20 20 20 53 79 6d 70 |keyword.|. Symp|
|00003980| 74 6f 6d 3a 20 49 6e 20 | 50 61 73 63 61 6c 43 61 |tom: In |PascalCa|
|00003990| 73 65 53 65 6e 73 20 6d | 6f 64 65 2c 20 66 6f 72 |seSens m|ode, for|
|000039a0| 77 61 72 64 20 64 65 63 | 6c 61 72 61 74 69 6f 6e |ward dec|laration|
|000039b0| 73 20 68 61 64 20 74 6f | 20 62 65 20 63 61 70 69 |s had to| be capi|
|000039c0| 74 61 6c 69 7a 65 64 2e | 0a 0c 0a 56 65 72 73 69 |talized.|...Versi|
|000039d0| 6f 6e 20 31 2e 31 32 3a | 0a 0a 20 2a 20 41 64 64 |on 1.12:|.. * Add|
|000039e0| 65 64 20 73 75 70 70 6f | 72 74 20 66 6f 72 20 53 |ed suppo|rt for S|
|000039f0| 75 6e 2f 42 65 72 6b 65 | 6c 65 79 20 50 61 73 63 |un/Berke|ley Pasc|
|00003a00| 61 6c 2e 0a 0a 20 2a 20 | 42 65 65 66 65 64 20 75 |al... * |Beefed u|
|00003a10| 70 20 50 61 73 63 61 6c | 43 61 73 65 53 65 6e 73 |p Pascal|CaseSens|
|00003a20| 20 68 61 6e 64 6c 69 6e | 67 2e 0a 0a 20 2a 20 41 | handlin|g... * A|
|00003a30| 64 64 65 64 20 73 6f 6d | 65 20 65 78 74 72 61 20 |dded som|e extra |
|00003a40| 70 61 72 65 6e 74 68 65 | 73 65 73 20 74 6f 20 74 |parenthe|ses to t|
|00003a50| 68 65 20 50 5f 63 6c 72 | 62 69 74 73 20 6d 61 63 |he P_clr|bits mac|
|00003a60| 72 6f 73 2e 20 28 21 29 | 0a 0a 20 2a 20 41 64 64 |ros. (!)|.. * Add|
|00003a70| 65 64 20 74 6f 20 73 79 | 73 2e 70 32 63 72 63 2f |ed to sy|s.p2crc/|
|00003a80| 74 72 61 6e 73 2e 68 20 | 74 68 65 20 66 6f 6c 6c |trans.h |the foll|
|00003a90| 6f 77 69 6e 67 20 63 6f | 6e 66 69 67 75 72 61 74 |owing co|nfigurat|
|00003aa0| 69 6f 6e 20 70 61 72 61 | 6d 65 74 65 72 73 3a 0a |ion para|meters:.|
|00003ab0| 0a 20 20 20 20 43 68 61 | 72 46 69 6c 65 54 65 78 |. Cha|rFileTex|
|00003ac0| 74 20 20 20 20 54 72 65 | 61 74 20 22 66 69 6c 65 |t Tre|at "file|
|00003ad0| 20 6f 66 20 63 68 61 72 | 22 20 61 73 20 69 64 65 | of char|" as ide|
|00003ae0| 6e 74 69 63 61 6c 20 74 | 6f 20 22 74 65 78 74 22 |ntical t|o "text"|
|00003af0| 2e 0a 20 20 20 20 55 73 | 65 53 74 72 6e 63 6d 70 |.. Us|eStrncmp|
|00003b00| 09 20 20 20 20 55 73 65 | 20 73 74 72 6e 63 6d 70 |. Use| strncmp|
|00003b10| 2c 20 6e 6f 74 20 6d 65 | 6d 63 6d 70 2c 20 74 6f |, not me|mcmp, to|
|00003b20| 20 63 6f 6d 70 61 72 65 | 20 70 61 63 6b 65 64 20 | compare| packed |
|00003b30| 61 72 72 61 79 73 20 6f | 66 20 63 68 61 72 2e 0a |arrays o|f char..|
|00003b40| 20 20 20 20 4d 65 73 73 | 61 67 65 53 74 64 65 72 | Mess|ageStder|
|00003b50| 72 20 20 20 42 75 69 6c | 74 2d 69 6e 20 22 6d 65 |r Buil|t-in "me|
|00003b60| 73 73 61 67 65 28 2e 2e | 2e 29 22 20 73 68 6f 75 |ssage(..|.)" shou|
|00003b70| 6c 64 20 75 73 65 20 73 | 74 64 65 72 72 2c 20 6e |ld use s|tderr, n|
|00003b80| 6f 74 20 73 74 64 6f 75 | 74 2e 0a 20 20 20 20 4c |ot stdou|t.. L|
|00003b90| 69 74 65 72 61 6c 46 69 | 6c 65 73 20 20 20 20 46 |iteralFi|les F|
|00003ba0| 69 6c 65 73 20 6f 70 65 | 6e 65 64 20 77 69 74 68 |iles ope|ned with|
|00003bb0| 6f 75 74 20 6e 61 6d 65 | 73 20 73 68 6f 75 6c 64 |out name|s should|
|00003bc0| 20 75 73 65 20 66 69 6c | 65 20 76 61 72 27 73 20 | use fil|e var's |
|00003bd0| 6e 61 6d 65 2e 0a 20 20 | 20 20 4c 69 74 65 72 61 |name.. | Litera|
|00003be0| 6c 46 69 6c 65 09 20 20 | 20 20 53 70 65 63 69 66 |lFile. | Specif|
|00003bf0| 69 63 20 66 69 6c 65 73 | 20 77 68 69 63 68 20 73 |ic files| which s|
|00003c00| 68 6f 75 6c 64 20 75 73 | 65 20 4c 69 74 65 72 61 |hould us|e Litera|
|00003c10| 6c 46 69 6c 65 73 3d 31 | 20 6d 6f 64 65 2e 0a 0c |lFiles=1| mode...|
|00003c20| 0a 56 65 72 73 69 6f 6e | 20 31 2e 31 31 3a 0a 0a |.Version| 1.11:..|
|00003c30| 20 2a 20 49 6d 70 72 6f | 76 65 64 20 74 68 65 20 | * Impro|ved the |
|00003c40| 22 75 73 61 67 65 22 20 | 6d 65 73 73 61 67 65 20 |"usage" |message |
|00003c50| 73 6c 69 67 68 74 6c 79 | 2e 0a 0a 20 2a 20 49 6e |slightly|... * In|
|00003c60| 74 72 6f 64 75 63 65 64 | 20 22 43 6f 6c 6c 65 63 |troduced| "Collec|
|00003c70| 74 4e 65 73 74 3d 30 22 | 20 74 6f 20 68 65 6c 70 |tNest=0"| to help|
|00003c80| 20 77 69 74 68 20 69 6e | 63 6c 75 64 65 20 66 69 | with in|clude fi|
|00003c90| 6c 65 73 20 6f 66 20 73 | 75 62 2d 70 72 6f 63 65 |les of s|ub-proce|
|00003ca0| 64 75 72 65 73 2e 0a 0a | 20 2a 20 43 68 61 6e 67 |dures...| * Chang|
|00003cb0| 65 64 20 74 6f 20 69 67 | 6e 6f 72 65 20 22 4f 56 |ed to ig|nore "OV|
|00003cc0| 45 52 4c 41 59 22 20 6b | 65 79 77 6f 72 64 20 28 |ERLAY" k|eyword (|
|00003cd0| 61 20 54 75 72 62 6f 20 | 50 61 73 63 61 6c 20 61 |a Turbo |Pascal a|
|00003ce0| 6e 61 63 68 72 6f 6e 69 | 73 6d 29 2e 0a 0a 20 2a |nachroni|sm)... *|
|00003cf0| 20 49 6e 74 72 6f 64 75 | 63 65 64 20 22 42 52 4f | Introdu|ced "BRO|
|00003d00| 4b 45 4e 5f 4f 52 22 20 | 6f 70 74 69 6f 6e 20 69 |KEN_OR" |option i|
|00003d10| 6e 20 74 72 61 6e 73 2e | 68 20 69 6e 20 63 61 73 |n trans.|h in cas|
|00003d20| 65 20 6f 66 20 63 6f 6d | 70 69 6c 65 72 20 62 75 |e of com|piler bu|
|00003d30| 67 73 2e 0a 0a 20 2a 20 | 43 68 61 6e 67 65 64 20 |gs... * |Changed |
|00003d40| 73 72 63 2f 4d 61 6b 65 | 66 69 6c 65 20 74 6f 20 |src/Make|file to |
|00003d50| 63 68 65 63 6b 20 66 6f | 72 20 70 72 65 73 65 6e |check fo|r presen|
|00003d60| 63 65 20 6f 66 20 6e 72 | 6f 66 66 20 62 65 66 6f |ce of nr|off befo|
|00003d70| 72 65 20 63 68 61 6e 67 | 69 6e 67 20 70 32 63 2e |re chang|ing p2c.|
|00003d80| 63 61 74 2e 0a 0a 20 2a | 20 54 61 75 67 68 74 20 |cat... *| Taught |
|00003d90| 73 74 72 6d 61 78 5f 66 | 75 6e 63 20 74 6f 20 75 |strmax_f|unc to u|
|00003da0| 6e 64 65 72 73 74 61 6e | 64 20 73 74 72 69 6e 67 |nderstan|d string|
|00003db0| 20 63 6f 6e 73 74 73 20 | 61 73 20 77 65 6c 6c 20 | consts |as well |
|00003dc0| 61 73 20 73 74 72 69 6e | 67 20 6c 69 74 65 72 61 |as strin|g litera|
|00003dd0| 6c 73 2e 0a 0a 20 2a 20 | 43 68 61 6e 67 65 64 20 |ls... * |Changed |
|00003de0| 73 79 73 74 65 6d 2e 69 | 6d 70 20 74 6f 20 75 73 |system.i|mp to us|
|00003df0| 65 20 5f 5f 6d 6f 64 75 | 6c 65 20 74 6f 20 61 76 |e __modu|le to av|
|00003e00| 6f 69 64 20 4d 6f 64 75 | 6c 65 4e 6f 74 61 74 69 |oid Modu|leNotati|
|00003e10| 6f 6e 20 64 65 70 65 6e | 64 65 6e 63 69 65 73 2e |on depen|dencies.|
|00003e20| 0a 0a 20 2a 20 50 72 65 | 76 65 6e 74 65 64 20 76 |.. * Pre|vented v|
|00003e30| 61 72 69 61 62 6c 65 73 | 20 69 6e 20 76 61 72 73 |ariables| in vars|
|00003e40| 74 72 75 63 74 73 20 66 | 72 6f 6d 20 62 65 69 6e |tructs f|rom bein|
|00003e50| 67 20 64 65 63 6c 61 72 | 65 64 20 22 63 6f 6e 73 |g declar|ed "cons|
|00003e60| 74 22 2e 0a 0a 20 2a 20 | 43 68 61 6e 67 65 64 20 |t"... * |Changed |
|00003e70| 22 63 68 65 63 6b 76 61 | 72 63 68 61 6e 67 65 64 |"checkva|rchanged|
|00003e80| 22 20 69 6e 20 64 65 63 | 6c 2e 63 20 74 6f 20 6f |" in dec|l.c to o|
|00003e90| 62 73 65 72 76 65 20 63 | 6f 6e 73 74 71 75 61 6c |bserve c|onstqual|
|00003ea0| 2c 20 76 6f 6c 61 74 69 | 6c 65 71 75 61 6c 2e 0a |, volati|lequal..|
|00003eb0| 0a 20 2a 20 49 6e 74 72 | 6f 64 75 63 65 64 20 22 |. * Intr|oduced "|
|00003ec0| 65 78 70 72 5f 68 61 73 | 5f 61 64 64 72 65 73 73 |expr_has|_address|
|00003ed0| 22 20 28 69 6e 20 65 78 | 70 72 2e 63 29 20 61 73 |" (in ex|pr.c) as|
|00003ee0| 20 61 20 76 61 72 69 61 | 6e 74 20 6f 6e 20 22 65 | a varia|nt on "e|
|00003ef0| 78 70 72 5f 69 73 5f 6c | 76 61 6c 75 65 22 2e 0a |xpr_is_l|value"..|
|00003f00| 0a 20 2a 20 42 75 67 20 | 66 69 78 20 69 6e 20 70 |. * Bug |fix in p|
|00003f10| 65 78 70 72 2e 63 3a 70 | 5f 66 75 6e 63 61 72 67 |expr.c:p|_funcarg|
|00003f20| 6c 69 73 74 3a 20 66 6f | 72 20 73 74 72 69 6e 67 |list: fo|r string|
|00003f30| 73 20 61 73 20 63 6f 6e | 66 6f 72 6d 61 6e 74 20 |s as con|formant |
|00003f40| 61 72 72 61 79 73 2c 20 | 6c 6f 77 3d 31 2e 0a 20 |arrays, |low=1.. |
|00003f50| 20 20 53 79 6d 70 74 6f | 6d 3a 20 53 74 72 69 6e | Sympto|m: Strin|
|00003f60| 67 73 20 77 65 72 65 20 | 70 61 73 73 65 64 20 61 |gs were |passed a|
|00003f70| 73 20 61 72 72 61 79 20 | 5b 30 2e 2e 4e 5d 20 69 |s array |[0..N] i|
|00003f80| 6e 73 74 65 61 64 20 6f | 66 20 5b 31 2e 2e 4e 5d |nstead o|f [1..N]|
|00003f90| 2e 0a 0a 20 2a 20 42 75 | 67 20 66 69 78 20 69 6e |... * Bu|g fix in|
|00003fa0| 20 64 65 63 6c 2e 63 3a | 73 65 74 75 70 6d 65 61 | decl.c:|setupmea|
|00003fb0| 6e 69 6e 67 3a 20 61 64 | 64 65 64 20 6d 69 73 73 |ning: ad|ded miss|
|00003fc0| 69 6e 67 20 22 62 72 65 | 61 6b 3b 22 20 66 6f 72 |ing "bre|ak;" for|
|00003fd0| 20 4d 4b 5f 56 41 52 49 | 41 4e 54 20 63 61 73 65 | MK_VARI|ANT case|
|00003fe0| 2e 0a 20 20 20 53 79 6d | 70 74 6f 6d 3a 20 53 70 |.. Sym|ptom: Sp|
|00003ff0| 65 63 69 61 6c 20 66 6f | 72 6d 61 74 74 69 6e 67 |ecial fo|rmatting|
|00004000| 20 66 6f 72 20 65 6e 75 | 6d 65 72 61 74 65 64 20 | for enu|merated |
|00004010| 74 79 70 65 20 6e 61 6d | 65 73 20 77 61 73 20 62 |type nam|es was b|
|00004020| 72 6f 6b 65 6e 2e 0a 0a | 20 2a 20 42 75 67 20 66 |roken...| * Bug f|
|00004030| 69 78 20 69 6e 20 70 32 | 63 2e 68 3a 50 5f 67 65 |ix in p2|c.h:P_ge|
|00004040| 74 63 6d 64 6c 69 6e 65 | 3a 20 72 65 6d 6f 76 65 |tcmdline|: remove|
|00004050| 64 20 22 43 6f 6e 73 74 | 22 20 6b 65 79 77 6f 72 |d "Const|" keywor|
|00004060| 64 73 2e 0a 20 20 20 53 | 79 6d 70 74 6f 6d 3a 20 |ds.. S|ymptom: |
|00004070| 50 72 6f 74 6f 74 79 70 | 65 20 77 61 73 20 69 6e |Prototyp|e was in|
|00004080| 63 6f 6e 73 69 73 74 65 | 6e 74 20 77 69 74 68 20 |consiste|nt with |
|00004090| 64 65 66 69 6e 69 74 69 | 6f 6e 20 69 6e 20 70 32 |definiti|on in p2|
|000040a0| 63 6c 69 62 2e 63 2e 0a | 0a 20 2a 20 42 75 67 20 |clib.c..|. * Bug |
|000040b0| 66 69 78 20 69 6e 20 64 | 65 63 6c 2e 63 3a 61 64 |fix in d|ecl.c:ad|
|000040c0| 64 66 69 65 6c 64 3a 20 | 63 68 61 6e 67 65 64 20 |dfield: |changed |
|000040d0| 74 6f 20 22 74 6e 61 6d | 65 20 26 26 20 74 6e 61 |to "tnam|e && tna|
|000040e0| 6d 65 2d 3e 6e 61 6d 65 | 20 3f 20 2e 2e 2e 22 2e |me->name| ? ...".|
|000040f0| 0a 20 20 20 53 79 6d 70 | 74 6f 6d 3a 20 52 65 66 |. Symp|tom: Ref|
|00004100| 65 72 65 6e 63 65 20 74 | 6f 20 4e 55 4c 4c 20 66 |erence t|o NULL f|
|00004110| 6f 72 6d 61 74 74 69 6e | 67 20 66 69 65 6c 64 20 |ormattin|g field |
|00004120| 6e 61 6d 65 73 20 66 6f | 72 20 75 6e 6e 61 6d 65 |names fo|r unname|
|00004130| 64 20 72 65 63 6f 72 64 | 73 2e 0a 0a 20 2a 20 42 |d record|s... * B|
|00004140| 75 67 20 66 69 78 20 69 | 6e 20 65 78 70 72 2e 63 |ug fix i|n expr.c|
|00004150| 3a 66 69 78 62 6c 6f 63 | 6b 3a 20 66 69 78 65 64 |:fixbloc|k: fixed|
|00004160| 20 67 65 74 66 62 75 66 | 20 2b 20 67 65 74 20 3d | getfbuf| + get =|
|00004170| 3e 20 66 72 65 61 64 20 | 74 6f 20 63 68 65 63 6b |> fread |to check|
|00004180| 20 76 61 72 20 74 79 70 | 65 2e 0a 20 20 20 53 79 | var typ|e.. Sy|
|00004190| 6d 70 74 6f 6d 3a 20 22 | 66 3a 66 69 6c 65 20 6f |mptom: "|f:file o|
|000041a0| 66 20 62 79 74 65 3b 20 | 69 3a 69 6e 74 65 67 65 |f byte; |i:intege|
|000041b0| 72 3b 20 69 3a 3d 66 5e | 3b 20 67 65 74 28 66 29 |r; i:=f^|; get(f)|
|000041c0| 3b 22 20 75 73 65 64 20 | 66 72 65 61 64 20 69 6e |;" used |fread in|
|000041d0| 63 6f 72 72 65 63 74 6c | 79 2e 0a 0a 20 2a 20 42 |correctl|y... * B|
|000041e0| 75 67 20 66 69 78 20 69 | 6e 20 6c 65 78 2e 63 3a |ug fix i|n lex.c:|
|000041f0| 74 75 72 62 6f 5f 64 69 | 72 65 63 74 69 76 65 3a |turbo_di|rective:|
|00004200| 20 63 68 65 63 6b 65 64 | 20 72 65 74 75 72 6e 20 | checked| return |
|00004210| 76 61 6c 75 65 20 6f 66 | 20 68 61 6e 64 6c 65 5f |value of| handle_|
|00004220| 69 6e 63 6c 75 64 65 2e | 0a 20 20 20 53 79 6d 70 |include.|. Symp|
|00004230| 74 6f 6d 3a 20 54 75 72 | 62 6f 2d 73 74 79 6c 65 |tom: Tur|bo-style|
|00004240| 20 69 6e 63 6c 75 64 65 | 20 64 69 72 65 63 74 69 | include| directi|
|00004250| 76 65 73 20 6d 65 73 73 | 65 64 20 75 70 20 69 66 |ves mess|ed up if|
|00004260| 20 66 69 6c 65 20 77 61 | 73 20 6e 6f 74 20 66 6f | file wa|s not fo|
|00004270| 75 6e 64 2e 0a 0a 20 2a | 20 41 64 64 65 64 20 74 |und... *| Added t|
|00004280| 6f 20 73 79 73 2e 70 32 | 63 72 63 2f 74 72 61 6e |o sys.p2|crc/tran|
|00004290| 73 2e 68 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |s.h the |followin|
|000042a0| 67 20 63 6f 6e 66 69 67 | 75 72 61 74 69 6f 6e 20 |g config|uration |
|000042b0| 70 61 72 61 6d 65 74 65 | 72 3a 0a 0a 20 20 20 20 |paramete|r:.. |
|000042c0| 43 6f 6c 6c 65 63 74 4e | 65 73 74 20 20 20 20 20 |CollectN|est |
|000042d0| 4b 6c 75 64 67 65 20 74 | 6f 20 6d 61 6b 65 20 73 |Kludge t|o make s|
|000042e0| 75 62 2d 70 72 6f 63 73 | 20 62 65 20 65 6d 69 74 |ub-procs| be emit|
|000042f0| 74 65 64 20 61 73 20 74 | 68 65 79 20 61 72 65 20 |ted as t|hey are |
|00004300| 70 61 72 73 65 64 2e 0a | 0c 0a 56 65 72 73 69 6f |parsed..|..Versio|
|00004310| 6e 20 31 2e 31 30 3a 0a | 0a 20 2a 20 42 75 67 20 |n 1.10:.|. * Bug |
|00004320| 66 69 78 20 69 6e 20 63 | 6f 6d 6d 65 6e 74 2e 63 |fix in c|omment.c|
|00004330| 3a 61 64 64 6e 6f 74 65 | 3a 20 72 65 66 65 72 65 |:addnote|: refere|
|00004340| 6e 63 65 20 74 6f 20 22 | 71 75 69 65 74 22 20 63 |nce to "|quiet" c|
|00004350| 68 61 6e 67 65 64 20 74 | 6f 20 22 71 75 69 65 74 |hanged t|o "quiet|
|00004360| 6d 6f 64 65 22 2e 0a 20 | 20 20 53 79 6d 70 74 6f |mode".. | Sympto|
|00004370| 6d 3a 20 46 61 69 6c 65 | 64 20 74 6f 20 63 6f 6d |m: Faile|d to com|
|00004380| 70 69 6c 65 21 20 20 28 | 53 6f 72 72 79 2c 20 61 |pile! (|Sorry, a|
|00004390| 62 6f 75 74 20 74 68 61 | 74 21 29 0a 0c 0a 56 65 |bout tha|t!)...Ve|
|000043a0| 72 73 69 6f 6e 20 31 2e | 30 39 3a 0a 0a 20 2a 20 |rsion 1.|09:.. * |
|000043b0| 4d 61 64 65 20 61 20 66 | 65 77 20 69 6d 70 72 6f |Made a f|ew impro|
|000043c0| 76 65 6d 65 6e 74 73 20 | 74 6f 20 22 2d 52 22 20 |vements |to "-R" |
|000043d0| 28 72 65 67 72 65 73 73 | 69 6f 6e 2d 74 65 73 74 |(regress|ion-test|
|000043e0| 69 6e 67 29 20 6d 6f 64 | 65 2e 0a 0a 20 2a 20 42 |ing) mod|e... * B|
|000043f0| 75 67 20 66 69 78 20 69 | 6e 20 64 65 63 6c 2e 63 |ug fix i|n decl.c|
|00004400| 3a 61 64 64 66 69 65 6c | 64 3a 20 72 65 77 72 6f |:addfiel|d: rewro|
|00004410| 74 65 20 70 61 72 74 20 | 6f 66 20 74 68 65 20 69 |te part |of the i|
|00004420| 73 73 61 66 65 6e 61 6d | 65 20 6c 6f 6f 70 2e 0a |ssafenam|e loop..|
|00004430| 20 20 20 53 79 6d 70 74 | 6f 6d 3a 20 56 61 72 69 | Sympt|om: Vari|
|00004440| 6f 75 73 20 70 72 6f 62 | 6c 65 6d 73 20 63 68 6f |ous prob|lems cho|
|00004450| 6f 73 69 6e 67 20 6e 61 | 6d 65 73 20 66 6f 72 20 |osing na|mes for |
|00004460| 66 69 65 6c 64 73 20 6f | 66 20 73 74 72 75 63 74 |fields o|f struct|
|00004470| 73 2e 0a 0a 20 2a 20 42 | 75 67 20 66 69 78 20 69 |s... * B|ug fix i|
|00004480| 6e 20 6f 75 74 2e 63 3a | 67 65 74 63 75 72 74 69 |n out.c:|getcurti|
|00004490| 6d 65 3a 20 6d 6f 64 69 | 66 69 65 64 20 6e 6f 6e |me: modi|fied non|
|000044a0| 2d 48 41 53 54 49 4d 45 | 20 63 61 73 65 20 74 6f |-HASTIME| case to|
|000044b0| 20 75 73 65 20 73 74 61 | 72 74 74 69 6d 65 2e 0a | use sta|rttime..|
|000044c0| 20 20 20 53 79 6d 70 74 | 6f 6d 3a 20 4e 6f 74 20 | Sympt|om: Not |
|000044d0| 73 61 66 65 20 74 6f 20 | 6d 75 6c 74 69 70 6c 79 |safe to |multiply|
|000044e0| 20 72 61 77 20 74 69 6d | 65 28 29 20 72 65 73 75 | raw tim|e() resu|
|000044f0| 6c 74 20 62 79 20 31 30 | 30 30 2e 0a 0c 0a 56 65 |lt by 10|00....Ve|
|00004500| 72 73 69 6f 6e 20 31 2e | 30 38 3a 0a 0a 20 2a 20 |rsion 1.|08:.. * |
|00004510| 43 68 61 6e 67 65 64 20 | 22 6d 61 6b 65 70 72 6f |Changed |"makepro|
|00004520| 74 6f 22 20 63 6f 6d 6d | 61 6e 64 73 20 69 6e 20 |to" comm|ands in |
|00004530| 73 72 63 2f 4d 61 6b 65 | 66 69 6c 65 20 74 6f 20 |src/Make|file to |
|00004540| 22 2e 2f 6d 61 6b 65 70 | 72 6f 74 6f 22 2e 0a 0a |"./makep|roto"...|
|00004550| 20 2a 20 45 78 74 65 6e | 64 65 64 20 22 43 6f 6e | * Exten|ded "Con|
|00004560| 73 74 46 6f 72 6d 61 74 | 22 20 6d 65 63 68 61 6e |stFormat|" mechan|
|00004570| 69 73 6d 20 66 6f 72 20 | 61 6c 6c 20 6f 74 68 65 |ism for |all othe|
|00004580| 72 20 6b 69 6e 64 73 20 | 6f 66 20 69 64 65 6e 74 |r kinds |of ident|
|00004590| 69 66 69 65 72 73 2e 0a | 0a 20 2a 20 41 64 64 65 |ifiers..|. * Adde|
|000045a0| 64 20 61 20 73 70 65 63 | 69 61 6c 20 66 6f 72 6d |d a spec|ial form|
|000045b0| 61 74 20 66 6f 72 20 50 | 61 73 63 61 6c 20 69 6e |at for P|ascal in|
|000045c0| 63 6c 75 64 65 2d 66 69 | 6c 65 20 6e 61 6d 65 73 |clude-fi|le names|
|000045d0| 2e 0a 0a 20 2a 20 41 64 | 64 65 64 20 22 55 73 65 |... * Ad|ded "Use|
|000045e0| 43 6f 6e 73 74 73 3d 32 | 22 20 74 6f 20 66 6f 72 |Consts=2|" to for|
|000045f0| 63 65 20 74 68 65 20 75 | 73 65 20 6f 66 20 22 43 |ce the u|se of "C|
|00004600| 6f 6e 73 74 22 20 69 6e | 73 74 65 61 64 20 6f 66 |onst" in|stead of|
|00004610| 20 22 63 6f 6e 73 74 22 | 2e 0a 0a 20 2a 20 41 64 | "const"|... * Ad|
|00004620| 64 65 64 20 46 69 6c 65 | 4e 61 6d 65 46 69 6c 74 |ded File|NameFilt|
|00004630| 65 72 20 6f 70 74 69 6f | 6e 2e 0a 0a 20 2a 20 41 |er optio|n... * A|
|00004640| 64 64 65 64 20 22 2d 45 | 22 20 73 77 69 74 63 68 |dded "-E|" switch|
|00004650| 20 74 6f 20 68 61 6c 74 | 20 61 66 74 65 72 20 73 | to halt| after s|
|00004660| 6f 6d 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 65 72 |ome numb|er of er|
|00004670| 72 6f 72 73 2e 0a 0a 20 | 2a 20 41 64 64 65 64 20 |rors... |* Added |
|00004680| 44 65 63 6c 42 75 66 4e | 43 4e 61 6d 65 20 66 6f |DeclBufN|CName fo|
|00004690| 72 20 63 6f 6d 70 69 6c | 65 72 73 20 77 68 69 63 |r compil|ers whic|
|000046a0| 68 20 63 61 6e 27 74 20 | 68 61 6e 64 6c 65 20 6e |h can't |handle n|
|000046b0| 75 6c 6c 20 6d 61 63 72 | 6f 20 61 72 67 75 6d 65 |ull macr|o argume|
|000046c0| 6e 74 73 2e 0a 0a 20 2a | 20 48 61 6e 64 6c 65 64 |nts... *| Handled|
|000046d0| 20 74 68 65 20 63 61 73 | 65 20 6f 66 20 6d 75 6c | the cas|e of mul|
|000046e0| 74 69 70 6c 65 20 70 61 | 72 61 6d 65 74 65 72 73 |tiple pa|rameters|
|000046f0| 20 75 73 69 6e 67 20 61 | 20 63 6f 6d 6d 6f 6e 20 | using a| common |
|00004700| 63 6f 6e 66 6f 72 6d 61 | 6e 74 20 73 63 68 65 6d |conforma|nt schem|
|00004710| 61 2e 0a 0a 20 2a 20 49 | 6e 63 6f 72 70 6f 72 61 |a... * I|ncorpora|
|00004720| 74 65 64 20 73 65 76 65 | 72 61 6c 20 4f 72 65 67 |ted seve|ral Oreg|
|00004730| 6f 6e 20 50 61 73 63 61 | 6c 20 73 74 61 6e 64 61 |on Pasca|l standa|
|00004740| 72 64 20 70 72 6f 63 65 | 64 75 72 65 73 20 66 72 |rd proce|dures fr|
|00004750| 6f 6d 20 57 69 6c 6c 69 | 61 6d 20 42 61 64 65 72 |om Willi|am Bader|
|00004760| 2e 0a 0a 20 2a 20 46 69 | 78 65 64 20 74 79 70 6f |... * Fi|xed typo|
|00004770| 20 69 6e 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f | in docu|mentatio|
|00004780| 6e 20 6f 66 20 22 42 72 | 61 63 65 4c 69 6e 65 22 |n of "Br|aceLine"|
|00004790| 20 69 6e 20 73 79 73 2e | 70 32 63 72 63 2e 0a 0a | in sys.|p2crc...|
|000047a0| 20 2a 20 42 75 67 20 66 | 69 78 3a 20 69 6e 20 66 | * Bug f|ix: in f|
|000047b0| 75 6e 63 73 2e 63 3a 68 | 61 6e 64 6c 65 72 65 61 |uncs.c:h|andlerea|
|000047c0| 64 5f 74 65 78 74 3a 20 | 61 64 64 20 63 6f 70 79 |d_text: |add copy|
|000047d0| 65 78 70 72 20 74 6f 20 | 50 5f 72 65 61 64 5b 6c |expr to |P_read[l|
|000047e0| 6e 5d 70 61 6f 63 20 63 | 61 6c 6c 73 2e 0a 20 20 |n]paoc c|alls.. |
|000047f0| 20 53 79 6d 70 74 6f 6d | 3a 20 44 61 6e 67 6c 69 | Symptom|: Dangli|
|00004800| 6e 67 20 70 6f 69 6e 74 | 65 72 20 70 72 6f 62 6c |ng point|er probl|
|00004810| 65 6d 73 20 67 65 6e 65 | 72 61 74 69 6e 67 20 63 |ems gene|rating c|
|00004820| 61 6c 6c 73 20 74 6f 20 | 50 5f 72 65 61 64 5b 6c |alls to |P_read[l|
|00004830| 6e 5d 70 61 6f 63 2e 0a | 0a 20 2a 20 42 75 67 20 |n]paoc..|. * Bug |
|00004840| 66 69 78 3a 20 69 6e 20 | 70 65 78 70 72 2e 63 3a |fix: in |pexpr.c:|
|00004850| 64 6f 74 73 5f 6e 5f 68 | 61 74 73 3a 54 4f 4b 5f |dots_n_h|ats:TOK_|
|00004860| 4c 42 52 20 63 61 73 65 | 3a 20 63 68 61 6e 67 65 |LBR case|: change|
|00004870| 64 20 74 6f 20 75 73 65 | 20 70 5f 6f 72 64 5f 65 |d to use| p_ord_e|
|00004880| 78 70 72 28 29 2e 0a 20 | 20 20 53 79 6d 70 74 6f |xpr().. | Sympto|
|00004890| 6d 3a 20 41 72 72 61 79 | 73 20 69 6e 64 65 78 65 |m: Array|s indexe|
|000048a0| 64 20 62 79 20 6c 69 74 | 65 72 61 6c 20 63 68 61 |d by lit|eral cha|
|000048b0| 72 61 63 74 65 72 73 20 | 75 73 65 64 20 22 41 22 |racters |used "A"|
|000048c0| 2c 20 6e 6f 74 20 27 41 | 27 2e 0a 0a 20 2a 20 42 |, not 'A|'... * B|
|000048d0| 75 67 20 66 69 78 3a 20 | 69 6e 20 70 65 78 70 72 |ug fix: |in pexpr|
|000048e0| 2e 63 3a 70 5f 73 65 74 | 66 61 63 74 6f 72 3a 20 |.c:p_set|factor: |
|000048f0| 61 64 64 65 64 20 74 77 | 6f 20 6d 61 6b 65 65 78 |added tw|o makeex|
|00004900| 70 72 5f 6c 6f 6e 67 63 | 61 73 74 20 63 61 6c 6c |pr_longc|ast call|
|00004910| 73 2e 0a 20 20 20 53 79 | 6d 70 74 6f 6d 3a 20 47 |s.. Sy|mptom: G|
|00004920| 65 6e 65 72 61 74 65 64 | 20 63 6f 64 65 20 75 73 |enerated| code us|
|00004930| 65 64 20 22 31 20 3c 3c | 20 78 22 20 69 6e 73 74 |ed "1 <<| x" inst|
|00004940| 65 61 64 20 6f 66 20 22 | 31 4c 20 3c 3c 20 78 22 |ead of "|1L << x"|
|00004950| 20 69 6e 20 61 20 66 65 | 77 20 70 6c 61 63 65 73 | in a fe|w places|
|00004960| 2e 0a 0a 20 2a 20 42 75 | 67 20 66 69 78 3a 20 69 |... * Bu|g fix: i|
|00004970| 6e 20 64 65 63 6c 2e 63 | 3a 73 65 74 75 70 5f 64 |n decl.c|:setup_d|
|00004980| 65 63 6c 3a 20 64 65 66 | 69 6e 65 64 20 53 57 4f |ecl: def|ined SWO|
|00004990| 52 44 20 65 71 75 69 76 | 61 6c 65 6e 74 20 74 6f |RD equiv|alent to|
|000049a0| 20 74 70 5f 73 73 68 6f | 72 74 2e 0a 20 20 20 53 | tp_ssho|rt.. S|
|000049b0| 79 6d 70 74 6f 6d 3a 20 | 53 69 67 6e 65 64 20 77 |ymptom: |Signed w|
|000049c0| 6f 72 64 73 20 77 65 72 | 65 20 74 72 61 6e 73 6c |ords wer|e transl|
|000049d0| 61 74 65 64 20 61 73 20 | 6c 6f 6e 67 73 20 75 6e |ated as |longs un|
|000049e0| 64 65 72 20 73 6f 6d 65 | 20 63 69 72 63 75 6d 73 |der some| circums|
|000049f0| 74 61 6e 63 65 73 2e 0a | 0a 20 2a 20 42 75 67 20 |tances..|. * Bug |
|00004a00| 66 69 78 3a 20 69 6e 20 | 70 61 72 73 65 2e 63 3a |fix: in |parse.c:|
|00004a10| 66 69 78 62 6c 6f 63 6b | 3a 20 22 69 66 22 20 72 |fixblock|: "if" r|
|00004a20| 65 61 72 72 61 6e 67 65 | 6d 65 6e 74 73 20 6e 6f |earrange|ments no|
|00004a30| 77 20 63 6c 65 61 72 20 | 69 66 2d 65 6c 73 65 20 |w clear |if-else |
|00004a40| 66 6c 61 67 73 2e 0a 20 | 20 20 53 79 6d 70 74 6f |flags.. | Sympto|
|00004a50| 6d 3a 20 45 6c 73 65 2d | 69 66 73 20 77 65 72 65 |m: Else-|ifs were|
|00004a60| 20 66 6f 72 6d 65 64 20 | 69 6e 20 69 6e 61 70 70 | formed |in inapp|
|00004a70| 72 6f 70 72 69 61 74 65 | 20 70 6c 61 63 65 73 2e |ropriate| places.|
|00004a80| 0a 0a 20 2a 20 42 75 67 | 20 66 69 78 3a 20 69 6e |.. * Bug| fix: in|
|00004a90| 20 70 61 72 73 65 2e 63 | 3a 66 69 78 62 6c 6f 63 | parse.c|:fixbloc|
|00004aa0| 6b 3a 20 22 63 6f 6e 74 | 69 6e 75 65 22 20 61 64 |k: "cont|inue" ad|
|00004ab0| 64 65 64 20 61 66 74 65 | 72 20 66 69 6e 61 6c 20 |ded afte|r final |
|00004ac0| 65 61 74 73 74 6d 74 20 | 63 61 6c 6c 2e 0a 20 20 |eatstmt |call.. |
|00004ad0| 20 53 79 6d 70 74 6f 6d | 3a 20 52 65 66 65 72 65 | Symptom|: Refere|
|00004ae0| 6e 63 65 20 74 6f 20 61 | 6e 20 61 6c 72 65 61 64 |nce to a|n alread|
|00004af0| 79 2d 66 72 65 65 64 20 | 70 6f 69 6e 74 65 72 2e |y-freed |pointer.|
|00004b00| 0a 0a 20 2a 20 41 64 64 | 65 64 20 74 6f 20 73 79 |.. * Add|ed to sy|
|00004b10| 73 2e 70 32 63 72 63 2f | 74 72 61 6e 73 2e 68 20 |s.p2crc/|trans.h |
|00004b20| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 63 6f |the foll|owing co|
|00004b30| 6e 66 69 67 75 72 61 74 | 69 6f 6e 20 70 61 72 61 |nfigurat|ion para|
|00004b40| 6d 65 74 65 72 73 3a 0a | 0a 20 20 20 20 4d 6f 64 |meters:.|. Mod|
|00004b50| 75 6c 65 46 6f 72 6d 61 | 74 20 20 20 20 41 6e 61 |uleForma|t Ana|
|00004b60| 6c 6f 67 6f 75 73 20 74 | 6f 20 43 6f 6e 73 74 46 |logous t|o ConstF|
|00004b70| 6f 72 6d 61 74 20 62 75 | 74 20 66 6f 72 20 6d 6f |ormat bu|t for mo|
|00004b80| 64 75 6c 65 20 6e 61 6d | 65 73 2e 0a 20 20 20 20 |dule nam|es.. |
|00004b90| 46 75 6e 63 74 69 6f 6e | 46 6f 72 6d 61 74 20 20 |Function|Format |
|00004ba0| 41 6e 61 6c 6f 67 6f 75 | 73 20 74 6f 20 43 6f 6e |Analogou|s to Con|
|00004bb0| 73 74 46 6f 72 6d 61 74 | 20 62 75 74 20 66 6f 72 |stFormat| but for|
|00004bc0| 20 66 75 6e 63 74 69 6f | 6e 20 6e 61 6d 65 73 2e | functio|n names.|
|00004bd0| 0a 20 20 20 20 56 61 72 | 46 6f 72 6d 61 74 20 20 |. Var|Format |
|00004be0| 20 20 20 20 20 41 6e 61 | 6c 6f 67 6f 75 73 20 74 | Ana|logous t|
|00004bf0| 6f 20 43 6f 6e 73 74 46 | 6f 72 6d 61 74 20 62 75 |o ConstF|ormat bu|
|00004c00| 74 20 66 6f 72 20 76 61 | 72 69 61 62 6c 65 20 6e |t for va|riable n|
|00004c10| 61 6d 65 73 2e 0a 20 20 | 20 20 46 69 65 6c 64 46 |ames.. | FieldF|
|00004c20| 6f 72 6d 61 74 20 20 20 | 20 20 41 6e 61 6c 6f 67 |ormat | Analog|
|00004c30| 6f 75 73 20 74 6f 20 43 | 6f 6e 73 74 46 6f 72 6d |ous to C|onstForm|
|00004c40| 61 74 20 62 75 74 20 66 | 6f 72 20 72 65 63 6f 72 |at but f|or recor|
|00004c50| 64 20 66 69 65 6c 64 20 | 6e 61 6d 65 73 2e 0a 20 |d field |names.. |
|00004c60| 20 20 20 54 79 70 65 46 | 6f 72 6d 61 74 20 20 20 | TypeF|ormat |
|00004c70| 20 20 20 41 6e 61 6c 6f | 67 6f 75 73 20 74 6f 20 | Analo|gous to |
|00004c80| 43 6f 6e 73 74 46 6f 72 | 6d 61 74 20 62 75 74 20 |ConstFor|mat but |
|00004c90| 66 6f 72 20 74 79 70 65 | 20 6e 61 6d 65 73 2e 0a |for type| names..|
|00004ca0| 20 20 20 20 45 6e 75 6d | 46 6f 72 6d 61 74 20 20 | Enum|Format |
|00004cb0| 20 20 20 20 41 6e 61 6c | 6f 67 6f 75 73 20 74 6f | Anal|ogous to|
|00004cc0| 20 43 6f 6e 73 74 46 6f | 72 6d 61 74 2c 20 66 6f | ConstFo|rmat, fo|
|00004cd0| 72 20 65 6e 75 6d 65 72 | 61 74 69 6f 6e 20 63 6f |r enumer|ation co|
|00004ce0| 6e 73 74 61 6e 74 20 6e | 61 6d 65 73 2e 0a 20 20 |nstant n|ames.. |
|00004cf0| 20 20 49 6e 63 6c 75 64 | 65 46 69 6c 65 4e 61 6d | Includ|eFileNam|
|00004d00| 65 20 46 6f 72 6d 61 74 | 20 66 6f 72 20 69 6e 63 |e Format| for inc|
|00004d10| 6c 75 64 65 20 66 69 6c | 65 20 6e 61 6d 65 73 2e |lude fil|e names.|
|00004d20| 0a 20 20 20 20 46 69 6c | 65 4e 61 6d 65 46 69 6c |. Fil|eNameFil|
|00004d30| 74 65 72 20 20 46 75 6e | 63 74 69 6f 6e 20 74 6f |ter Fun|ction to|
|00004d40| 20 63 61 6c 6c 20 74 6f | 20 22 63 6c 65 61 6e 22 | call to| "clean"|
|00004d50| 20 66 69 6c 65 20 6e 61 | 6d 65 73 20 66 6f 72 20 | file na|mes for |
|00004d60| 75 73 65 20 62 79 20 66 | 6f 70 65 6e 2e 0a 20 20 |use by f|open.. |
|00004d70| 20 20 4d 61 78 45 72 72 | 6f 72 73 09 20 20 20 20 | MaxErr|ors. |
|00004d80| 4e 75 6d 62 65 72 20 6f | 66 20 65 72 72 6f 72 73 |Number o|f errors|
|00004d90| 2f 77 61 72 6e 69 6e 67 | 73 2f 6e 6f 74 65 73 20 |/warning|s/notes |
|00004da0| 70 72 69 6e 74 65 64 20 | 62 65 66 6f 72 65 20 61 |printed |before a|
|00004db0| 62 6f 72 74 69 6e 67 2e | 0a 20 20 20 20 44 65 63 |borting.|. Dec|
|00004dc0| 6c 42 75 66 4e 43 4e 61 | 6d 65 20 20 20 56 65 72 |lBufNCNa|me Ver|
|00004dd0| 73 69 6f 6e 20 6f 66 20 | 44 65 63 6c 42 75 66 4e |sion of |DeclBufN|
|00004de0| 61 6d 65 20 77 69 74 68 | 20 6e 6f 20 22 73 74 6f |ame with| no "sto|
|00004df0| 72 61 67 65 20 63 6c 61 | 73 73 22 20 61 72 67 2e |rage cla|ss" arg.|
|00004e00| 0a 0c 0a 56 65 72 73 69 | 6f 6e 20 31 2e 30 37 3a |...Versi|on 1.07:|
|00004e10| 0a 0a 20 2a 20 41 64 64 | 65 64 20 22 49 6e 74 65 |.. * Add|ed "Inte|
|00004e20| 67 65 72 31 36 3d 32 22 | 20 6d 6f 64 65 20 74 6f |ger16=2"| mode to|
|00004e30| 20 74 72 61 6e 73 6c 61 | 74 65 20 50 61 73 63 61 | transla|te Pasca|
|00004e40| 6c 20 22 69 6e 74 65 67 | 65 72 22 20 61 73 20 43 |l "integ|er" as C|
|00004e50| 20 22 69 6e 74 22 2e 0a | 0a 20 2a 20 41 64 64 65 | "int"..|. * Adde|
|00004e60| 64 20 61 20 77 61 72 6e | 69 6e 67 20 77 68 65 6e |d a warn|ing when|
|00004e70| 20 22 25 22 20 69 73 20 | 75 73 65 64 20 66 6f 72 | "%" is |used for|
|00004e80| 20 4d 4f 44 20 6f 66 20 | 61 72 67 75 6d 65 6e 74 | MOD of |argument|
|00004e90| 73 20 74 68 61 74 20 6d | 61 79 20 62 65 20 6e 65 |s that m|ay be ne|
|00004ea0| 67 61 74 69 76 65 2e 0a | 0a 20 2a 20 4d 61 64 65 |gative..|. * Made|
|00004eb0| 20 66 6f 72 6d 61 74 74 | 65 64 20 6f 75 74 70 75 | formatt|ed outpu|
|00004ec0| 74 20 6f 66 20 62 6f 6f | 6c 65 61 6e 73 20 61 6e |t of boo|leans an|
|00004ed0| 64 20 72 65 61 6c 73 20 | 63 6c 6f 73 65 72 20 74 |d reals |closer t|
|00004ee0| 6f 20 50 61 73 63 61 6c | 20 73 74 61 6e 64 61 72 |o Pascal| standar|
|00004ef0| 64 73 2e 0a 0a 20 2a 20 | 4e 6f 77 20 70 72 69 6e |ds... * |Now prin|
|00004f00| 74 20 77 61 72 6e 69 6e | 67 20 77 68 65 6e 20 74 |t warnin|g when t|
|00004f10| 72 79 69 6e 67 20 74 6f | 20 75 73 65 20 61 73 73 |rying to| use ass|
|00004f20| 6f 63 69 61 74 65 64 20 | 62 75 66 66 65 72 73 20 |ociated |buffers |
|00004f30| 6f 66 20 66 69 6c 65 20 | 70 61 72 61 6d 73 2e 0a |of file |params..|
|00004f40| 0a 20 2a 20 41 64 64 65 | 64 20 73 75 70 70 6f 72 |. * Adde|d suppor|
|00004f50| 74 20 66 6f 72 20 62 75 | 66 66 65 72 65 64 20 22 |t for bu|ffered "|
|00004f60| 66 69 6c 65 20 6f 66 20 | 61 72 72 61 79 22 20 74 |file of |array" t|
|00004f70| 79 70 65 73 2e 0a 0a 20 | 2a 20 50 72 65 76 65 6e |ypes... |* Preven|
|00004f80| 74 65 64 20 77 61 72 6e | 69 6e 67 20 6d 65 73 73 |ted warn|ing mess|
|00004f90| 61 67 65 20 77 68 65 6e | 20 6d 61 69 6e 20 70 72 |age when| main pr|
|00004fa0| 6f 67 72 61 6d 20 65 6e | 64 73 20 77 69 74 68 20 |ogram en|ds with |
|00004fb0| 22 3b 22 20 69 6e 73 74 | 65 61 64 20 6f 66 20 22 |";" inst|ead of "|
|00004fc0| 2e 22 2e 0a 0a 20 2a 20 | 43 68 61 6e 67 65 64 20 |."... * |Changed |
|00004fd0| 74 6f 20 69 67 6e 6f 72 | 65 20 52 45 53 45 54 20 |to ignor|e RESET |
|00004fe0| 61 6e 64 20 52 45 57 52 | 49 54 45 20 6f 6e 20 73 |and REWR|ITE on s|
|00004ff0| 74 61 6e 64 61 72 64 20 | 66 69 6c 65 20 4f 55 54 |tandard |file OUT|
|00005000| 50 55 54 2e 0a 0a 20 2a | 20 42 75 67 20 66 69 78 |PUT... *| Bug fix|
|00005010| 3a 20 69 6e 20 64 65 63 | 6c 2e 63 3a 70 5f 63 6f |: in dec|l.c:p_co|
|00005020| 6e 73 74 64 65 63 6c 3a | 20 41 64 64 65 64 20 6d |nstdecl:| Added m|
|00005030| 70 2d 3e 69 73 61 63 74 | 69 76 65 3d 30 20 2f 20 |p->isact|ive=0 / |
|00005040| 2e 2e 2e 20 2f 20 6d 70 | 2d 3e 69 73 61 63 74 69 |... / mp|->isacti|
|00005050| 76 65 3d 31 2e 0a 20 20 | 20 53 79 6d 70 74 6f 6d |ve=1.. | Symptom|
|00005060| 3a 20 22 63 6f 6e 73 74 | 20 74 65 6e 3d 31 30 3b |: "const| ten=10;|
|00005070| 20 70 72 6f 63 65 64 75 | 72 65 20 70 3b 20 63 6f | procedu|re p; co|
|00005080| 6e 73 74 20 74 65 6e 3d | 74 65 6e 3b 22 20 66 61 |nst ten=|ten;" fa|
|00005090| 69 6c 65 64 2e 0a 0a 20 | 2a 20 42 75 67 20 66 69 |iled... |* Bug fi|
|000050a0| 78 3a 20 69 6e 20 70 65 | 78 70 72 2e 63 3a 70 5f |x: in pe|xpr.c:p_|
|000050b0| 66 61 63 74 6f 72 3a 4d | 4b 5f 53 50 45 43 49 41 |factor:M|K_SPECIA|
|000050c0| 4c 20 63 61 73 65 3a 20 | 43 68 65 63 6b 65 64 20 |L case: |Checked |
|000050d0| 6d 70 2d 3e 69 73 66 75 | 6e 63 74 69 6f 6e 2e 0a |mp->isfu|nction..|
|000050e0| 20 20 20 53 79 6d 70 74 | 6f 6d 3a 20 50 61 73 73 | Sympt|om: Pass|
|000050f0| 69 6e 67 20 61 20 62 75 | 69 6c 74 2d 69 6e 20 6c |ing a bu|ilt-in l|
|00005100| 69 6b 65 20 50 41 47 45 | 20 61 73 20 61 20 70 72 |ike PAGE| as a pr|
|00005110| 6f 63 65 64 75 72 65 20 | 70 61 72 61 6d 65 74 65 |ocedure |paramete|
|00005120| 72 20 66 61 69 6c 65 64 | 2e 0a 0a 20 2a 20 42 75 |r failed|... * Bu|
|00005130| 67 20 66 69 78 3a 20 69 | 6e 20 70 65 78 70 72 2e |g fix: i|n pexpr.|
|00005140| 63 3a 70 5f 73 65 74 66 | 61 63 74 6f 72 3a 20 4d |c:p_setf|actor: M|
|00005150| 6f 76 65 64 20 22 76 61 | 6c 2e 69 7c 3d 31 3c 3c |oved "va|l.i|=1<<|
|00005160| 66 69 72 73 74 5b 69 5d | 2d 3e 76 61 6c 2e 69 22 |first[i]|->val.i"|
|00005170| 20 74 6f 20 45 4c 53 45 | 2e 0a 20 20 20 53 79 6d | to ELSE|.. Sym|
|00005180| 70 74 6f 6d 3a 20 54 68 | 65 20 73 65 74 20 63 6f |ptom: Th|e set co|
|00005190| 6e 73 74 61 6e 74 20 5b | 33 2e 2e 30 5d 20 67 65 |nstant [|3..0] ge|
|000051a0| 6e 65 72 61 74 65 64 20 | 30 78 38 2c 20 6e 6f 74 |nerated |0x8, not|
|000051b0| 20 30 2e 0a 0a 20 2a 20 | 42 75 67 20 66 69 78 3a | 0... * |Bug fix:|
|000051c0| 20 69 6e 20 70 32 63 6c | 69 62 2e 63 3a 50 5f 61 | in p2cl|ib.c:P_a|
|000051d0| 64 64 73 65 74 72 3a 20 | 41 64 64 65 64 20 22 76 |ddsetr: |Added "v|
|000051e0| 31 20 3e 20 76 32 22 20 | 74 65 73 74 2e 0a 20 20 |1 > v2" |test.. |
|000051f0| 20 53 79 6d 70 74 6f 6d | 3a 20 54 68 65 20 73 65 | Symptom|: The se|
|00005200| 74 20 63 6f 6e 73 74 72 | 75 63 74 6f 72 20 5b 69 |t constr|uctor [i|
|00005210| 2e 2e 6a 5d 20 64 69 64 | 20 6e 6f 74 20 67 65 6e |..j] did| not gen|
|00005220| 65 72 61 74 65 20 5b 5d | 20 77 68 65 6e 20 69 20 |erate []| when i |
|00005230| 3e 20 6a 2e 0a 0a 20 2a | 20 42 75 67 20 66 69 78 |> j... *| Bug fix|
|00005240| 3a 20 69 6e 20 70 32 63 | 6c 69 62 2e 63 3a 50 5f |: in p2c|lib.c:P_|
|00005250| 70 65 65 6b 3a 20 52 65 | 74 75 72 6e 20 27 20 27 |peek: Re|turn ' '|
|00005260| 20 69 66 20 63 68 61 72 | 61 63 74 65 72 20 77 61 | if char|acter wa|
|00005270| 73 20 5c 6e 2e 0a 20 20 | 20 53 79 6d 70 74 6f 6d |s \n.. | Symptom|
|00005280| 3a 20 4c 69 6e 65 20 62 | 72 65 61 6b 73 20 77 65 |: Line b|reaks we|
|00005290| 72 65 20 73 6f 6d 65 74 | 69 6d 65 73 20 6e 6f 74 |re somet|imes not|
|000052a0| 20 63 6f 6e 76 65 72 74 | 65 64 20 74 6f 20 73 70 | convert|ed to sp|
|000052b0| 61 63 65 20 6f 6e 20 69 | 6e 70 75 74 2e 0a 0a 20 |ace on i|nput... |
|000052c0| 2a 20 42 75 67 20 66 69 | 78 3a 20 69 6e 20 70 32 |* Bug fi|x: in p2|
|000052d0| 63 2e 68 3a 20 41 64 64 | 65 64 20 22 23 64 65 66 |c.h: Add|ed "#def|
|000052e0| 69 6e 65 20 43 50 55 54 | 46 42 55 46 28 66 2c 76 |ine CPUT|FBUF(f,v|
|000052f0| 29 20 28 50 55 54 46 42 | 55 46 28 66 2c 63 68 61 |) (PUTFB|UF(f,cha|
|00005300| 72 2c 76 29 29 22 2e 0a | 20 20 20 53 79 6d 70 74 |r,v))"..| Sympt|
|00005310| 6f 6d 3a 20 43 61 6c 6c | 73 20 74 6f 20 74 68 69 |om: Call|s to thi|
|00005320| 73 20 75 6e 64 65 66 69 | 6e 65 64 20 72 6f 75 74 |s undefi|ned rout|
|00005330| 69 6e 65 20 77 65 72 65 | 20 70 72 6f 64 75 63 65 |ine were| produce|
|00005340| 64 2e 0a 0a 20 2a 20 42 | 75 67 20 66 69 78 3a 20 |d... * B|ug fix: |
|00005350| 69 6e 20 70 61 72 73 65 | 2e 63 3a 70 5f 73 74 6d |in parse|.c:p_stm|
|00005360| 74 3a 54 4f 4b 5f 46 4f | 52 20 63 6c 61 75 73 65 |t:TOK_FO|R clause|
|00005370| 3a 20 41 64 64 65 64 20 | 63 68 65 63 6b 73 20 66 |: Added |checks f|
|00005380| 6f 72 20 6c 69 6d 69 74 | 3d 4d 41 58 49 4e 54 2e |or limit|=MAXINT.|
|00005390| 0a 20 20 20 53 79 6d 70 | 74 6f 6d 3a 20 22 66 6f |. Symp|tom: "fo|
|000053a0| 72 20 69 20 3a 3d 20 6a | 20 74 6f 20 6d 61 78 69 |r i := j| to maxi|
|000053b0| 6e 74 22 20 67 65 6e 65 | 72 61 74 65 64 20 61 6e |nt" gene|rated an|
|000053c0| 20 69 6e 66 69 6e 69 74 | 65 20 6c 6f 6f 70 2e 0a | infinit|e loop..|
|000053d0| 0a 20 2a 20 42 75 67 20 | 66 69 78 3a 20 69 6e 20 |. * Bug |fix: in |
|000053e0| 64 65 63 6c 2e 63 3a 6f | 75 74 66 69 65 6c 64 6c |decl.c:o|utfieldl|
|000053f0| 69 73 74 3a 20 41 64 64 | 65 64 20 63 68 65 63 6b |ist: Add|ed check|
|00005400| 69 6e 67 20 66 6f 72 20 | 65 6d 70 74 79 20 75 6e |ing for |empty un|
|00005410| 69 6f 6e 73 2e 0a 20 20 | 20 53 79 6d 70 74 6f 6d |ions.. | Symptom|
|00005420| 3a 20 22 72 65 63 6f 72 | 64 20 63 61 73 65 20 69 |: "recor|d case i|
|00005430| 6e 74 65 67 65 72 20 6f | 66 20 31 3a 20 28 29 20 |nteger o|f 1: () |
|00005440| 65 6e 64 22 20 70 72 6f | 64 75 63 65 64 20 61 6e |end" pro|duced an|
|00005450| 20 65 6d 70 74 79 20 43 | 20 75 6e 69 6f 6e 2e 0a | empty C| union..|
|00005460| 0a 20 2a 20 41 64 64 65 | 64 20 74 6f 20 73 79 73 |. * Adde|d to sys|
|00005470| 2e 70 32 63 72 63 2f 74 | 72 61 6e 73 2e 68 20 74 |.p2crc/t|rans.h t|
|00005480| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 63 6f 6e |he follo|wing con|
|00005490| 66 69 67 75 72 61 74 69 | 6f 6e 20 70 61 72 61 6d |figurati|on param|
|000054a0| 65 74 65 72 73 3a 0a 0a | 20 20 20 20 41 72 72 61 |eters:..| Arra|
|000054b0| 79 47 65 74 4e 61 6d 65 | 20 20 20 20 20 20 41 6e |yGetName| An|
|000054c0| 61 6c 6f 67 6f 75 73 20 | 74 6f 20 47 65 74 4e 61 |alogous |to GetNa|
|000054d0| 6d 65 20 66 6f 72 20 22 | 66 69 6c 65 20 6f 66 20 |me for "|file of |
|000054e0| 61 72 72 61 79 22 20 74 | 79 70 65 73 2e 0a 20 20 |array" t|ypes.. |
|000054f0| 20 20 41 72 72 61 79 47 | 65 74 46 42 75 66 4e 61 | ArrayG|etFBufNa|
|00005500| 6d 65 20 20 41 6e 61 6c | 6f 67 6f 75 73 20 74 6f |me Anal|ogous to|
|00005510| 20 47 65 74 46 42 75 66 | 4e 61 6d 65 20 66 6f 72 | GetFBuf|Name for|
|00005520| 20 22 66 69 6c 65 20 6f | 66 20 61 72 72 61 79 22 | "file o|f array"|
|00005530| 20 74 79 70 65 73 2e 0a | 20 20 20 20 41 72 72 61 | types..| Arra|
|00005540| 79 50 75 74 4e 61 6d 65 | 20 20 20 20 20 20 41 6e |yPutName| An|
|00005550| 61 6c 6f 67 6f 75 73 20 | 74 6f 20 50 75 74 4e 61 |alogous |to PutNa|
|00005560| 6d 65 20 66 6f 72 20 22 | 66 69 6c 65 20 6f 66 20 |me for "|file of |
|00005570| 61 72 72 61 79 22 20 74 | 79 70 65 73 2e 0a 20 20 |array" t|ypes.. |
|00005580| 20 20 41 72 72 61 79 50 | 75 74 46 42 75 66 4e 61 | ArrayP|utFBufNa|
|00005590| 6d 65 20 20 41 6e 61 6c | 6f 67 6f 75 73 20 74 6f |me Anal|ogous to|
|000055a0| 20 50 75 74 46 42 75 66 | 4e 61 6d 65 20 66 6f 72 | PutFBuf|Name for|
|000055b0| 20 22 66 69 6c 65 20 6f | 66 20 61 72 72 61 79 22 | "file o|f array"|
|000055c0| 20 74 79 70 65 73 2e 0a | 0c 0a 56 65 72 73 69 6f | types..|..Versio|
|000055d0| 6e 20 31 2e 30 36 3a 0a | 0a 20 2a 20 43 68 61 6e |n 1.06:.|. * Chan|
|000055e0| 67 65 64 20 4d 61 6b 65 | 66 69 6c 65 20 74 6f 20 |ged Make|file to |
|000055f0| 6c 6f 6f 6b 20 66 6f 72 | 20 72 61 6e 6c 69 62 20 |look for| ranlib |
|00005600| 69 6e 20 2f 62 69 6e 2c | 20 74 6f 6f 2e 0a 0a 20 |in /bin,| too... |
|00005610| 2a 20 41 64 64 65 64 20 | 61 62 69 6c 69 74 79 20 |* Added |ability |
|00005620| 74 6f 20 63 61 6c 6c 20 | 64 69 73 70 6f 73 65 20 |to call |dispose |
|00005630| 6f 6e 20 61 20 6e 6f 6e | 2d 6c 76 61 6c 75 65 3a |on a non|-lvalue:|
|00005640| 20 63 6c 65 61 72 69 6e | 67 20 74 6f 20 4e 49 4c | clearin|g to NIL|
|00005650| 20 69 73 20 6f 6d 69 74 | 74 65 64 2e 0a 0a 20 2a | is omit|ted... *|
|00005660| 20 41 64 64 65 64 20 46 | 6f 72 45 76 61 6c 4f 72 | Added F|orEvalOr|
|00005670| 64 65 72 20 6f 70 74 69 | 6f 6e 3a 20 22 69 6e 20 |der opti|on: "in |
|00005680| 66 6f 72 20 78 20 3a 3d | 20 79 20 74 6f 20 7a 2c |for x :=| y to z,|
|00005690| 20 79 20 69 73 20 65 76 | 61 6c 75 61 74 65 64 20 | y is ev|aluated |
|000056a0| 62 65 66 6f 72 65 20 7a | 22 2e 0a 0a 20 2a 20 41 |before z|"... * A|
|000056b0| 64 64 65 64 20 6d 6f 72 | 65 20 65 6e 74 72 69 65 |dded mor|e entrie|
|000056c0| 73 20 69 6e 20 74 68 65 | 20 41 76 6f 69 64 4e 61 |s in the| AvoidNa|
|000056d0| 6d 65 20 61 6e 64 20 41 | 76 6f 69 64 47 6c 6f 62 |me and A|voidGlob|
|000056e0| 61 6c 4e 61 6d 65 20 6c | 69 73 74 73 2e 0a 0a 20 |alName l|ists... |
|000056f0| 2a 20 41 64 64 65 64 20 | 63 68 65 63 6b 73 20 66 |* Added |checks f|
|00005700| 6f 72 20 22 5f 5f 75 6e | 69 78 22 20 63 70 70 20 |or "__un|ix" cpp |
|00005710| 73 79 6d 62 6f 6c 20 73 | 79 6e 6f 6e 79 6d 6f 75 |symbol s|ynonymou|
|00005720| 73 20 77 69 74 68 20 22 | 75 6e 69 78 22 2e 0a 0a |s with "|unix"...|
|00005730| 20 2a 20 49 6d 70 72 6f | 76 65 64 20 68 65 75 72 | * Impro|ved heur|
|00005740| 69 73 74 69 63 20 69 6e | 20 61 72 72 61 79 73 69 |istic in| arraysi|
|00005750| 7a 65 28 29 20 77 68 69 | 63 68 20 72 65 74 75 72 |ze() whi|ch retur|
|00005760| 6e 73 20 4e 55 4c 4c 20 | 66 6f 72 20 22 68 75 67 |ns NULL |for "hug|
|00005770| 65 22 20 61 72 72 61 79 | 73 2e 0a 0a 20 2a 20 41 |e" array|s... * A|
|00005780| 64 64 65 64 20 73 75 70 | 70 6f 72 74 20 66 6f 72 |dded sup|port for|
|00005790| 20 22 72 65 77 72 69 74 | 65 28 66 29 22 20 63 72 | "rewrit|e(f)" cr|
|000057a0| 65 61 74 69 6e 67 20 61 | 6e 20 75 6e 6e 61 6d 65 |eating a|n unname|
|000057b0| 64 20 74 65 6d 70 6f 72 | 61 72 79 20 66 69 6c 65 |d tempor|ary file|
|000057c0| 2e 0a 0a 20 2a 20 41 64 | 64 65 64 20 64 65 66 69 |... * Ad|ded defi|
|000057d0| 6e 69 74 69 6f 6e 20 6f | 66 20 22 74 6d 70 66 69 |nition o|f "tmpfi|
|000057e0| 6c 65 22 20 69 6e 20 70 | 32 63 2e 68 20 66 6f 72 |le" in p|2c.h for|
|000057f0| 20 73 79 73 74 65 6d 73 | 20 74 68 61 74 20 64 6f | systems| that do|
|00005800| 6e 27 74 20 68 61 76 65 | 20 69 74 2e 0a 0a 20 2a |n't have| it... *|
|00005810| 20 42 75 67 20 66 69 78 | 20 69 6e 20 70 61 72 73 | Bug fix| in pars|
|00005820| 65 2e 63 3a 75 73 65 62 | 72 61 63 65 73 3a 20 41 |e.c:useb|races: A|
|00005830| 64 64 65 64 20 22 73 70 | 20 21 3d 20 4e 55 4c 4c |dded "sp| != NULL|
|00005840| 20 26 26 22 20 62 65 66 | 6f 72 65 20 66 69 6e 64 | &&" bef|ore find|
|00005850| 63 6f 6d 6d 65 6e 74 2e | 0a 20 20 20 53 79 6d 70 |comment.|. Symp|
|00005860| 74 6f 6d 3a 20 53 65 67 | 6d 65 6e 74 61 74 69 6f |tom: Seg|mentatio|
|00005870| 6e 20 66 61 75 6c 74 2e | 0a 0a 20 2a 20 42 75 67 |n fault.|.. * Bug|
|00005880| 20 66 69 78 20 69 6e 20 | 70 65 78 70 72 2e 63 3a | fix in |pexpr.c:|
|00005890| 64 6f 74 73 5f 6e 5f 68 | 61 74 73 3a 20 41 64 64 |dots_n_h|ats: Add|
|000058a0| 65 64 20 22 74 70 2d 3e | 62 61 73 65 74 79 70 65 |ed "tp->|basetype|
|000058b0| 2d 3e 66 62 61 73 65 20 | 26 26 22 2e 0a 20 20 20 |->fbase |&&".. |
|000058c0| 53 79 6d 70 74 6f 6d 3a | 20 53 65 67 6d 65 6e 74 |Symptom:| Segment|
|000058d0| 61 74 69 6f 6e 20 66 61 | 75 6c 74 2e 0a 0a 20 2a |ation fa|ult... *|
|000058e0| 20 42 75 67 20 66 69 78 | 20 69 6e 20 70 61 72 73 | Bug fix| in pars|
|000058f0| 65 2e 63 3a 70 5f 73 74 | 6d 74 3a 54 4f 4b 5f 43 |e.c:p_st|mt:TOK_C|
|00005900| 41 53 45 20 63 6c 61 75 | 73 65 3a 20 43 68 61 6e |ASE clau|se: Chan|
|00005910| 67 65 64 20 74 6f 20 75 | 73 65 20 70 5f 6f 72 64 |ged to u|se p_ord|
|00005920| 5f 65 78 70 72 28 29 2e | 0a 20 20 20 53 79 6d 70 |_expr().|. Symp|
|00005930| 74 6f 6d 3a 20 63 61 73 | 65 20 27 41 27 20 6f 66 |tom: cas|e 'A' of|
|00005940| 20 2e 2e 2e 20 74 72 61 | 6e 73 6c 61 74 65 64 20 | ... tra|nslated |
|00005950| 74 6f 20 73 77 69 74 63 | 68 28 22 41 22 29 2c 20 |to switc|h("A"), |
|00005960| 6e 6f 74 20 73 77 69 74 | 63 68 28 27 41 27 29 2e |not swit|ch('A').|
|00005970| 0a 0a 20 2a 20 42 75 67 | 20 66 69 78 20 69 6e 20 |.. * Bug| fix in |
|00005980| 70 61 72 73 65 2e 63 3a | 70 5f 73 74 6d 74 3a 54 |parse.c:|p_stmt:T|
|00005990| 4f 4b 5f 46 4f 52 20 63 | 6c 61 75 73 65 3a 20 41 |OK_FOR c|lause: A|
|000059a0| 64 64 65 64 20 74 70 5f | 62 6f 6f 6c 65 61 6e 20 |dded tp_|boolean |
|000059b0| 74 6f 20 22 73 6d 61 6c | 6c 22 20 74 79 70 65 73 |to "smal|l" types|
|000059c0| 0a 20 20 20 53 79 6d 70 | 74 6f 6d 3a 20 66 6f 72 |. Symp|tom: for|
|000059d0| 20 62 20 3a 3d 20 74 72 | 75 65 20 64 6f 77 6e 74 | b := tr|ue downt|
|000059e0| 6f 20 66 61 6c 73 65 20 | 68 61 64 20 75 6e 73 69 |o false |had unsi|
|000059f0| 67 6e 65 64 2d 77 72 61 | 70 61 72 6f 75 6e 64 20 |gned-wra|paround |
|00005a00| 70 72 6f 62 6c 65 6d 73 | 2e 0a 0a 20 2a 20 42 75 |problems|... * Bu|
|00005a10| 67 20 66 69 78 20 69 6e | 20 64 65 63 6c 2e 63 3a |g fix in| decl.c:|
|00005a20| 6f 75 74 62 61 73 65 74 | 79 70 65 3a 54 4b 5f 45 |outbaset|ype:TK_E|
|00005a30| 4e 55 4d 20 63 6c 61 75 | 73 65 3a 20 41 64 64 65 |NUM clau|se: Adde|
|00005a40| 64 20 74 65 73 74 20 66 | 6f 72 20 6d 70 20 3d 3d |d test f|or mp ==|
|00005a50| 20 4e 55 4c 4c 2e 0a 20 | 20 20 53 79 6d 70 74 6f | NULL.. | Sympto|
|00005a60| 6d 3a 20 53 65 67 6d 65 | 6e 74 61 74 69 6f 6e 20 |m: Segme|ntation |
|00005a70| 66 61 75 6c 74 20 69 66 | 20 6e 75 6c 6c 20 65 6e |fault if| null en|
|00005a80| 75 6d 20 6c 69 73 74 2e | 0a 0a 20 2a 20 42 75 67 |um list.|.. * Bug|
|00005a90| 20 66 69 78 20 69 6e 20 | 65 78 70 72 2e 63 3a 6d | fix in |expr.c:m|
|00005aa0| 61 6b 65 65 78 70 72 5f | 70 6c 75 73 3a 20 61 2d |akeexpr_|plus: a-|
|00005ab0| 3e 6e 61 72 67 73 20 3c | 20 31 3a 20 75 73 65 64 |>nargs <| 1: used|
|00005ac0| 20 67 65 6e 74 6c 65 5f | 63 61 73 74 20 6f 6e 20 | gentle_|cast on |
|00005ad0| 7a 65 72 6f 2e 0a 20 20 | 20 53 79 6d 70 74 6f 6d |zero.. | Symptom|
|00005ae0| 3a 20 66 28 61 2d 61 29 | 20 3d 3e 20 22 66 28 29 |: f(a-a)| => "f()|
|00005af0| 22 3b 20 61 72 67 75 6d | 65 6e 74 20 77 61 73 20 |"; argum|ent was |
|00005b00| 63 6f 6e 76 65 72 74 65 | 64 20 74 6f 20 72 65 61 |converte|d to rea|
|00005b10| 6c 20 63 6f 6e 73 74 20 | 77 2f 6e 75 6c 6c 20 76 |l const |w/null v|
|00005b20| 61 6c 75 65 2e 0a 0a 20 | 2a 20 42 75 67 20 66 69 |alue... |* Bug fi|
|00005b30| 78 20 69 6e 20 65 78 70 | 72 2e 63 3a 6d 61 6b 65 |x in exp|r.c:make|
|00005b40| 65 78 70 72 5f 70 6c 75 | 73 3a 20 63 68 65 63 6b |expr_plu|s: check|
|00005b50| 65 64 20 61 2d 3e 61 72 | 67 73 5b 6a 5d 20 66 6f |ed a->ar|gs[j] fo|
|00005b60| 72 20 54 4b 5f 52 45 41 | 4c 2f 53 54 52 49 4e 47 |r TK_REA|L/STRING|
|00005b70| 2c 20 74 6f 6f 2e 0a 20 | 20 20 53 79 6d 70 74 6f |, too.. | Sympto|
|00005b80| 6d 3a 20 31 2b 32 2e 30 | 20 77 61 73 20 69 6e 63 |m: 1+2.0| was inc|
|00005b90| 6f 72 72 65 63 74 6c 79 | 20 63 6f 6e 73 74 61 6e |orrectly| constan|
|00005ba0| 74 2d 66 6f 6c 64 65 64 | 2c 20 74 68 6f 75 67 68 |t-folded|, though|
|00005bb0| 20 31 2e 30 2b 32 20 77 | 61 73 20 63 6f 72 72 65 | 1.0+2 w|as corre|
|00005bc0| 63 74 2e 0a 0a 20 2a 20 | 42 75 67 20 66 69 78 20 |ct... * |Bug fix |
|00005bd0| 69 6e 20 70 32 63 2e 68 | 3a 20 72 65 6d 6f 76 65 |in p2c.h|: remove|
|00005be0| 64 20 74 72 61 69 6c 69 | 6e 67 20 73 65 6d 69 63 |d traili|ng semic|
|00005bf0| 6f 6c 6f 6e 20 66 72 6f | 6d 20 46 49 4c 45 42 55 |olon fro|m FILEBU|
|00005c00| 46 20 64 65 66 69 6e 69 | 74 69 6f 6e 2e 0a 0a 20 |F defini|tion... |
|00005c10| 2a 20 42 75 67 20 66 69 | 78 20 69 6e 20 64 65 63 |* Bug fi|x in dec|
|00005c20| 6c 2e 63 3a 70 5f 74 79 | 70 65 3a 20 61 64 64 65 |l.c:p_ty|pe: adde|
|00005c30| 64 20 61 20 63 61 6c 6c | 20 74 6f 20 6d 61 6b 65 |d a call| to make|
|00005c40| 66 61 6b 65 73 74 72 75 | 63 74 20 66 6f 72 20 54 |fakestru|ct for T|
|00005c50| 4f 4b 5f 46 49 4c 45 73 | 2e 0a 20 20 20 53 79 6d |OK_FILEs|.. Sym|
|00005c60| 70 74 6f 6d 3a 20 22 76 | 61 72 20 66 3a 66 69 6c |ptom: "v|ar f:fil|
|00005c70| 65 20 6f 66 20 72 65 63 | 6f 72 64 20 2e 2e 2e 20 |e of rec|ord ... |
|00005c80| 65 6e 64 22 20 28 66 6f | 72 20 62 75 66 66 65 72 |end" (fo|r buffer|
|00005c90| 65 64 20 66 29 20 70 72 | 6f 64 75 63 65 64 20 62 |ed f) pr|oduced b|
|00005ca0| 61 64 20 63 6f 64 65 2e | 0a 0a 20 2a 20 41 64 64 |ad code.|.. * Add|
|00005cb0| 65 64 20 74 6f 20 73 79 | 73 2e 70 32 63 72 63 2f |ed to sy|s.p2crc/|
|00005cc0| 74 72 61 6e 73 2e 68 20 | 74 68 65 20 66 6f 6c 6c |trans.h |the foll|
|00005cd0| 6f 77 69 6e 67 20 63 6f | 6e 66 69 67 75 72 61 74 |owing co|nfigurat|
|00005ce0| 69 6f 6e 20 70 61 72 61 | 6d 65 74 65 72 73 3a 0a |ion para|meters:.|
|00005cf0| 0a 20 20 20 20 46 6f 72 | 45 76 61 6c 4f 72 64 65 |. For|EvalOrde|
|00005d00| 72 20 20 20 20 49 6e 69 | 74 69 61 6c 20 76 61 6c |r Ini|tial val|
|00005d10| 75 65 20 69 6e 20 66 6f | 72 20 6c 6f 6f 70 20 6d |ue in fo|r loop m|
|00005d20| 75 73 74 20 62 65 20 65 | 76 61 6c 75 61 74 65 64 |ust be e|valuated|
|00005d30| 20 62 65 66 6f 72 65 20 | 6c 69 6d 69 74 2e 0a 20 | before |limit.. |
|00005d40| 20 20 20 46 72 65 65 52 | 76 61 6c 75 65 4e 61 6d | FreeR|valueNam|
|00005d50| 65 20 20 4e 61 6d 65 20 | 6f 66 20 61 20 66 75 6e |e Name |of a fun|
|00005d60| 63 74 69 6f 6e 20 6f 72 | 20 6d 61 63 72 6f 20 74 |ction or| macro t|
|00005d70| 6f 20 66 72 65 65 20 61 | 20 70 6f 69 6e 74 65 72 |o free a| pointer|
|00005d80| 20 69 6e 20 61 6e 20 72 | 76 61 6c 75 65 2e 0a 0c | in an r|value...|
|00005d90| 0a 56 65 72 73 69 6f 6e | 20 31 2e 30 35 3a 0a 0a |.Version| 1.05:..|
|00005da0| 20 2a 20 41 64 64 65 64 | 20 73 75 70 70 6f 72 74 | * Added| support|
|00005db0| 20 66 6f 72 20 72 65 61 | 64 69 6e 67 20 70 61 63 | for rea|ding pac|
|00005dc0| 6b 65 64 20 61 72 72 61 | 79 73 20 6f 66 20 63 68 |ked arra|ys of ch|
|00005dd0| 61 72 61 63 74 65 72 73 | 2e 0a 0a 20 2a 20 4d 61 |aracters|... * Ma|
|00005de0| 64 65 20 73 6f 6d 65 20 | 63 68 61 6e 67 65 73 20 |de some |changes |
|00005df0| 66 6f 72 20 63 6f 6d 70 | 61 74 69 62 69 6c 69 74 |for comp|atibilit|
|00005e00| 79 20 77 69 74 68 20 58 | 65 6e 69 78 2e 0a 0a 20 |y with X|enix... |
|00005e10| 2a 20 50 75 74 20 69 6e | 20 73 6c 69 67 68 74 6c |* Put in| slightl|
|00005e20| 79 20 62 65 74 74 65 72 | 20 68 61 6e 64 6c 69 6e |y better| handlin|
|00005e30| 67 20 6f 66 20 74 68 65 | 20 22 23 64 65 66 69 6e |g of the| "#defin|
|00005e40| 65 20 42 53 44 22 20 73 | 74 75 66 66 2e 0a 0a 20 |e BSD" s|tuff... |
|00005e50| 2a 20 43 68 61 6e 67 65 | 64 20 74 72 61 6e 73 2e |* Change|d trans.|
|00005e60| 63 20 74 6f 20 61 76 6f | 69 64 20 64 65 63 6c 61 |c to avo|id decla|
|00005e70| 72 69 6e 67 20 73 62 72 | 6b 28 29 20 69 74 73 65 |ring sbr|k() itse|
|00005e80| 6c 66 2e 0a 0a 20 2a 20 | 43 68 61 6e 67 65 64 20 |lf... * |Changed |
|00005e90| 70 32 63 2e 68 20 74 6f | 20 64 65 66 69 6e 65 20 |p2c.h to| define |
|00005ea0| 5f 74 6f 75 70 70 65 72 | 28 29 2c 20 5f 74 6f 6c |_toupper|(), _tol|
|00005eb0| 6f 77 65 72 28 29 20 69 | 6e 20 61 20 6e 6f 6e 2d |ower() i|n a non-|
|00005ec0| 41 53 43 49 49 2d 64 65 | 70 65 6e 64 65 6e 74 20 |ASCII-de|pendent |
|00005ed0| 77 61 79 2e 0a 0c 0a 56 | 65 72 73 69 6f 6e 20 31 |way....V|ersion 1|
|00005ee0| 2e 30 34 3a 0a 0a 20 2a | 20 41 64 64 65 64 20 22 |.04:.. *| Added "|
|00005ef0| 2d 56 22 20 73 77 69 74 | 63 68 20 74 6f 20 67 65 |-V" swit|ch to ge|
|00005f00| 6e 65 72 61 74 65 20 61 | 20 6c 6f 67 20 66 69 6c |nerate a| log fil|
|00005f10| 65 20 77 69 74 68 20 73 | 6f 6d 65 20 64 65 74 61 |e with s|ome deta|
|00005f20| 69 6c 73 20 6f 66 20 74 | 72 61 6e 73 6c 61 74 69 |ils of t|ranslati|
|00005f30| 6f 6e 2e 0a 0a 20 2a 20 | 41 64 64 65 64 20 22 2d |on... * |Added "-|
|00005f40| 4d 22 20 73 77 69 74 63 | 68 20 74 6f 20 63 6f 6e |M" switc|h to con|
|00005f50| 74 72 6f 6c 20 6d 65 6d | 6f 72 79 20 75 73 61 67 |trol mem|ory usag|
|00005f60| 65 20 64 75 72 69 6e 67 | 20 74 72 61 6e 73 6c 61 |e during| transla|
|00005f70| 74 69 6f 6e 2e 0a 0a 20 | 2a 20 41 64 64 65 64 20 |tion... |* Added |
|00005f80| 22 54 45 53 54 5f 4d 41 | 4c 4c 4f 43 22 20 73 74 |"TEST_MA|LLOC" st|
|00005f90| 75 66 66 20 74 6f 20 6d | 65 61 73 75 72 65 20 6d |uff to m|easure m|
|00005fa0| 65 6d 6f 72 79 20 61 6c | 6c 6f 63 61 74 65 64 20 |emory al|located |
|00005fb0| 62 75 74 20 6e 65 76 65 | 72 20 66 72 65 65 64 2e |but neve|r freed.|
|00005fc0| 0a 0a 20 2a 20 41 64 64 | 65 64 20 7b 53 49 47 4e |.. * Add|ed {SIGN|
|00005fd0| 45 44 7d 20 61 6e 64 20 | 7b 55 4e 53 49 47 4e 45 |ED} and |{UNSIGNE|
|00005fe0| 44 7d 20 63 6f 6d 6d 65 | 6e 74 73 20 70 72 65 63 |D} comme|nts prec|
|00005ff0| 65 64 69 6e 67 20 74 79 | 70 65 20 22 63 68 61 72 |eding ty|pe "char|
|00006000| 22 20 61 6e 64 20 22 69 | 6e 74 65 67 65 72 22 2e |" and "i|nteger".|
|00006010| 0a 0a 20 2a 20 41 64 64 | 65 64 20 48 69 67 68 43 |.. * Add|ed HighC|
|00006020| 68 61 72 42 69 74 73 2d | 72 65 6c 61 74 65 64 20 |harBits-|related |
|00006030| 6f 70 74 69 6d 69 7a 61 | 74 69 6f 6e 73 20 66 6f |optimiza|tions fo|
|00006040| 72 20 63 68 61 72 61 63 | 74 65 72 73 20 31 32 38 |r charac|ters 128|
|00006050| 20 61 6e 64 20 61 62 6f | 76 65 2e 0a 0a 20 2a 20 | and abo|ve... * |
|00006060| 45 6c 69 6d 69 6e 61 74 | 65 64 20 75 6e 6e 65 63 |Eliminat|ed unnec|
|00006070| 65 73 73 61 72 79 20 63 | 61 73 74 69 6e 67 20 6f |essary c|asting o|
|00006080| 66 20 43 48 52 27 73 20 | 61 72 67 75 6d 65 6e 74 |f CHR's |argument|
|00006090| 20 62 79 20 6d 61 6b 69 | 6e 67 20 69 74 20 4d 4b | by maki|ng it MK|
|000060a0| 5f 53 50 45 43 49 41 4c | 2e 0a 0a 20 2a 20 52 65 |_SPECIAL|... * Re|
|000060b0| 63 6f 67 6e 69 7a 65 64 | 20 22 63 68 2b 27 41 27 |cognized| "ch+'A'|
|000060c0| 2d 27 61 27 22 20 69 64 | 69 6f 6d 20 61 6e 64 20 |-'a'" id|iom and |
|000060d0| 74 72 61 6e 73 6c 61 74 | 65 64 20 61 73 20 22 5f |translat|ed as "_|
|000060e0| 74 6f 75 70 70 65 72 28 | 63 68 29 22 2e 0a 0a 20 |toupper(|ch)"... |
|000060f0| 2a 20 41 64 64 65 64 20 | 50 32 43 52 43 20 65 6e |* Added |P2CRC en|
|00006100| 76 69 72 6f 6e 6d 65 6e | 74 20 76 61 72 69 61 62 |vironmen|t variab|
|00006110| 6c 65 2e 0a 0a 20 2a 20 | 42 75 67 20 66 69 78 20 |le... * |Bug fix |
|00006120| 69 6e 20 70 61 72 73 65 | 2e 63 3a 70 5f 73 65 61 |in parse|.c:p_sea|
|00006130| 72 63 68 3a 20 65 6d 70 | 74 69 65 64 20 63 75 72 |rch: emp|tied cur|
|00006140| 63 6f 6d 6d 65 6e 74 73 | 20 61 74 20 74 6f 70 20 |comments| at top |
|00006150| 6f 66 20 64 6f 20 6c 6f | 6f 70 2e 0a 20 20 20 53 |of do lo|op.. S|
|00006160| 79 6d 70 74 6f 6d 3a 20 | 6c 65 61 64 69 6e 67 20 |ymptom: |leading |
|00006170| 63 6f 6d 6d 65 6e 74 20 | 69 6e 20 6d 6f 64 75 6c |comment |in modul|
|00006180| 65 20 68 65 61 64 65 72 | 20 77 61 73 20 63 6f 70 |e header| was cop|
|00006190| 69 65 64 20 6f 76 65 72 | 20 62 79 20 69 6d 70 6f |ied over| by impo|
|000061a0| 72 74 2e 0a 0a 20 2a 20 | 42 75 67 20 66 69 78 20 |rt... * |Bug fix |
|000061b0| 69 6e 20 66 75 6e 63 73 | 2e 63 3a 66 75 6e 63 5f |in funcs|.c:func_|
|000061c0| 61 64 64 72 20 61 6e 64 | 20 65 6c 73 65 77 68 65 |addr and| elsewhe|
|000061d0| 72 65 3a 20 66 69 78 65 | 64 20 68 61 6e 64 6c 69 |re: fixe|d handli|
|000061e0| 6e 67 20 6f 66 20 70 72 | 6f 63 65 64 75 72 65 20 |ng of pr|ocedure |
|000061f0| 70 74 72 73 0a 20 20 20 | 53 79 6d 70 74 6f 6d 3a |ptrs. |Symptom:|
|00006200| 20 22 76 61 72 20 70 72 | 3a 70 72 6f 63 65 64 75 | "var pr|:procedu|
|00006210| 72 65 3b 20 70 20 3a 3d | 20 61 64 64 72 28 70 72 |re; p :=| addr(pr|
|00006220| 29 3b 22 20 77 72 6f 74 | 65 20 22 5f 50 52 4f 43 |);" wrot|e "_PROC|
|00006230| 45 44 55 52 45 20 70 72 | 3b 20 70 20 3d 20 70 72 |EDURE pr|; p = pr|
|00006240| 22 2e 0a 0a 20 2a 20 42 | 75 67 20 66 69 78 20 69 |"... * B|ug fix i|
|00006250| 6e 20 65 78 70 72 2e 63 | 3a 6d 61 6b 65 65 78 70 |n expr.c|:makeexp|
|00006260| 72 5f 61 73 73 69 67 6e | 3a 20 6e 6f 20 6c 6f 6e |r_assign|: no lon|
|00006270| 67 65 72 20 63 6f 70 79 | 20 5f 50 52 4f 43 45 44 |ger copy| _PROCED|
|00006280| 55 52 45 73 20 77 69 74 | 68 20 6d 65 6d 63 70 79 |UREs wit|h memcpy|
|00006290| 2e 0a 20 20 20 53 79 6d | 70 74 6f 6d 3a 20 6d 65 |.. Sym|ptom: me|
|000062a0| 6d 63 70 79 20 77 61 73 | 20 75 73 65 64 20 74 6f |mcpy was| used to|
|000062b0| 20 63 6f 70 79 20 5f 50 | 52 4f 43 45 44 55 52 45 | copy _P|ROCEDURE|
|000062c0| 73 20 65 76 65 6e 20 74 | 68 6f 75 67 68 20 61 73 |s even t|hough as|
|000062d0| 73 69 67 6e 61 62 6c 65 | 2e 0a 0a 20 2a 20 42 75 |signable|... * Bu|
|000062e0| 67 20 66 69 78 20 69 6e | 20 70 65 78 70 72 2e 63 |g fix in| pexpr.c|
|000062f0| 3a 70 5f 66 61 63 74 6f | 72 3a 20 61 6c 77 61 79 |:p_facto|r: alway|
|00006300| 73 20 61 6c 6c 6f 77 20 | 6d 61 6b 65 65 78 70 72 |s allow |makeexpr|
|00006310| 5f 68 61 74 20 61 66 74 | 65 72 20 70 5f 66 75 6e |_hat aft|er p_fun|
|00006320| 63 63 61 6c 6c 0a 20 20 | 20 53 79 6d 70 74 6f 6d |ccall. | Symptom|
|00006330| 3a 20 46 75 6e 63 4d 61 | 63 72 6f 73 20 66 6f 72 |: FuncMa|cros for|
|00006340| 20 73 74 72 69 6e 67 20 | 66 75 6e 63 74 69 6f 6e | string |function|
|00006350| 73 20 70 72 6f 64 75 63 | 65 64 20 65 78 70 72 65 |s produc|ed expre|
|00006360| 73 73 69 6f 6e 20 6f 66 | 20 77 72 6f 6e 67 20 74 |ssion of| wrong t|
|00006370| 79 70 65 0a 0a 20 2a 20 | 42 75 67 20 66 69 78 20 |ype.. * |Bug fix |
|00006380| 69 6e 20 64 65 63 6c 2e | 63 3a 70 5f 63 6f 6e 73 |in decl.|c:p_cons|
|00006390| 74 73 74 72 69 6e 67 3a | 20 61 64 64 65 64 20 67 |tstring:| added g|
|000063a0| 65 74 74 6f 6b 28 29 20 | 6a 75 73 74 20 62 65 66 |ettok() |just bef|
|000063b0| 6f 72 65 20 70 5f 65 78 | 70 72 2e 0a 20 20 20 53 |ore p_ex|pr.. S|
|000063c0| 79 6d 70 74 6f 6d 3a 20 | 53 74 72 69 6e 67 20 63 |ymptom: |String c|
|000063d0| 6f 6e 73 74 61 6e 74 73 | 20 77 69 74 68 20 63 6f |onstants| with co|
|000063e0| 6e 73 74 72 75 63 74 6f | 72 20 6e 6f 74 61 74 69 |nstructo|r notati|
|000063f0| 6f 6e 20 64 69 64 6e 27 | 74 20 77 6f 72 6b 2e 0a |on didn'|t work..|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.